This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: G++ guru's please comment - Re: FW: pthread_create problem in Cygwin 1.1.8-2]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]