delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/10/14:35:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <007001c0c13a$e79b1c20$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Earnie Boyd" <cygwin AT cygwin DOT com>
Cc: <cygwin AT cygwin DOT com>
References: <EA18B9FA0FE4194AA2B4CDB91F73C0EF79B9 AT itdomain002 DOT itdomain DOT net DOT au> <3AD1A64D DOT 7DC36DF0 AT mip DOT sdu DOT dk> <012001c0c0ed$fe28e910$0200a8c0 AT lifelesswks> <3AD1CEAA DOT 4FEDCDF1 AT yahoo DOT 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
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 AT yahoo DOT com>
To: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
Cc: <cygwin AT cygwin DOT 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

- Raw text -


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