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 broken
Type: behavior Stage:
Components: Library (Lib) Versions: Python 2.6
process
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 2022-04-11 14:56 by admin. 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/test_multiprocessing.py
Fatal Python error: Invalid thread state for this thread
Traceback (most recent call last):
  File "Lib/test/test_multiprocessing.py", line 1791, in <module>
main()
  File "Lib/test/test_multiprocessing.py", line 1788, in main
test_main(unittest.TextTestRunner(verbosity=2).run)
  File "Lib/test/test_multiprocessing.py", line 1768, in test_main
ManagerMixin.pool = ManagerMixin.manager.Pool(4)
  File
"/home/greg/sandbox/python/trunk/Lib/multiprocessing/managers.py", line
647, in temp
token, exp = self._create(typeid, *args, **kwds)
  File
"/home/greg/sandbox/python/trunk/Lib/multiprocessing/managers.py", line
545, in _create
conn = self._Client(self._address, authkey=self._authkey)
  File
"/home/greg/sandbox/python/trunk/Lib/multiprocessing/connection.py",
line 139, in Client
answer_challenge(c, authkey)
  File
"/home/greg/sandbox/python/trunk/Lib/multiprocessing/connection.py",
line 380, in answer_challenge
message = connection.recv_bytes(256)         # reject large message
EOFError
[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.
History
Date User Action Args
2022-04-11 14:56:35adminsetgithub: 47332
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