Anybody else seeing with rqt + rviz: adding camera and it crashes with segfault?
rqt and the adding rviz and then adding a camera and it crashes with segfault for me. Anybody else seeing that? I am using groovy and latest debs on Uuntu 12.04.
Running with gdb python and "run /opt/ros/groovy/bin/rqt":
[New Thread 0xa2478b40 (LWP 4596)]
[New Thread 0xa1c77b40 (LWP 4597)]
[New Thread 0xa1420b40 (LWP 4606)]
[Thread 0xac8ffb40 (LWP 4526) exited]
Program received signal SIGSEGV, Segmentation fault.
0xb6de98a8 in vtable for __cxxabiv1::__si_class_type_info ()
from /usr/lib/i386-linux-gnu/libstdc++.so.6
(gdb) bt
#0 0xb6de98a8 in vtable for __cxxabiv1::__si_class_type_info ()
from /usr/lib/i386-linux-gnu/libstdc++.so.6
(gdb) up
Initial frame selected; you cannot go up.
Asked by TommyP on 2013-02-21 04:47:08 UTC
Answers
@TommyP can you run rqt_rviz
in a debugger (see here for gdb
for example) and send us the output when crashed again?
Also, what versions are you using? For example, what do these commands return?
dpkg -p ros-groovy-rqt
dpkg -p ros-groovy-rqt-rviz
dpkg -p ros-groovy-qt-gui-core
dpkg -p ros-groovy-rviz
Without seeing these outputs I can't tell if it's the same but a ticket was opened and already closed a month ago, which should be already included in the latest debian pkg (eg. my ros-groovy-rqt-rviz
is 0.2.8-0quantal-20130216-1454-+0000. Precise
version shouldn't be that different). If yours is old, run these commands.
Asked by 130s on 2013-02-21 05:13:58 UTC
Comments
I cannot reproduce the error at home. Will check more at my work computer tomorrow. The version of for example ros-groovy-rqt-rviz at my work computer is 0.2.8-0precise-20130205-1933-+0000 which seems to be the latest version available for precise (had the same version on a computer i updated now),
Asked by TommyP on 2013-02-21 08:08:37 UTC
I added what gdb says but it was not so informative.
Asked by TommyP on 2013-02-22 04:50:48 UTC
Hm, I'm not sure either...it would be ideal to figure out the difference b/w your 2 machines where only 1 causes the issue, before opening a ticket here https://github.com/ros-visualization/rqt_robot_plugins/issues (I think rqt_rviz
instead of rviz
is the starting point for this ticket).
Asked by 130s on 2013-02-22 04:57:09 UTC
One difference is that the one with the problem is 32-bits and the one without problem 64-bits. But you are right it might be something strange with my machine if nobody else see the problem. I will try to look into it more deeply after the weekend.
Asked by TommyP on 2013-02-22 05:08:55 UTC
Clearing ROS_PACKAGE_PACK and sourcing /opt/ros/groovy/setup.bash solved the problem. Doing source devel/setup.bash in my catkin workspace and the problem appeared again. I cannot see anything obvious that can cause the seg fault. Any ideas about what to look for?
Asked by TommyP on 2013-02-22 05:19:46 UTC
Yay you made it! However I'm still not sure..If you can reproduce it by manipulating ROS_PACKAGE_PATH
and you're sure nothing is wrong in the setting that yields the problem, I think it's worth ticket.
Asked by 130s on 2013-02-22 05:31:47 UTC
Comments