[issue20527] multiprocessing.Queue deadlocks after “reader” process death

2014-02-06 Thread Richard Oudkerk
Richard Oudkerk added the comment: This is expected. Killing processes which use shared locks is never going to end well. Even without the lock deadlock, the data in the pipe would be liable to be corrupted if a processes is killed while putting or getting from a queue. If you want to be abl

[issue20527] multiprocessing.Queue deadlocks after “reader” process death

2014-02-06 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +jnoller, sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20527] multiprocessing.Queue deadlocks after “reader” process death

2014-02-06 Thread OscaTutenchamon
New submission from OscaTutenchamon: I've experienced that queue can be deadlocked for reading when: 1. The "reader" process is using `get` with timeout > 0: self.queue.get(timeout=3) 2. "reader" dies while `get` is blocking due to timeout. After that queue's `_rlock` is never being released s