[ros-users] socket-related error

Michael Krainin mkrainin at cs.washington.edu
Wed Jan 12 19:31:13 UTC 2011


Hi,

I'm running into an error that I'm not sure how to fix and was wondering if
anyone might have some insight into what's going wrong.

I have roscore and a few nodes running on one machine. Then on a second
machine is a node which interacts with nodes on the first machine through
service calls. Everything seems to run fine for a while, then the node on
the second machine dies with a message:

Unhandled exception in thread started by <bound method TCPServer.run of
<rospy.impl.tcpros_base.TCPServer object at 0x2fee1d0>>
Traceback (most recent call last):
  File "/opt/ros/cturtle/ros/core/rospy/src/rospy/impl/tcpros_base.py", line
141, in run
    (client_sock, client_addr) = self.server_sock.accept()
  File "/usr/lib/python2.6/socket.py", line 197, in accept
    sock, addr = self._sock.accept()
socket.error: [Errno 4] Interrupted system call

Additionally, the log for this node includes the following messages:

[INFO] 2011-01-12 10:43:14,691: signal_shutdown [error in XML-RPC server]
[ERROR] 2011-01-12 10:43:14,692: Traceback (most recent call last):
  File "/opt/ros/cturtle/ros/core/rospy/src/rospy/impl/tcpros_base.py", line
593, in receive_once
    recv_buff(sock, b, p.buff_size)
  File "/opt/ros/cturtle/ros/core/rospy/src/rospy/impl/tcpros_base.py", line
93, in recv_buff
    d = sock.recv(buff_size)
error: [Errno 4] Interrupted system call

[ERROR] 2011-01-12 10:43:14,692: Traceback (most recent call last):
  File "/opt/ros/cturtle/ros/core/rospy/src/rospy/impl/tcpros_base.py", line
593, in receive_once
    recv_buff(sock, b, p.buff_size)
  File "/opt/ros/cturtle/ros/core/rospy/src/rospy/impl/tcpros_base.py", line
93, in recv_buff
    d = sock.recv(buff_size)
error: [Errno 4] Interrupted system call

[ERROR] 2011-01-12 10:43:14,692: Traceback (most recent call last):
  File "/opt/ros/cturtle/ros/core/rospy/src/rospy/impl/tcpros_base.py", line
593, in receive_once
    recv_buff(sock, b, p.buff_size)
  File "/opt/ros/cturtle/ros/core/rospy/src/rospy/impl/tcpros_base.py", line
93, in recv_buff
    d = sock.recv(buff_size)
error: [Errno 4] Interrupted system call

[INFO] 2011-01-12 10:43:14,739: error in XML-RPC server
[INFO] 2011-01-12 10:43:16,010: signal_shutdown [atexit]

Any thoughts on where the problem might lie?

Thanks,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20110112/f302bd5f/attachment-0002.html>


More information about the ros-users mailing list