gdb: Segfault in pthread_mutex_init

David Greene greened@obbligato.org
Fri Jun 30 14:48:00 GMT 2006


Apparently, the saga of pthreads and buggy gdb continues.

I've previously run into the famous gdb pthread_key_create
segfault on IRIX.  Apparently it exists on Cygwin as well.

But my program also segfaults in pthread_mutex_init:

Program received signal SIGSEGV, Segmentation fault.
0x610af064 in pthread_mutex::init () from /usr/bin/cygwin1.dll

Just like on IRIX, I can continue (many times for this
code, it turns out) and eventually get into a running state.

Is there a fix for this in some soon-to-be-released gdb?

                             -Dave

--
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