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 Jorge Herskovic
Recipients Jorge Herskovic, davin, ned.deily, sbt
Date 2015-06-25.15:06:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435244781.05.0.469228952005.issue24484@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, I *think* I tracked it down to Connections getting cleaned up in a non-orderly fashion, sometimes while _run_finalizers is executing. The following patch to lib/python3.4/multiprocessing/connection.py cures the problem on my machine.

@@ -124,10 +124,10 @@
         self._handle = handle
         self._readable = readable
         self._writable = writable
-
+        self._shutdown = util.Finalize(self, self._finalizer)
     # XXX should we use util.Finalize instead of a __del__?
-
-    def __del__(self):
+
+    def _finalizer(self):
         if self._handle is not None:
             self._close()
History
Date User Action Args
2015-06-25 15:06:21Jorge Herskovicsetrecipients: + Jorge Herskovic, ned.deily, sbt, davin
2015-06-25 15:06:21Jorge Herskovicsetmessageid: <1435244781.05.0.469228952005.issue24484@psf.upfronthosting.co.za>
2015-06-25 15:06:21Jorge Herskoviclinkissue24484 messages
2015-06-25 15:06:20Jorge Herskoviccreate