Stability Problem with Cygwin Pthreads

Marcus Van Der Beek wasistdast@hotmail.com
Mon Nov 3 00:29:00 GMT 2003


Hi

>
>>I tested your program and found out that the crashes were in compiler 
>>generated code (especially in STL code).  Upgrading to the latest version 
>>of everything (GCC in particular) solved everything for me without using 
>>any Cygwin snapshots.


I've found that it crashes too, I've tried compiling the test app
with a cygwin1.dll whicyh i had built in debug mode, and it works fine,
i built again but this time with debug off, and it crashes, I've tried
running the app with the latest release cygwin1.dll, it crashes and i've
tried the snapshot dlls from 25th, 27th, 28th. They all seem to crash.

Now from what i can see and as Arash Partow has pointed out the problem
seems to be in the memcpy routine, addr2line of the address given when it
crashes on my win2k box points to the memcpy.s in i386. My assembler isn't
good but it seems the code tried to access unallocated mem, with within a
context switch. its just a theory....


Marcus

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to  
http://ninemsn.com.au/mobilemania/default.asp


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list