From: Jean-Paul C. <ex...@di...> - 2009-03-22 16:32:29
|
Hello all, I just pushed a branch to launchpad which may address the 0.8 thread-related crashes. The bug, along with a reproduction script, is described here: https://bugs.launchpad.net/pyopenssl/+bug/344815 The branch, along with checkout instructions, which fixes the problem is here: https://code.launchpad.net/~exarkun/pyopenssl/thread-crash If you're not in to bzr, then you can get just the revision which includes the fix here: http://bazaar.launchpad.net/~exarkun/pyopenssl/thread-crash/revision/98 Note that the branch is from current trunk tip (ie, the latest development version). It is not a branch of the 0.8.0 release. In my testing, the reproduction scripts attached to the ticket produce a server-side segfault after running for between 2 and 10 seconds. It is likely that the bad behavior will trigger less frequently if run on a single core machine, but it may still trigger. With the branch linked above, the scripts run until they exhaust the available IP address space (each connection allocates a port which then goes into TIME_WAIT, so eventually there are no more ports free until the TIME_wAIT timeout expires). I can run the client multiple times without the server crashing. This is a good sign. Any additional testing anyone can do would be greatly appreciated. Thanks, Jean-Paul |