trent nelson ktctpxaonresolvecom ive raised issue 2550 track problem ive also provided patch tracker test_socketpy reproduces issue anyone mind commit trunk id like observe platforms exhibit different behaviour via buildbots itll cause windows slaves fail test_socket though revert ive seen buildbots behave come actual patch windows fixes issue httpbugspythonorgissue2550 httpbugspythonorgfile9939test_socketpypatch trent ________________________________________ lnmudhrdtmzckqvwlnmudhrdtmzckqvwlnmpythonorg lnmudhrdtmzckqvwlnmudhrdtmzckqvwlnmpythonorg behalf trent nelson ktctpxaonresolvecom sent 03 april 2008 2240 zvlllneumpythonorg subject pythondev socketsol_reuseaddr different semantics windows vs unix test_asynchat sometimes dying windows started looking httpwwwpythonorgdevbuildbotallx8620w2k820trunkbuilds289steptest0 pertinent part test_asyncore test_asynchat command timed 1200 seconds without output sigkill failed kill process using fake rc1 program finished exit code 1 remotefailed failure instance traceback remote host traceback recent call last failure buildbotslavecommandstimeouterror sigkill failed kill process tried replicate buildbot order debug surprisingly could consistently running rtbat q uall test_asynchat log indicates python process becomes completely utterly wedged point cant even attach remote debugger step digging noticed ran following code two different python consoles eaddrinuse raised socketbind import socket socketsocketsocketaf_inet socketsock_stream ssetsockoptsocketsol_socket socketso_reuseaddr 1 sbind127001 54322 however take setsockopt line wallah second sbind raise eaddrinuse expected manifests really bizarre issue test_asynchat particualr subsequent sockaccept calls socket put python uber wedged state cant even ctrlc console need kill process directly leave office head home dont time look tonight wanted post others mull trent _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevtnelson40onresolvecom _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom thu 07 aug 2008 005132 0700 pythondev socketsol_reuseaddr different semantics windows vs unix test_asynchat sometimes dying windows