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
Date: Sun, 8 Apr 2001 19:55:33 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: G++ guru's please comment - Re: FW: pthread_create problem in Cygwin 1.1.8-2]
Message-ID: <20010408195533.F19783@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <EA18B9FA0FE4194AA2B4CDB91F73C0EF08EEC2@itdomain002.itdomain.net.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <EA18B9FA0FE4194AA2B4CDB91F73C0EF08EEC2@itdomain002.itdomain.net.au>; from robert.collins@itdomain.com.au on Mon, Apr 09, 2001 at 09:38:57AM +1000

On Mon, Apr 09, 2001 at 09:38:57AM +1000, Robert Collins wrote:
>Background: pthread_create starts the new thread with a wrapper
>function. The wrapper function runs the thread function, and when the
>user function returns then cleans up the unix structures and calls
>ExitThread(0); The crash occurs _before_ control returns to the wrapper
>function. This implies it's a problem in the return code.

Ok.  Single step the assembly instructions and see if you can find
out where it is failing.  I still suspect a corrupt stack.

cgf

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

