Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <007001c0c13a$e79b1c20$0200a8c0@lifelesswks>
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: "Earnie Boyd" <cygwin@cygwin.com>
Cc: <cygwin@cygwin.com>
References: <EA18B9FA0FE4194AA2B4CDB91F73C0EF79B9@itdomain002.itdomain.net.au> <3AD1A64D.7DC36DF0@mip.sdu.dk> <012001c0c0ed$fe28e910$0200a8c0@lifelesswks> <3AD1CEAA.4FEDCDF1@yahoo.com>
Subject: Re: G++ guru's please comment - Re: FW: pthread_create problem in  Cygwin  1.1.8-2]
Date: Tue, 10 Apr 2001 07:20:28 +1000
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 09 Apr 2001 21:13:57.0917 (UTC) FILETIME=[FDA5C4D0:01C0C139]

Uhmm Earnie I if you compile with gcc 2.95.3-1 you will encounter the
problem.

I can trigger it 100% of the time using sched_yield(). If you trace the
assembly, the event handler context returns the same structure (probably
a static context given g++ is built without thread support). The cause
of the crash IMO is a change in the try{} cleanup code that resets the
context at the end of the try block, or leaves it random, rather than
preserving the data.

Rob


----- Original Message -----
From: "Earnie Boyd" <earnie_boyd@yahoo.com>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <cygwin@cygwin.com>
Sent: Tuesday, April 10, 2001 1:00 AM
Subject: Re: G++ guru's please comment - Re: FW: pthread_create problem
in Cygwin 1.1.8-2]


> Robert,
>
> I just updated with the latest CVS and it the test still works.  I
have
> noticed that it works slightly differently in RXVT than the
> MSDOS/Console window.  Perhaps you need to lengthen the Sleep time.  I
> shortened it to a value of 10 and that works for RXVT but I don't get
> all of the output with MSDOS/Console window with the value of 10.
>
> Earnie.
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

