Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The plugin [DataLoad ROS bags] thrown the following exception: map::at #991

Open
rbtchun3 opened this issue Jul 19, 2024 · 0 comments
Open

Comments

@rbtchun3
Copy link

rbtchun3 commented Jul 19, 2024

Problem description

crash when loading a rosbag. seems related to #910
Is using latest main branch a solution?
Describe the problem and the expected behavior. Use screenshots or a video, if applicable.

error thrown in terminal

Loading compatible plugins from directory:  "/opt/ros/noetic/lib/plotjuggler"
"libDataLoadCSV.so is a DataLoader plugin"
"libDataLoadMCAP.so is a DataLoader plugin"
"libDataLoadULog.so is a DataLoader plugin"
"libDataStreamSample.so is a DataStreamer plugin"  ...disabled, unless option -t is used
"libDataStreamUDP.so is a DataStreamer plugin"
"libDataStreamWebSocket.so is a DataStreamer plugin"
"libDataStreamZMQ.so is a DataStreamer plugin"
"libParserROS1.so" :  "Cannot load library /opt/ros/noetic/lib/plotjuggler/libParserROS1.so: (librosx_introspection.so: cannot open shared object file: No such file or directory)"
"libParserROS2.so" :  "Cannot load library /opt/ros/noetic/lib/plotjuggler/libParserROS2.so: (librosx_introspection.so: cannot open shared object file: No such file or directory)"
"libPublisherCSV.so is a StatePublisher plugin"
Type conversion already registered from type QString to type QwtText
"libToolboxFFT.so is a Toolbox plugin"
Type conversion already registered from type QString to type QwtText
"libToolboxLuaEditor.so is a Toolbox plugin"
Type conversion already registered from type QString to type QwtText
"libToolboxQuaternion.so is a Toolbox plugin"
Number of plugins loaded:  10 

Loading compatible plugins from directory:  "/opt/ros/noetic/lib/plotjuggler_ros"
"libDataLoadROS.so is a DataLoader plugin"
"libDataStreamROS.so is a DataStreamer plugin"
"libRosoutPublisher.so is a StatePublisher plugin"
"libRosTopicPublisher.so is a StatePublisher plugin"
Number of plugins loaded:  4 

Loading compatible plugins from directory:  "/home/chun/catkin_ws/devel/lib/plotjuggler_ros"
Number of plugins loaded:  0 

Loading compatible plugins from directory:  "/home/chun/.local/share/PlotJuggler"
Number of plugins loaded:  0 

Stack trace (most recent call last):
#31   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7faf0d167434, in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
#30   Object "/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x7faf0bfe04a2, in g_main_context_iteration
#29   Object "/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x7faf0bfe03ff, in g_main_context_dispatch
#28   Object "/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x7faf0bfe017c, in g_main_context_dispatch
#27   Object "/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5", at 0x7faf08e5132d, in QXcbNativeInterface::dumpNativeWindows(unsigned long long) const
#26   Object "/lib/x86_64-linux-gnu/libQt5Gui.so.5", at 0x7faf0d4d435a, in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
#25   Object "/lib/x86_64-linux-gnu/libQt5Gui.so.5", at 0x7faf0d4fa10a, in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
#24   Object "/lib/x86_64-linux-gnu/libQt5Gui.so.5", at 0x7faf0d4f87d2, in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
#23   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7faf0d10f809, in QCoreApplication::notifyInternal2(QObject*, QEvent*)
#22   Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7faf0db330ef, in QApplication::notify(QObject*, QEvent*)
#21   Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7faf0db29a65, in QApplicationPrivate::notify_helper(QObject*, QEvent*)
#20   Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7faf0db8b1eb, in QDesktopWidget::qt_metacall(QMetaObject::Call, int, void**)
#19   Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7faf0db8835c, in QDesktopWidget::qt_metacall(QMetaObject::Call, int, void**)
#18   Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7faf0db32456, in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)
#17   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7faf0d10f809, in QCoreApplication::notifyInternal2(QObject*, QEvent*)
#16   Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7faf0db33342, in QApplication::notify(QObject*, QEvent*)
#15   Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7faf0db29a65, in QApplicationPrivate::notify_helper(QObject*, QEvent*)
#14   Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7faf0db6c2b5, in QWidget::event(QEvent*)
#13   Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7faf0dc20034, in QAbstractButton::mouseReleaseEvent(QMouseEvent*)
#12   Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7faf0dc1fe72, in QAbstractButton::setIconSize(QSize const&)
#11   Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7faf0dc1ea2d, in QAbstractButton::toggled(bool)
#10   Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7faf0dc1e805, in QAbstractButton::clicked(bool)
#9    Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7faf0d13b28b, in QMetaObject::activate(QObject*, int, int, void**)
#8    Object "/opt/ros/noetic/lib/plotjuggler/plotjuggler", at 0x55f6e6e96bd9, in 
#7    Object "/opt/ros/noetic/lib/plotjuggler/plotjuggler", at 0x55f6e6e94e78, in 
#6    Object "/opt/ros/noetic/lib/plotjuggler/plotjuggler", at 0x55f6e6ee9165, in boost::system::system_error::what() const
#5    Object "/opt/ros/noetic/lib/plotjuggler/plotjuggler", at 0x55f6e6ee46c3, in boost::system::system_error::what() const
#4    Object "/opt/ros/noetic/lib/plotjuggler/plotjuggler", at 0x55f6e6ed9f3b, in boost::system::system_error::what() const
#3    Object "/opt/ros/noetic/lib/plotjuggler_ros/libDataLoadROS.so", at 0x7faee80fd4b7, in DataLoadROS::readDataFromFile(PJ::FileLoadInfo*, PJ::PlotDataMapRef&)
#2    Object "/lib/x86_64-linux-gnu/libQt5Xml.so.5", at 0x7faf0e55cff7, in QDomNode::firstChildElement(QString const&) const
#1    Object "/lib/x86_64-linux-gnu/libQt5Xml.so.5", at 0x7faf0e557629, in QDomNode::firstChild() const
#0    Object "/lib/x86_64-linux-gnu/libQt5Xml.so.5", at 0x7faf0e55734c, in QDomNode::QDomNode(QDomNodePrivate*)
Segmentation fault (Signal sent by the kernel [(nil)])
Segmentation fault (core dumped)

Answer these questions (or I will ignore your issue)

  1. Describe your platform / Operative System and the version of PlotJuggler you are using.
  •   linux 20.04, ros noetic, plotjuggler 3.6.0
    
  1. Compile and try the latest version in the main branch and check if the problem persists.
  2. Check if the problem can be reproduced using the dummy data created by the command line argument "-t" or one of the files in the folder "datasamples".
  3. If it can't be reproduced with the dummy data, please share the CSV file or the rosbag that can be used to reproduce the problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant