delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/12/04/04:42:33

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=iV+lzF2fz+m0TNKvQlxomee/VTjfGMZ9kc9yKLiqatniUXodk/amk
0izARbut1hP3X7nYm8lNm0NfJ4ae00VYOGeZiZnEclAZuLQTXLWSdHatM5o298QM
bSrNqhIszeetzv+31VR7LsqE8OTQsJWIts4VILddk9DpggAnL5yMng=
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=qXECHHVyAf7ojoPpWmfgCwqZYHk=; b=WAmin0dogOLuR6qAjUg1Sj404Jbt
KEzkERX76V5ODmPodsCQSM2Z9iU0lnEjI+hhNK9Dj3NJaphmrwcM43s78rxCPTct
EvUl/pHULp5DXXFaOddu/HcvKOQO/qDStG7FOeLnxIdmkcr3SnFYsNal3k0pIfAX
B49ySs2i+klcNo8=
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: Thu, 4 Dec 2014 10:42:14 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Instability with signals and threads
Message-ID: <20141204094214.GD3810@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <alpine DOT DEB DOT 2 DOT 02 DOT 1411202055420 DOT 8559 AT artax DOT karlin DOT mff DOT cuni DOT cz> <alpine DOT DEB DOT 2 DOT 02 DOT 1411211451420 DOT 108656 AT artax DOT karlin DOT mff DOT cuni DOT cz> <20141121144333 DOT GA6633 AT calimero DOT vinschen DOT de> <20141128211231 DOT GQ3810 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20141128211231.GQ3810@calimero.vinschen.de>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

Mikulas, ping?

On Nov 28 22:12, Corinna Vinschen wrote:
> On Nov 21 15:43, Corinna Vinschen wrote:
> > I'm going to take a step back for now, and reevaluate what happens
> > before trying to apply even more hacks.  Ultimately the problem is that
> > the cygtls area is accessed from other threads (mainly the signal
> > thread) without locking, and worse, that the lock for the cygtls area is
> > a member of _cygtls itself.  The latter needs certainly a patch, and I'm
> > contemplating to extend cygheap::threadlist to become a per-thread
> > structure containing the _cygtls pointer, the thread ID, the main thread
> > HANDLE, and the tls muto.  This should allow to serialize access to the
> > cygtls area in a way which avoids the aforementioned problems without
> > a complete redesign.
>=20
> I applied a patch which is supposed to fix this problem.  Your STC
> works for me and everything else I tried, including X and Emacs in X11
> GUI mode still work.
>=20
> Please try the latest snapshot from https://cygwin.com/snapshots/
>=20
> I'm not expecting that my first cut works OOTB, so I'd be glad for
> more testing.


Thanks,
Corinna

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

--thp9dqVshybL/zK/
Content-Type: application/pgp-signature

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

iQIcBAEBAgAGBQJUgCx2AAoJEPU2Bp2uRE+g4DQQAJeciq4MOCNRw2G51XgxQB7r
AVX+x4CgbtuKaoHrUsHI9YMekioE8fMlB2yppFr4QifDf8two1AzUOIVp0yybBpi
Iyxo2BkCfgKetrGFfNjXHHeo+Zhzh6dOqpuEFDeYCQmmWW3cv/DI4TGtTKMcFb+0
FL9GDYwLNiurrNDkH5QTz+Tqu2HknC4hNz9aAbH9/DZxuVuMs81ZLcXyzROxgr4N
UZziClAnVSd5+A8Aaf8HRggBHCF+1t9hbLBJJtrXkygzQ8OzCz6udbXx4QsA/7dA
n6LDhcFWsyP74nPAAvorFHBuheEjTNMBjvoPq4I+sQvOncHMkboS+wRgK8f2twCC
t3ALGIp+4SFjDsWe5sdTNhWZB9+MwjxckZ+AcOnIPJ04iBWiMtO1OIOJC3QlxplZ
ron/yyEqA22Nm5vg+dL9VbZlZ4HSobmp/oyzSrE4NxMXboQs6T58QvlZtSpguzbo
HY7Tqo4VzeZ9bRt2AiFUzvMeXsdn8Kc6IEs0BAqmrflXWSsKT4+dgON2tVJ0zPXt
y0CqM9CA7BBey671jtgZ8ypjnJilKOR+BoPGeKR/07ptr2bxM055slt9+k6slSFc
HbK0GhBrW6wxsKYpytg1A5lOkiTPJ8/eEByh+Cn1eITU3PfQ1tPs/0h03vB9cU32
VvQ4vTxMIQfPyPHIMe+I
=oEtV
-----END PGP SIGNATURE-----

--thp9dqVshybL/zK/--

- Raw text -


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