On Aug 6 15:45, Samuel Thibault wrote: > Hi, > > I had strange hangs and segfaults with a program, and it happens that > detached thread termination may segfault: > [...] > Adding a Sleep(1000); in the f() function before returning prevents from > the crash, so I guess f() returning fast triggers a race condition in > the pthread code.
Thanks for the testcase. This is fixed in current CVS, apparently. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- 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/