Author dmalcolm
Recipients bquinlan, dmalcolm, jnoller, lukasz.langa
Date 2010-11-24.18:48:09
SpamBayes Score 2.65558e-05
Marked as misclassified No
Message-id <1290624493.24.0.0880497529097.issue10517@psf.upfronthosting.co.za>
In-reply-to
Content
By strategically adding print() and input() calls, I was able to isolate the error to this line in test_multiprocessing.py's test_main:
   ManagerMixin.pool = ManagerMixin.manager.Pool(4)

specifically, to the construction:
  ManagerMixin.manager.Pool(4)

Minimal reproducer seems to be:
>>> import multiprocessing.managers
>>> mpp = multiprocessing.Pool(4)
>>> sm = multiprocessing.managers.SyncManager()
>>> sm.start()

i.e.:

$ ./python -c "import multiprocessing.managers ; mpp = multiprocessing.Pool(4); sm = multiprocessing.managers.SyncManager(); sm.start()"
Fatal Python error: Invalid thread state for this thread
History
Date User Action Args
2010-11-24 18:48:13dmalcolmsetrecipients: + dmalcolm, bquinlan, jnoller, lukasz.langa
2010-11-24 18:48:13dmalcolmsetmessageid: <1290624493.24.0.0880497529097.issue10517@psf.upfronthosting.co.za>
2010-11-24 18:48:09dmalcolmlinkissue10517 messages
2010-11-24 18:48:09dmalcolmcreate