rviz2 segfault in moveit_tutorial when setting target frame
I was trying to follow the moveit_tutorial
https://moveit.picknik.ai/humble/doc/tutorials/quickstart_in_rviz/quickstart_in_rviz_tutorial.html
I have Ubuntu 22.04 and ROS humble.
In another terminal I ran
ros2 launch moveit2_tutorials demo.launch.py rviz_tutorial:=true
However rviz2 did not start. As discussed here https://answers.ros.org/question/412309/moveit-tutorial-doesnt-start-rviz/
when rviz2 is started separately it is fine until I try to change the target frame from map to panda_link0.
It will then exit with:
Warning: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
at line 93 in ./src/buffer_core.cpp
[INFO] [1675951347.232102042] [interactive_marker_display_94212186444960]: Target frame is now panda_link0
Segmentation fault (core dumped)
Here is the backtrace:
(gdb) bt
#0 0x00007efd54620a40 in moveit_rviz_plugin::MotionPlanningDisplay::fixedFrameChanged() ()
at /home/isd/shackle/ws_moveit2/install/moveit_ros_visualization/lib/libmoveit_motion_planning_rviz_plugin_core.so.2.5.4
#1 0x00007efe0a053d07 in rviz_common::DisplayGroup::fixedFrameChanged() () at /opt/ros/humble/lib/librviz_common.so
#2 0x00007efe0a0af490 in rviz_common::VisualizationManager::updateFixedFrame() () at /opt/ros/humble/lib/librviz_common.so
#3 0x00007efe096337c8 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007efe0a07064b in rviz_common::properties::Property::setValue(QVariant const&) () at /opt/ros/humble/lib/librviz_common.so
#5 0x00007efe0a075904 in rviz_common::properties::TfFrameProperty::setValue(QVariant const&) () at /opt/ros/humble/lib/librviz_common.so
#6 0x00007efe0a023249 in () at /opt/ros/humble/lib/librviz_common.so
#7 0x00007efe096337c8 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8 0x00007efe09b151c9 in QComboBox::currentIndexChanged(QString const&) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9 0x00007efe09b17a71 in () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007efe09b1a575 in () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007efe09b1a79d in () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007efe096337c8 in () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007efe09b154c6 in QComboBoxPrivateContainer::itemSelected(QModelIndex const&) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007efe09b15df0 in QComboBoxPrivateContainer::eventFilter(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007efe095fbb9a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007efe09a0d702 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007efe09a15364 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007efe095fbe3a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007efe09a13e47 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007efe09a6a843 in () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007efe09a6cfd5 in () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007efe09a0d713 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007efe095fbe3a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007efe082a4307 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#25 0x00007efe08279a2c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Gui.so.5
#26 0x00007efe03001d6e in () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#27 0x00007efe07890d3b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007efe078e56c8 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007efe0788e3e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007efe096550b8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007efe095fa75b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007efe09602cf4 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x0000559aef07199e in ()
#34 0x00007efe08cecd90 in __libc_start_call_main (main=main@entry=0x559aef071430, argc=argc@entry=1, argv=argv@entry=0x7ffc13b9dba8) at ../sysdeps/nptl/libc_start_call_main.h:58
#35 0x00007efe08cece40 in __libc_start_main_impl (main=0x559aef071430, argc=1, argv=0x7ffc13b9dba8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc13b9db98)
at ../csu/libc-start.c:392
#36 0x0000559aef071c15 in ()
Asked by elkcahsw on 2023-02-09 09:18:14 UTC
Comments
I have the same issues
Asked by minghello on 2023-03-04 04:30:27 UTC