Ask Your Question
0

Gazebo is aborting

asked 2018-07-06 10:33:40 -0600

mdominguez gravatar image

updated 2018-07-06 11:39:17 -0600

jayess gravatar image

Hello,

I am currently trying to launch a simulation of TIAGo and Gazebo is aborting just a few seconds after the process has started running. In first place I thought that it was due a weird error related with executing Python nodes, the file had no execution permissions and ROS could not find the node. I mend that just executing

chmod +x python_file.py

but the error of Gazebo aborting persisted. I don't understand why but I think it's fully related with ROS Python packages. Here is the error of the roslaunch:

[gazebo_gui-3] process has died [pid 57438, exit code 134, cmd /.../gazebo_ros/gzclient __name:=gazebo_gui __log:=~/.ros/log/4602d00c-8129-11e8-9ca3-000c2954f4ae/gazebo_gui-3.log].
log file: ~/.ros/log/4602d00c-8129-11e8-9ca3-000c2954f4ae/gazebo_gui-3*.log

[tuck_arm-27] process has finished cleanly
log file: ~/.ros/log/4602d00c-8129-11e8-9ca3-000c2954f4ae/tuck_arm-27*.log

I am not sure if the reason of the error is in the log specified by Gazebo a few lines after the gazebo_gui-3 process died but in the log I found the following:

[rospy.internal][WARNING] 2018-07-06 14:31:44,659: Unknown error initiating TCP/IP socket to development:47125 (http://development:46830/): Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py", line 557, in connect
    self.read_header()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py", line 650, in read_header
    self._validate_header(read_ros_handshake_header(sock, self.read_buff, self.protocol.buff_size))
AttributeError: 'NoneType' object has no attribute 'buff_size'


[rospy.internal][ERROR] 2018-07-06 14:32:04,856: Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py", line 729, in receive_once
    self.stat_bytes += recv_buff(sock, b, p.buff_size)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py", line 103, in recv_buff
    d = sock.recv(buff_size)
error: [Errno 104] Connection reset by peer

[rospy.internal][WARNING] 2018-07-06 14:32:04,857: Unknown error initiating TCP/IP socket to development:43093 (http://development:32888/): Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py", line 558, in connect
    self.local_endpoint = self.socket.getsockname()
AttributeError: 'NoneType' object has no attribute 'getsockname'

I don't know what could be... Do you have any hint of what could be?

Thank you, Marc

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-07-09 02:59:43 -0600

tfoote gravatar image

From the log it appears that your system is refusing to open sockets. https://answers.ros.org/question/1148...

I found reference that you might be exhausting your socket allocations: https://answers.ros.org/question/2025...

Or possibly some other system setting is preventing them from opening such as the packet size: https://answers.ros.org/question/1024...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-07-06 10:33:40 -0600

Seen: 873 times

Last updated: Jul 09 '18