X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-10.3 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <50E234E7.20207@redhat.com> Date: Mon, 31 Dec 2012 17:59:19 -0700 From: Eric Blake User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: sigprocmask issue References: <50E22B6C DOT 5060409 AT redhat DOT com> In-Reply-To: OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigD2A4B6274537A481A47B42D7" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------enigD2A4B6274537A481A47B42D7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12/31/2012 05:30 PM, Aaron Schneider wrote: > On 01/01/2013 1:18, Eric Blake wrote: >> I'm reporting this now because gnulib unit tests found a failure in >> stock cygwin 1.7.17, but I'm still investigating whether it is a >> regression, and/or whether it has been fixed by snapshots. This >> relatively simple test case asserts that SIGINT is never delivered as >> required. >=20 > I don't if you expect to work, or to fail, but here seem to work (no > crash o similar) >=20 > $ ./a.exe > running "sh -c 'sleep 1; kill -2 4612' &" > waiting > unblocking Odd. I just noticed that my system is pegged at 100% CPU, attributed to a syslogd process; wonder if severe load is the culprit that violates the timing assumptions in that test. I killed that process, reran the test, and no longer see the failure. I'm wondering if I should tweak the gnulib test to use fork() instead of system(), and maybe do a bit more handshaking, to guarantee that the signal is being delivered when planned? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enigD2A4B6274537A481A47B42D7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBCAAGBQJQ4jTnAAoJEKeha0olJ0Nq2ycIAItI5xtaEsTOFjkmai2CHZZ8 GwjRUTmQDyrcizhmPtUhHKle4syDr7aWDjFeRRSCRQ3iHfL0LmJr4+m6CpbbkQOf XdaWrCyXx6lCDj9rjcPWPvs0q5KxxZim1G15Me9lsp/ZyPpuV/eeGPaHFurrIXZP egv4gl/7ZlmZIOI/X+2yj+Zn1UirrHZ0Ro2DlX+2yqaexd9KaEDyy/+Dzz9f02Ch JPaTmbN4FmMbEepQS/b7DGsUVCUX6HnQcAm3EHMhHfRQz3RwzujKhQ7Lcwfgxn8s A+2JC2qBI/ZorqzD+tC+XUrKkjmoqsP/yTUIMAvNipSIvDOMNiPNwss5bTHi7cg= =cEe+ -----END PGP SIGNATURE----- --------------enigD2A4B6274537A481A47B42D7--