From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129108 invoked by alias); 31 Jan 2019 19:48:34 -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 129046 invoked by uid 89); 31 Jan 2019 19:48:34 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-100.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=our X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.130) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 31 Jan 2019 19:48:32 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mw99Y-1h84E53DZk-00s65x for ; Thu, 31 Jan 2019 20:48:29 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 09D0AA825EB; Thu, 31 Jan 2019 20:48:29 +0100 (CET) Date: Thu, 31 Jan 2019 19:48:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Bug: Incorrect signal behavior in multi-threaded processes Message-ID: <20190131194829.GU3912@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20190130104421.GC3912@calimero.vinschen.de> <20190130154804.GJ3912@calimero.vinschen.de> <20190130212303.GQ3912@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DEfZqDS1MPR2ysog" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-SW-Source: 2019-01/txt/msg00310.txt.bz2 --DEfZqDS1MPR2ysog Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1184 On Jan 30 19:11, Dan Bonachea wrote: > On Wed, Jan 30, 2019 at 4:23 PM Corinna Vinschen > wrote: > > > > > Poking around further, I find that replacing the signal generation > > > > > code in the test program for all cases with : > > > > > > > > > > pthread_kill(pthread_self(),sigid) > > > > > > > > > > generates compliant signal delivery behavior! > > > > > > > > Thanks, I fixed that in Cygwin. It will be part of the 3.0 release. > > > > > > I think I have a solution for the SISEGV misbehaviour. I have to > > > test it a bit but this may make it into Cygwin 3.0 if all is well. > > > > Please try the latest developer snapshot from https://cygwin.com/snapsh= ots/ > > or the new 3.0.0-0.3 test release. I hope this fixes the problem > > sufficiently. >=20 > Hi Corinna - >=20 > I've installed the 3.0.0-0.3 test release on my workstation and > confirmed that it fixes all the reported misbehaviors in the test > program. > It also appears to fix the signal-related problems encountered in our > multi-threaded production code. >=20 > Thanks so much for the prompt fixes! Thanks for testing! Corinna --=20 Corinna Vinschen Cygwin Maintainer --DEfZqDS1MPR2ysog Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlxTUQwACgkQ9TYGna5E T6ChcQ/9F5BY2LYYZ3Af+TFnMbwaE8OukPKeFq2d+A4ezklD3TfKV1s5pQSWRbT0 OklavU1bYZPbVRa9YL5/Yi/GJipopb9N1YyQKSe1/zC9Kg3L6hJ/fCsLg+yhE9zl XW6obHxAhyvErbkA5Yhsv54CGmKgwQMmagwqjFEYYFbNl29uveh3LVAe7855IvqH bmQazANv2TsmgdBuN09Nm8rXlVoxNTISxht60jY4my3iLZJiv9GLPHUOWyjzJHU7 eZwWsRhm6LsDNck5Gfi7R282kNo5mdv6Iz7RmimPM2ju+WKpS0TThGHUAQKDMRkf U+UqVFvfvBUurI/y9bvBYBqWQdHyadfMEnYAisQqJbUlPAu0hkWCxzJwiCGW+kSg ZfGjQRUUzJueD5WFLGQvXI0UedB1SV5ktxlg4KpN+EgNN5pu5QrntiFA4dSAGiew SwjGP30imUMwsTLaoXUCgqZ9oSnU2Bmsv7Pxd51G6LfL1imdvqva4SXRxzvZQ6nL PEWoFAOsU7Iin7dMr3U9icNPKtB3UZR2uiFsXul4YvoIMuDZXCIZ/EcX3C0iKSCI kP6djOc8x7pPPPg836PsO1pUoH3BFY/RY4scanp21ybBAdK+OAzbm6bvAv4sh94q ztVtHI3/7VRpLt0TXBvzeZAIB6ItAg6XrVdF1ZZvtYwm1nGCTC8= =7J7U -----END PGP SIGNATURE----- --DEfZqDS1MPR2ysog--