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.

classification
Title: test_multiprocessing hangs in TestZZZNumberOfObjects after unittest traceback patch
Type: behavior Stage:
Components: Tests Versions: Python 3.2
process
Status: closed Resolution: duplicate
Dependencies: Superseder: multiprocessing should not wait endlessly
View: 7318
Assigned To: Nosy List: kristjan.jonsson, r.david.murray
Priority: high Keywords: buildbot

Created on 2009-11-13 16:52 by kristjan.jonsson, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg95186 - (view) Author: Kristján Valur Jónsson (kristjan.jonsson) * (Python committer) Date: 2009-11-13 16:52
Running a debug python from the py3k branch on my windows 7 machine, 64 
bit, test_multiprocessing hangs in the _TestZZZNumberOfObjects test.

I don't know this module, but I did a little digging:
The main process is in the gc.collec() causing some manager object to 
call a _decref() method, which is initiating a socket connection to a 
child process (I presume.)  This is spinning endlessly because the 
connection is constantly refused.

The child processes don't have any sockets open (according to the 
resource monitor) and when I look at the state they are in, the are 
stuck waiting for a ReadFile to succeed.  The python traceback appears 
to be (innermost first, line numbers approximate:)
queues.py:349
pool.py:45
process.py:83
process.py:215
forking.py:326
msg95191 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2009-11-13 17:28
See issue 7060.
msg95378 - (view) Author: Kristján Valur Jónsson (kristjan.jonsson) * (Python committer) Date: 2009-11-17 10:53
Ok, I'm closing this as a duplicate.
History
Date User Action Args
2022-04-11 14:56:54adminsetgithub: 51563
2009-11-17 10:53:28kristjan.jonssonsetstatus: open -> closed
2009-11-17 10:53:13kristjan.jonssonsetresolution: duplicate
superseder: multiprocessing should not wait endlessly
messages: + msg95378
2009-11-13 17:32:35r.david.murraysetpriority: high
keywords: + buildbot, - 64bit
title: test_multiprocessing hangs on Windows 7 64 bit -> test_multiprocessing hangs in TestZZZNumberOfObjects after unittest traceback patch
2009-11-13 17:28:20r.david.murraysetnosy: + r.david.murray
messages: + msg95191
2009-11-13 16:52:53kristjan.jonssoncreate