delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/01/31/14:48:55

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=JuH+397r3Rx5o/UGMfi/oi87qvmwcHI/rJcULwRPIMGWMoHjz2Kkq
kJ+xHi70L6tZ0ClpkM31A1lPc1EbjHbtb2mPLaUHdpbx4v3qK7Oy34jOXuZ02vCC
FwOtdsFBzHMnykOhpgT0KNABxYN87fnpXY+Co6b5TI4AsAx5KBllvc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=q9jxTpTbABchb3BN1oo4uJ+M93I=; b=fHGckO7pCRlNpGfxo9iu+nvJDJ0q
V1jDaiv78Fmdzfg4T57HrbE9EPiLfw25byvlNbeC8vu0nESMkaZcfduzDGXU2f1Z
ly9Jou2lTVcCZMRUs9iZi4IsIgRMKUXplvviWvkWZBuDstgWREyEixvbqoGZ/4sY
N0PBmQ/343az+PU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
Date: Thu, 31 Jan 2019 20:48:29 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bug: Incorrect signal behavior in multi-threaded processes
Message-ID: <20190131194829.GU3912@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAJTO8-bD0jPR3Vyr84Z_4BUdh3pPiZ-9ekeMBFUOFJRn5e0wQQ AT mail DOT gmail DOT com> <CAOTD34bXKQSjbce_+qNb-9GaFu88Q3o_Qw0t4oC9yK4+A7eNiA AT mail DOT gmail DOT com> <CAJTO8-ZLqP=_d-zQtFDv=syz4mfsrDRM1YBryrcL_Rp+Wt5q=w AT mail DOT gmail DOT com> <CAOTD34Z_gYcf_X3RDVqL61ME0ZDfti=ToPqm9cxoyTOisz94qg AT mail DOT gmail DOT com> <CAJTO8-b3bQX-ruNvhgi5QujW_g6hAKiMZjodNKqRY87qmXbjpQ AT mail DOT gmail DOT com> <20190130104421 DOT GC3912 AT calimero DOT vinschen DOT de> <20190130154804 DOT GJ3912 AT calimero DOT vinschen DOT de> <20190130212303 DOT GQ3912 AT calimero DOT vinschen DOT de> <CAJTO8-Z18U+g+8kzRxpY-g7Ds5CGpuJG0-n6Pmevt_2dPS60AQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAJTO8-Z18U+g+8kzRxpY-g7Ds5CGpuJG0-n6Pmevt_2dPS60AQ@mail.gmail.com>
User-Agent: Mutt/1.10.1 (2018-07-13)

--DEfZqDS1MPR2ysog
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jan 30 19:11, Dan Bonachea wrote:
> On Wed, Jan 30, 2019 at 4:23 PM Corinna Vinschen
> <corinna-cygwin AT cygwin DOT com> 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"

-----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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019