Closed takluyver closed 4 years ago
Thanks for the reproducer! The fix only addresses the crash.
The pool stuck issue can be more subtle. Let me know if the error persists.
Thanks for the quick fix! This seems to solve things for our use case - we get an error in our code instead of an error transferring the task, so it crashes rather than hanging, which is what we expected. :)
If you've got time to do a new release with the fix, that would be very convenient for us, but I don't want to be demanding!
No problem. 0.3.8 is up, thanks to travis auto-deployment.
On Thu, Oct 1, 2020 at 1:50 AM Thomas Kluyver notifications@github.com wrote:
Thanks for the quick fix! This seems to solve things for our use case - we get an error in our code instead of an error transferring the task, so it crashes rather than hanging, which is what we expected. :)
If you've got time to do a new release with the fix, that would be very convenient for us, but I don't want to be demanding!
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/rainwoodman/sharedmem/issues/21#issuecomment-701989577, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABBWTDXZYUWUSRE7U3H3KLSIQ7ETANCNFSM4R7LTH5Q .
Smashing, thanks!
Just ran into this. The array shouldn't have had a zero-length dimension, but failures unpickling seem to cause
multiprocessing.Pool()
to get stuck waiting for tasks that aren't running.Running it gives: