X-Recipient: archive-cygwin@delorie.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=x2wvpvfvtfdsAV95CFZgfx+vIBXbwvjka6Ect1Dtlb5VXpqVFWjs+
	qVIru2xYmTffgbrIlkvUoAIGvJ7Ea5bXGoYtY0wh4YrJJpb0p0totIF+Z6UW5b6g
	1RGVOVt+nmy146oaoEhsvsO+S1VI+HzDWWN7gAJz2jHiM/9P2/ueEg=
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=G0hnb6nCqdmhGzTmeUNkJV3Foak=; b=Boqf41pbccPsI6zEV3VUG2oYO18k
	si3ItReX4naBGvquFKzUGjWBkxUmqGUAq4lNIJPBaYc+RZGCUVv0dZSABt1JCTmi
	lba6luhvFce5RJHqfz6EuEQEdV2kejAJ08bInKPQXSy+Yv8RC8CQNnFAopAG0Ryx
	73lAUN87RzbbDF0=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 8 Jul 2015 10:16:47 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.1.0-0.4
Message-ID: <20150708081647.GD2918@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <5599E4C5.1010109@cornell.edu> <20150706100158.GJ2918@calimero.vinschen.de> <559A7F74.1000402@cornell.edu> <20150706144555.GR2918@calimero.vinschen.de> <559AA4C8.30309@cornell.edu> <20150706163424.GV2918@calimero.vinschen.de> <20150707154916.GB2918@calimero.vinschen.de> <559C14D2.1000303@cornell.edu> <20150707184952.GA27472@calimero.vinschen.de> <559C2A75.4070602@cornell.edu>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;	protocol="application/pgp-signature"; boundary="BfIB/hDtUWEgpOfz"
Content-Disposition: inline
In-Reply-To: <559C2A75.4070602@cornell.edu>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

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.
>=20
> 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 =3D { 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

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

--BfIB/hDtUWEgpOfz
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVnNxvAAoJEPU2Bp2uRE+gHqkP/iafJjqsxRyNBXQn9cWFa2eX
BxRzo72OJk7rZr/cDEGcuyrO8qDKhBRbmnGvd1oLaUHfUVSU+K77WP+WobVcCRAp
dUJj981DvZ+tROlfGBpXPWp86oQdkVmfPNmGt9LNkx8Abqw/NpQ/Jg4Eu66PQ03J
BUreQdtrIpm8MRcg9MAQ+CuGqkOBw3Xdeb63KMTs/dBoZaQbkXgSo17hmB4C6/Ff
rd2yOhR5MhsVWljhFZoSAQoVWzR1ZlMxM9TdeczObitzJSduq79kDT/6bcxTfaqs
bxW7GHEC0c+9Qsa9KfcnYntzQVoeyGsnDlcaLh8Uq9KobQ5GQNfi12Tnrgu5HaQe
IOBb2/nNz8RHicsBepKm0KNP0D04nKjmnnve+m2SKq3k1mwZDBERkS/KgRI80+sq
MRgFFFq5kBTlSPtgxDQ6wrAcQLQGKzkkrBtr4oB9GqrmMYtiuHURxJHEYOzNJv/Q
/3ig4frR+SXAaSJFXHkS0RkoxljMcN6LavR47atVaWFQl6kK7bREaaLSEXZAICeF
3AuGgBtbABxvCaY20MUO5F7AMJf89XBadVb/N/S4OLioVNcCkntHonLZJweNcE6W
B2hCSWR50IWl4P64Ea2YWRGRWh1EYeG+eT60b3CJTJil01XYXOc1lZgXCnXD+ZHj
xRAW0itpAdjaXDjaCgVY
=NBpw
-----END PGP SIGNATURE-----

--BfIB/hDtUWEgpOfz--
