[zeromq-dev] Interrupted system call

Frédéric fma at gbiloba.org
Sun Jul 24 13:58:26 CEST 2016


Hi!

I encounter a strange error:

Process Pca9685Driver:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in
    _bootstrap
    self.run()
  File "/home/pi/Py4bot/py4bot/drivers/pca9685Driver.py", line 162, in run
    Logger().info("Pca9685Driver entering main loop...")
  File "/home/pi/Py4bot/py4bot/services/logger.py", line 204, in info
    self._logger.info(message, *args, **kwargs)
  File "/usr/lib/python2.7/logging/__init__.py", line 1160, in info
    self._log(INFO, msg, args, **kwargs)
  File "/usr/lib/python2.7/logging/__init__.py", line 1279, in _log
    self.handle(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 1289, in handle
    self.callHandlers(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 1329, in callHandlers
    hdlr.handle(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 757, in handle
    self.emit(record)
  File "/home/pi/Py4bot/py4bot/services/loggerHandler.py", line 80, in emit
    self._socket.send_multipart((btopics, bmsg))
  File "/usr/lib/python2.7/dist-packages/zmq/sugar/socket.py", line 271,
    in send_multipart self.send(msg, SNDMORE|flags, copy=copy, track=track)
 File "socket.pyx", line 574, in
    zmq.backend.cython.socket.Socket.send
    (zmq/backend/cython/socket.c:5390)
 File "socket.pyx", line 621, in
    zmq.backend.cython.socket.Socket.send
    (zmq/backend/cython/socket.c:5157)
 File "socket.pyx", line 181, in
    zmq.backend.cython.socket._send_copy
    (zmq/backend/cython/socket.c:2110)
 File "checkrc.pxd", line 21, in
    zmq.backend.cython.checkrc._check_rc
    (zmq/backend/cython/socket.c:6103)
ZMQError: Interrupted system call

This happens as soon as I log something from the run() loop of a Process
object.

I dig in the zmq sources, but I was unable to find the origin of this
problem...

What are the common cases when this error occurs? I can't reproduce it in
a simple example...

Thanks,

-- 
    Frédéric



More information about the zeromq-dev mailing list