[GOLDSTARS] Re: Threads

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Oct 28 14:19:00 GMT 2014


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 problems.
> >>
> >>Thanks very much for fixing this!
> >
> >Thanks again to Kai Tietz for helping me with this.
> 
> 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

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141028/2ddf8269/attachment.sig>


More information about the Cygwin mailing list