This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, ocean-city, rpetrov
Date 2008-11-20.01:17:58
SpamBayes Score 1.704452e-06
Marked as misclassified No
Message-id <1227143882.13.0.276770655855.issue3947@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-11-20 01:18:02amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, ocean-city, rpetrov
2008-11-20 01:18:02amaury.forgeotdarcsetmessageid: <1227143882.13.0.276770655855.issue3947@psf.upfronthosting.co.za>
2008-11-20 01:18:00amaury.forgeotdarclinkissue3947 messages
2008-11-20 01:17:58amaury.forgeotdarccreate