Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:

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.

Added file: http://bugs.python.org/file12068/cygwin_crash.zip

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3947>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to