Title: test_multiprocessing broken
Type: behavior Stage:
Components: Library (Lib) Versions: Python 2.6
Status: closed Resolution: duplicate
Dependencies: 1683 Superseder:
Assigned To: Nosy List: benjamin.peterson, gregory.p.smith
Priority: high Keywords:

Created on 2008-06-11 21:14 by gregory.p.smith, last changed 2008-06-11 21:23 by gregory.p.smith. This issue is now closed.

Messages (3)
msg68017 - (view) Author: Gregory P. Smith (gregory.p.smith) * (Python committer) Date: 2008-06-11 21:14
Python 2.6a3+ (trunk:64150M, Jun 11 2008, 14:08:14)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

% ./python Lib/test/
Fatal Python error: Invalid thread state for this thread
Traceback (most recent call last):
  File "Lib/test/", line 1791, in <module>
  File "Lib/test/", line 1788, in main
  File "Lib/test/", line 1768, in test_main
ManagerMixin.pool = ManagerMixin.manager.Pool(4)
"/home/greg/sandbox/python/trunk/Lib/multiprocessing/", line
647, in temp
token, exp = self._create(typeid, *args, **kwds)
"/home/greg/sandbox/python/trunk/Lib/multiprocessing/", line
545, in _create
conn = self._Client(self._address, authkey=self._authkey)
line 139, in Client
answer_challenge(c, authkey)
line 380, in answer_challenge
message = connection.recv_bytes(256)         # reject large message
[50971 refs]

This is on a single cpu i686 linux system.
msg68019 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-06-11 21:15
Are you running a debug build? Please see #1683.
msg68022 - (view) Author: Gregory P. Smith (gregory.p.smith) * (Python committer) Date: 2008-06-11 21:23
ah yes that is indeed the same problem.  marking this one as a dup.
Date User Action Args
2008-06-11 21:23:52gregory.p.smithsetstatus: open -> closed
resolution: duplicate
dependencies: + Thread local storage and PyGILState_* mucked up by os.fork()
messages: + msg68022
2008-06-11 21:15:59benjamin.petersonsetnosy: + benjamin.peterson
messages: + msg68019
2008-06-11 21:14:22gregory.p.smithcreate