From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112505 invoked by alias); 4 Aug 2017 17:02:59 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 112029 invoked by uid 89); 4 Aug 2017 17:02:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-101.9 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Misch, noah, misch, Noah X-HELO: drew.franken.de Received: from mail-n.franken.de (HELO drew.franken.de) (193.175.24.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 04 Aug 2017 17:02:57 +0000 Received: from aqua.hirmke.de (aquarius.franken.de [193.175.24.89]) (Authenticated sender: aquarius) by mail-n.franken.de (Postfix) with ESMTPSA id 4BAEE721E280D for ; Fri, 4 Aug 2017 19:02:55 +0200 (CEST) Received: from calimero.vinschen.de (calimero.vinschen.de [192.168.129.6]) by aqua.hirmke.de (Postfix) with ESMTP id B22D25E00E4 for ; Fri, 4 Aug 2017 19:02:54 +0200 (CEST) Received: by calimero.vinschen.de (Postfix, from userid 500) id B0C62A807B6; Fri, 4 Aug 2017 19:02:54 +0200 (CEST) Date: Fri, 04 Aug 2017 17:02:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Signal delivered while blocked Message-ID: <20170804170254.GM25551@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20170804074445.GB3154757@rfd.leadboat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZOudaV4lSIjFTlHv" Content-Disposition: inline In-Reply-To: <20170804074445.GB3154757@rfd.leadboat.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-SW-Source: 2017-08/txt/msg00050.txt.bz2 --ZOudaV4lSIjFTlHv Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1002 On Aug 4 00:44, Noah Misch wrote: > The attached demonstration program blocks signals (with sigprocmask()) to > achieve mutual exclusion between signal handlers. It aborts upon receipt= of a > blocked signal. On "CYGWIN_NT-10.0 2.7.0(0.306/5/3) 2017-02-12 13:18 x86= _64", > signals regularly arrive despite being blocked. Essential parts of the > program include handling two signal numbers and having handlers run for at > least 1-2ms; this problem goes away if I remove one of those attributes. > GNU/Linux, AIX, Solaris, and "CYGWIN_NT-6.0 1.7.27(0.271/5/3) 2013-12-09 = 11:57 > i686" never deliver a blocked signal to this program. I think this Cygwin > behavior is non-conforming. Thanks for the testcase. I debugged this a while today but the problem is far from trivial, apparently. Don't hold your breath for a quick solution. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --ZOudaV4lSIjFTlHv Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZhKi+AAoJEPU2Bp2uRE+g5mgQAKY0rIJ4/KZW9X04MiuMh17m X42puZHpKwKwCjUf8I0gpomg572EzZTXP9S0+upLNNaz1Jw7ntOx0JR2FqzqqTwf a29UTt97adRvzbay/yUszttSzskow5gszzoqDXYpdpdAtMdORgGd4KsIEqzJpXTN m+ks2p70Ji8E3dJh25xdAFGvsC4MLf+XzSfWvo0uGkKwz00THNUvoOotLexSdHiW 2iePDCDdpFm0Biu33xjHb9o+bkxAx4vmh3VqZ6BZ9AXh8T+W52BhiRBbSAhS1PYJ Dp7bVx8DYAb1k8XVdRVZuh2+tCtdp+Yx0LYbmAGhVHD68aOFT7vlfxJC9RSszsVH yb8ZTTTxu9ySaGfApYJwtHgIJqwWDHnQQsUBW1TRj/9+4B9kBLt9r7hbiOBdBSaF Q9r+sOOK33E/GAKw7fhQfuK95G5FrgcgdB9eS9uUpp4S+wylVsun8ws4k18OjFO8 bIBuf8aiKd02300rSpHDnvzek+BOzLtcUJkB1qoEG+ekcrBY/lirGGE10Tvw5kjG SUgzY5RI0T1ASOTlI4WLDUTILbX2e4gNyN3/EbHlrOF8Jdxx+zX8YI0Y+kZBUSQ6 w3QKTzreJ/2gQa7qH0NZSYPInA0+fjR1nytDLNaBfhg5oTJp+rJnzKnT2YTVDg5N Y8j9FUBqvUH4wqHZi3NR =yK8B -----END PGP SIGNATURE----- --ZOudaV4lSIjFTlHv--