delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/28/10:19:20

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=ojYrkaxFxnO/cEOXrS+VwYcddHSCpDVLyo/xvZOYgB41DLC2b7a3Z
sjMwad9kc3U1OECAtpDN0/fdnInEgo1vZZ32VSCGb7oaCEMLUyaykGZ5CJ6UUwUn
SKYSuwKjVvSFX5s0yDQGLI20MQJ1Pqc1iOvLQ6QopnPR0KbVXMxjXE=
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=SyiAm1qISntmFksME+y0+7fJcGM=; b=ubl7b6RM5yusMohJje5RLiIgRrNC
VVL9HXGU9d6EeQrjqvzV+U2/cClJBDhbOM0S0eOQ4uw4EItsKugDMz+DaDRR2bo9
rc/Sn4840zr1NDfy569MseyIV8vqkVVpw3cvk8sQWoJ8Q6zl0WHsx1wmkoRuCVLt
37QDFnuhJLLeWIg=
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-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: Tue, 28 Oct 2014 15:18:58 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: [GOLDSTARS] Re: Threads
Message-ID: <20141028141858.GK20607@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> <20141023153730 DOT GC20607 AT calimero DOT vinschen DOT de> <544A327E DOT 9090006 AT dronecode DOT org DOT uk> <20141024125416 DOT GK20607 AT calimero DOT vinschen DOT de> <20141024135231 DOT GL20607 AT calimero DOT vinschen DOT de> <544F736F DOT 2020900 AT dronecode DOT org DOT uk> <20141028114032 DOT GJ20607 AT calimero DOT vinschen DOT de> <544F9E4E DOT 9080107 AT cornell DOT edu>
MIME-Version: 1.0
In-Reply-To: <544F9E4E.9080107@cornell.edu>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Oct 28 09:46, Ken Brown wrote:
> On 10/28/2014 7:40 AM, Corinna Vinschen wrote:
> >On Oct 28 10:43, Jon TURNEY wrote:
> >>On 24/10/2014 14:52, Corinna Vinschen wrote:
> >>>I discussed this with my college Kai Tietz (many thanks to him from
> >>>here), and we came up with a problem in sigdelayed in the 64 bit case:
> >>>pushf is called *after* aligning the stack with andq.  This alignment
> >>>potentially changes the CPU flag values so the restored flags are
> >>>potentially not the flags when entering sigdelayed.
> >>>
> >>>I just applied a patch and created new snapshots on
> >>>https://cygwin.com/snapshots/
> >>>
> >>>I couldn't reproduce the problem locally, so I'd be grateful if you
> >>>could test if that fixes the problem in your testcase, Jon.
> >>
> >>I've tried that snapshot with both my testcase and emacs, without probl=
ems.
> >>
> >>Thanks very much for fixing this!
> >
> >Thanks again to Kai Tietz for helping me with this.
>=20
> And thanks to Eli for suggesting that we look for corruption of the flags
> register, and to Jon for providing the test case that narrowed it down to
> signal handling.

Absolutely.  Since that's a serious but very subtil error, and you all
were very resourceful and diligent helping to fix it, I buy us all a
round of goldstars.


Thanks guys,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--dgVgbXf0Vb2tUvlQ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUT6XRAAoJEPU2Bp2uRE+g9XcP/R7CT+pVs0jei+YC1Q1mmjM0
rhcFeUAe40fGsCaHD/vzahPJV6musOuJsl6l/cJSTYXUvSQnn9DUWBXk/zgKO65r
95CLsk7KvtVHceBdyYY+I0fc9KafzbDet6TUVLsQLTQZYykPArgQNWDVnBZnBJ0w
hw/jsiBIjhV4VZvRxxY7eLR9Ql5UFCoX4IlZIGRcHWjJnsSYzazUX3+yNe6slUxz
E0vJHScG8fE1zVrntXg+b5HQT8ua/LglMIKM1+9Unevh61MVfKFrTNpF7NRm3n6/
zIYfhwXvpRt3YBYegrJMyYrmI8BZT6ckkOnf6S4JInCS5GSipW6/N+0rV/AaYyV9
2SBzfCbEGNns5MMq1NcKUQ0TVKg7Wlet8V7ZfsJgb/c20lNlRABzaWVt/Py/tw77
m6y3W5kpqupPBGE8U6YaNK3wqpQKDmxT/IoJlYbD5tTE7p5w8i/bH0VfAIrtZ/06
Pe51yxsE/12L779m1dtrSRm81k6IX4U4Q9WyQG43yJ51ZzKBZKmmO7Xs3owxQad8
iCr7qtcZovkRBiPdXXJNMjSU6mq6V4J/0u/2zQ20NuPp1jpfUf4vbOhAOXHft3W0
OPGDiiP/6aqBCsLL0S16eV5uskAyIpK96z9KNH342U2wubreUCPp3l+GiIODdI/6
8DdsXEvkie1CS80OcM8v
=RP3u
-----END PGP SIGNATURE-----

--dgVgbXf0Vb2tUvlQ--

- Raw text -


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