Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, ocean-city, rpetrov
Date 2008-11-20.01:17:58
SpamBayes Score 1.70445e-06
Marked as misclassified No
Message-id <>
With cygwin, calling sem_wait() in the DLL_THREAD_DETACH section of a DllMain function 
can crash the program. 
See attached zip file, it contains two C files which only include pthread.h and 
semaphore.h (no python, no openssl). The resulting program crashes ~30% of the time.

If this pattern (in dll.c) is not allowed, it's a problem in the openssl code.
If it is allowed, it's a bug in cygwin's threads implementation.

We should really move this discussion to cygwin. This is no more a python issue.
Date User Action Args
2008-11-20 01:18:02amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, ocean-city, rpetrov
2008-11-20 01:18:02amaury.forgeotdarcsetmessageid: <>
2008-11-20 01:18:00amaury.forgeotdarclinkissue3947 messages
2008-11-20 01:17:58amaury.forgeotdarccreate