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.

Author Prof Plum
Recipients Prof Plum
Date 2017-07-31.20:05:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1501531527.32.0.713819847625.issue31092@psf.upfronthosting.co.za>
In-reply-to
Content
So I was writing code that had multiple write thread and read thread "groups" in a single pool (in a group a few write threads write to a queue that a read thread reads), and I ran into what I think is a race condition with the multiprocessing.Manager() class. It looks managed queues are returned from Manager() before they are actually initialized and safe to use, but it is only noticeable when making many managed queues in quick succession. I've attached a simple demo script to reproduce the bug, the reason I believe this is race condition is because while the sleep(0.5) line is commented out python crashes, but when it's not it doesn't.

Also I'm on windows 10 and using 64 bit Python 3.5.2
History
Date User Action Args
2017-07-31 20:05:27Prof Plumsetrecipients: + Prof Plum
2017-07-31 20:05:27Prof Plumsetmessageid: <1501531527.32.0.713819847625.issue31092@psf.upfronthosting.co.za>
2017-07-31 20:05:27Prof Plumlinkissue31092 messages
2017-07-31 20:05:27Prof Plumcreate