New submission from Maxi :
## Sorry if this is not properly created, my first time here ##
I'm experiencing random Exceptions originating in
multiprocessing/connection.py:368 where the handle seems to be broken:
Apr 25 19:39:44 app python[26282]: File
"/usr/lib/python3.5/multiprocessing/managers.py", line 716, in _callmethod
Apr 25 19:39:44 app python[26282]: conn.send((self._id, methodname, args,
kwds))
Apr 25 19:39:44 app python[26282]: File
"/usr/lib/python3.5/multiprocessing/connection.py", line 206, in send
Apr 25 19:39:44 app python[26282]:
self._send_bytes(ForkingPickler.dumps(obj))
Apr 25 19:39:44 app python[26282]: File
"/usr/lib/python3.5/multiprocessing/connection.py", line 404, in _send_bytes
Apr 25 19:39:44 app python[26282]: self._send(header + buf)
Apr 25 19:39:44 app python[26282]: File
"/usr/lib/python3.5/multiprocessing/connection.py", line 368, in _send
Apr 25 19:39:44 app python[26282]: n = write(self._handle, buf)
Apr 25 19:39:44 app python[26282]: TypeError: an integer is required (got type
NoneType)
Not sure if there is something wrong at OS level, but I think a
self._check_closed() before that line would help.
--
messages: 367355
nosy: maxicooper
priority: normal
severity: normal
status: open
title: multiprocessing/connection.py broken handle
type: crash
versions: Python 3.5
___
Python tracker
<https://bugs.python.org/issue40402>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com