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=MSnqVlhuddAoELWrRL4eHjAA9S0bPpRTK5wCxU7a7NFrnOHdY/gDG W23I+NUetEcpU5NQ8BnHvbkgSfp00nq8xuEjZZ0dxxqOOyzX3WZveOulzzOIm3F8 CproJ4yim5D5fLnk2RdafPv1c6A/dFAXT6ViNfYvCYQv/85qPwtpcA= 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=a4sPz8N2C7D8Mo7D5cUvj3M/bcM=; b=f4Rc/M1Zevv4KRHsDVOrPg4Ys59f 3jd/0p2LPTQiBL5Z69MhVv3ZCtWawGz60+o7XonV0Hgu9XsWegWp9HgMu4wA24aR UQAn36wlig2qt4ZgrCevr7jz0QcPkznGB9iA134OuV4gtkeTPy4n/16pYoXG5drR 1bPYQ28I+TohHVg= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Thu, 23 Oct 2014 17:37:30 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Threads Message-ID: <20141023153730.GC20607@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <54450835 DOT 3050602 AT cornell DOT edu> <5448E6F9 DOT 8040005 AT dronecode DOT org DOT uk> <5448EEBF DOT 3020706 AT cornell DOT edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GZVR6ND4mMseVXL/" Content-Disposition: inline In-Reply-To: <5448EEBF.3020706@cornell.edu> User-Agent: Mutt/1.5.23 (2014-03-12) --GZVR6ND4mMseVXL/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Oct 23 08:04, Ken Brown wrote: > On 10/23/2014 7:31 AM, Jon TURNEY wrote: > >On 20/10/2014 14:03, Ken Brown wrote: > >>Or is there some other plausible explanation for "impossible" crashes? > >>This can't just be a result of a gdb bug, because in at least one case > >>the assertion can be shown to be valid by using printf instead of gdb. > >> > >>[*] By "impossible" I mean that examination of the relevant variables in > >>gdb shows that the assertions are in fact true. Two ongoing examples a= re > >> > >> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D18438 > >> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D18769 > > > >As a suggestion, you might want to also take a careful look at how signal > >delivery is implemented in cygwin on x86_64 > > > >I had a vague idea that there was, at some time in the past, a fix made = for > >register corruption on x86_64 after a signal was handled, but I can't fi= nd it > >now, so maybe I imagined it. >=20 > Is this what you're thinking of? >=20 > https://cygwin.com/ml/cygwin-cvs/2014-q1/msg00020.html >=20 > >But if for e.g. the flags register was getting > >corrupted when a signal interrupts the main thread, that could perhaps a= lso > >explain what is being seen. >=20 > Yes, flags register corruption is exactly what Eli suggested in the other > bug report I cited. The aforementioned patch was supposed to fix this problem and it is definitely in the current 1.7.32 release... Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --GZVR6ND4mMseVXL/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUSSC6AAoJEPU2Bp2uRE+gEE8P/07LvzBQsz7x75Xxn1rWRtli UD2ZVXi6LqUti7b84Tvjm/WgH6ZYmu3erKtCOLOFG+sK2Zzhy1gxWVGK7kKB79RN gDW2kWlmOpTBmkQuOiNvqJVfKfJCpuQPJOl7/D0efZC61rdUCjjWcjOzGdns1O+d ptbCOjMOGMU1DV3u3a6M2YR2tZoUROZoVeqikn7H1hAQ1l5tAjc9fGauOV8O3thU iz5MTskVDHy3Zd988f/c/Ozj71CLfxVHHGI1owOq1Oioj/pFAos0BKkYi1AEhewm o/CUDzOeoVxHCoEQT2wSJafvmQO5nfTM69EOv9CbA7mGRbjS2+G4M0y6xALfvnop sXLmv206bxSM1cu5TETZ4n3UM6ywqSWEwnDP8ixsvxG2xFKqtbc5ZVGhiK2dGjEp vtQHtZznr4j3xMp8Ylgmo20D9yQKZ+3fcZ6sRJOuu+3Zdcp2U2A1woxBn5pWgd/r N3b0Zpuf+PrbbiGfMsB4q+SdXYiCKRNF5OPB3WM58jeot980kCvTW3QySrpbe8aq 2MtIuhqD26bJMszwIz9xyFxEIhOvFRhec5C5/XCFV01+MkW8CaZAMRyCX/j9Ejie Spc5tosxg0tFrkWJ47KKEl7DO9aXqBSxyHEnMQ7ZG5j8PcOG7PYdAGrtqZs0qevr Y/+KdMmfSug/rV8h7PO9 =Q0c0 -----END PGP SIGNATURE----- --GZVR6ND4mMseVXL/--