[ANNOUNCEMENT] TEST RELEASE: Cygwin 2.1.0-0.4
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Jul 8 08:16:00 GMT 2015
On Jul 7 15:37, Ken Brown wrote:
> On 7/7/2015 2:49 PM, Corinna Vinschen wrote:
> >I spoke too soon. This *is* a result of the alternate stack handling.
> >When the exception occurs while running on the alternate stack, the OS
> >exception handler checks if the stack pointer is valid, and since it's
> >not in the stackarea as stored in the TEB, it treats the stack as
> >corrupted. That's why it stops calling the SEHs.
> >
> >In the meantime I found a workaround for this problem with only a very
> >marginal performance hit. I applied it to the repo and I'm just in the
> >process of creatsing new snapshots. If the snapshots work for you I
> >create another test release.
>
> They work for me. I guess I can go ahead and file that emacs bug report.
> Thanks.
Thank you. Btw., if you want to be really sure that pthread_getattr_np
recovers from an uninitialized or invalid pthread_attr_t argument, just
initialize it like this:
pthread_attr_t attr = { 42 };
This gives a compile time warning, but it makes sure that the internal
validity check SEGVs and the exception handling kicks in.
I'll release a new test version today.
Thanks,
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/20150708/b15af7b3/attachment.sig>
More information about the Cygwin
mailing list