This is the mail archive of the cygwin 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]
Other format: [Raw text]

Cygwin 1.5.19 breaks my app


I upgraded to Cygwin 1.5.19-4 and my application started dying while
initializing. As I started debugging it, I ran across the SEGV in
pthread_key_create issue that has already been discussed on this list.

I dutifully typed "continue", then my app got to main(). (My app uses
std::string.) My app started running, then I hit the seg fault two
more times as my app was trying to create more mutexes. The third seg
fault seems to kill off my program. After continuing through the third
one, I get this:

  Program exited with code 030000000005.

At the time the program dies, it is trying to make a new object. The
new object needs to allocate a mutex for itself. The object is down a
ways in the object heirarchy, and so there is quite a bit of other
activity going on to create and initialize the object. I'm wondering
if maybe I've got some kind of call-within-a-call situation that
Cygwin is getting surprised by.

I can fix my app by reverting to Cygwin 1.5.18. I have reproduced the
probem with cygwin1-20060202.dll.bz2. My app uses TCL, but I have not
upgraded to the new experimental TCL that fixes the environment
problems because there seems to be no connection between the two
problems.

Any ideas how I should proceed? I'm not asking anyone to solve this
for me yet, since I don't have a good enough handle on it yet to make
a repro case. I'm just a little confused about this whole notion that
Cygwin is now making and catching segv's on purpose. Pointers to
detailed discusson on it would be welcome; all the threads I've found
just say, "just type continue in gdb".

  -jeff

Attachment: cygcheck.txt
Description: Text document

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

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