rviz process died on kinetic + debian, publisherupdate/tf connection refused error
Hi,
I'm trying out my robot configuration on Kinetic + Debian Jessie. I have also installed the ROS-I packages, including industrial-core and I've build industrial-moveit from source (not sure I needed that package too. Built after I saw these errors, and building didn't solve it). When I launch the demo launch file all seems to work. I get a warning about deprecated messages. That's logical since I try to use my indigo configs, and I need to see if and where I need to change for kinetic.
[ WARN] [1492246179.456638579]: Deprecation warning: parameter 'allowed_execution_duration_scaling' moved into namespace 'trajectory_execution'. Please, adjust file trajectory_execution.launch.xml!
[ WARN] [1492246179.457501942]: Deprecation warning: parameter 'allowed_goal_duration_margin' moved into namespace 'trajectory_execution'. Please, adjust file trajectory_execution.launch.xml!
then after I get the message "you can start planning now" rviz crashes with the following message
[rviz_xw6600_2762_3121412043575825610-5] process has died [pid 2819, exit code -11, cmd /opt/ros/kinetic/lib/rviz/rviz -d /home/machinekit/catkin_ws/src/matilda_moveit_config/launch/moveit.rviz __name:=rviz_xw6600_2762_3121412043575825610 __log:=/home/machinekit/.ros/log/74be51e0-21b8-11e7-b05d-001f2900ec6f/rviz_xw6600_2762_3121412043575825610-5.log]. log file: /home/machinekit/.ros/log/74be51e0-21b8-11e7-b05d-001f2900ec6f/rviz_xw6600_2762_3121412043575825610-5*.log
from master.log in the mentioned log files directory i see the following:
[rosmaster.master][INFO] 2017-04-15 11:02:00,238: publisherUpdate[/tf] -> http://xw6600:34005/ []
[rosmaster.master][INFO] 2017-04-15 11:02:00,239: publisherUpdate[/tf] -> http://xw6600:34005/ []: sec=0.00, exception=[Errno 111] Connection refused
[rosmaster.threadpool][ERROR] 2017-04-15 11:02:00,240: Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosmaster/threadpool.py", line 218, in run
result = cmd(*args)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosmaster/master_api.py", line 210, in publisher_update_task
ret = xmlrpcapi(api).publisherUpdate('/master', topic, pub_uris)
File "/usr/lib/python2.7/xmlrpclib.py", line 1233, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1591, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1273, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1301, in single_request
self.send_content(h, request_body)
File "/usr/lib/python2.7/xmlrpclib.py", line 1448, in send_content
connection.endheaders(request_body)
File "/usr/lib/python2.7/httplib.py", line 1035, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 879, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 841, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 822, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
[rosmaster.master][INFO] 2017-04-15 11:02:00,240: publisherUpdate[/tf_static] -> http://xw6600:34005/ []
[rosmaster.master][INFO] 2017-04-15 11:02:00,240: publisherUpdate[/tf_static] -> http://xw6600:34005/ []: sec=0.00, exception=[Errno 111] Connection refused
[rosmaster.threadpool][ERROR] 2017-04-15 11:02:00,241: Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosmaster/threadpool.py", line 218, in run
result = cmd(*args)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosmaster/master_api.py", line 210, in publisher_update_task
ret = xmlrpcapi(api).publisherUpdate('/master', topic, pub_uris)
File "/usr/lib/python2.7/xmlrpclib.py", line 1233, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1591, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1273, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1301, in single_request
self.send_content(h, request_body)
File "/usr/lib/python2.7/xmlrpclib.py", line 1448, in send_content
connection.endheaders(request_body)
File "/usr/lib/python2.7/httplib.py", line 1035, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 879, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 841, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 822, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
Any thoughts on how to get to the root cause and some pointers on how to solve this would be highly appreciated. Best Regards, Bas
edit:
In response to @gvdhoorn I've added link to logs from 2 crashes, one of my robot configuration, the other from the movitsetupassistant crash.
Since I cannot upload files (not enough "points") i've uploaded these to my github account https://github.com/luminize/ros-error-logs
info about the video card driver of my Nvidia Quadro 6000 card: https://github.com/luminize/ros-error-logs/blob/master/lspci-v%20|%20less#L190-L199
In addition to the question of @gvdhoorn I have succesfully rviz with the turtletf demo `rosrun rviz rviz -d 'rospack find turtletf'/rviz/turtle_rviz.rviz` as mentioned in the tf tutorial
edit2:
I installed thru the instructions on the ROS wiki; the OSRF provided packages: http://wiki.ros.org/kinetic/Installation/Debian
machinekit@xw6600:~$ cat /etc/apt/sources.list.d/ros-latest.list
deb http://packages.ros.org/ros/ubuntu jessie main
I've been further looking thru the errors to get some sort of direction where to search. The file mentioned in this error line has not been made. System wide search did not yield results.
edit3:
for good measure I've captured a core file of the moveitsetupassistant crash. On first glance can't seem to find a signal or something. Just one thread, and crash is fairly quick (9 frames).
Doing some more searching lets me find this question. http://answers.ros.org/question/249595/moveit-setup-assistant-segfault-on-jessie/
Asked by Bas on 2017-04-15 04:17:11 UTC
Comments
Is this an ARM system? That is not a good combination unfortunately: ros+rviz+arm+segfault.
The
Connection refused
error inmaster.log
is probably unrelated, but would be something to look into. Try settingROS_IP
on all involved hosts.Asked by gvdhoorn on 2017-04-16 00:46:55 UTC
no, this is an x64 system with an RT PREEMPT kernel..
I've set ROS_IP=192.168.1.11 and ROS_MASTER_URI=http://192.168.1.11:11311 and the fault is still there
Asked by Bas on 2017-04-16 04:25:08 UTC
looking if this has something to do with the URDF file I tried to launch the movit_setup_assistand. This crashed too.
the terninal: https://pastebin.com/3FVLXdTW the roslaunch.log: https://pastebin.com/sTpyZf3T
Asked by Bas on 2017-04-16 04:43:32 UTC
Does RViz always crash, or only with MoveIt configurations? You can test that by running a
roscore
and in a different terminal startrviz
(the binary).Do you have the appropriate NVidia or AMD drivers installed for your graphics card?
The
connection refused
is not important for now.Asked by gvdhoorn on 2017-04-16 04:43:46 UTC
Could I ask you to include all logs / console copy-pastes into your question text directly? pastebin doesn't have infinite retention, so keeping things together keeps this question intact for future readers. Just edit it in using the
edit
button/link.Asked by gvdhoorn on 2017-04-16 04:45:22 UTC
I've updated the original question with links to full logs since I cannot upload as attachments, and copy/paste these many files to the question seems silly.
Asked by Bas on 2017-04-16 06:44:31 UTC
Seeing as RViz works I assume you have, but do you have the
nvidia
binary drivers installed?I've seen more reports about RViz crashing with MoveIt related tools. You could check the moveit issue tracker.
Asked by gvdhoorn on 2017-04-16 07:03:51 UTC
Also: how did you install ROS? Using a source build, or the OSRF provided packages? In any case: make sure you don't have any partial updates, and also: make sure you haven't mixed the Debian Science provided pkgs with those from
packages.ros.org
.Asked by gvdhoorn on 2017-04-16 07:04:44 UTC
With the OSRF provided packages (see edit 2). Any idea how I can find an error file which is mentioned but not made? I'd like to have some more background before installing a Nvidia driver on my working system.
Asked by Bas on 2017-04-16 08:44:01 UTC
The file isn't created as the processes involved
SEGFAULT
before they have a chance to write out the contents. That is unfortunate, but out-of-scope for now.Asked by gvdhoorn on 2017-04-25 03:17:00 UTC