PlotJuggler / plotjuggler-ros-plugins

Many PlotJuggler plugins for ROS and ROS2.
GNU Affero General Public License v3.0
109 stars 44 forks source link

Segmentation fault (Address not mapped to object [0x140]) #41

Closed Zhang-Ziyong closed 2 years ago

Zhang-Ziyong commented 2 years ago

If i click the Apply filter to data ,plotjuggler will have a Segmentation fault ,such as `Stack trace (most recent call last):

31 Object "/lib/x86_64-linux-gnu/libQt5Gui.so.5", at 0x7ff05fd1435a, in QWindowSystemInterface::sendWindowSystemEvents(QFlags)

30 Object "/lib/x86_64-linux-gnu/libQt5Gui.so.5", at 0x7ff05fd3a10a, in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)

29 Object "/lib/x86_64-linux-gnu/libQt5Gui.so.5", at 0x7ff05fd387d2, in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)

28 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7ff05f94f809, in QCoreApplication::notifyInternal2(QObject, QEvent)

27 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7ff0603710ef, in QApplication::notify(QObject, QEvent)

26 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7ff060367a65, in QApplicationPrivate::notify_helper(QObject, QEvent)

25 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7ff0603c91eb, in QDesktopWidget::qt_metacall(QMetaObject::Call, int, void**)

24 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7ff0603c6ce3, in QDesktopWidget::qt_metacall(QMetaObject::Call, int, void**)

23 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7ff060370456, in QApplicationPrivate::sendMouseEvent(QWidget, QMouseEvent, QWidget, QWidget, QWidget**, QPointer&, bool, bool)

22 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7ff05f94f809, in QCoreApplication::notifyInternal2(QObject, QEvent)

21 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7ff060371342, in QApplication::notify(QObject, QEvent)

20 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7ff060367a65, in QApplicationPrivate::notify_helper(QObject, QEvent)

19 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7ff0604f4ada, in QMenu::event(QEvent*)

18 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7ff0603aa2b5, in QWidget::event(QEvent*)

17 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7ff0604f24d1, in QMenu::mouseReleaseEvent(QMouseEvent*)

16 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7ff0604f14ad, in QMenu::leaveEvent(QEvent*)

15 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7ff0604e9d11, in QMenu::setIcon(QIcon const&)

14 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7ff060363aa1, in QAction::activate(QAction::ActionEvent)

13 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7ff0603613e5, in QAction::triggered(bool)

12 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7ff05f97b327, in QMetaObject::activate(QObject*, int, int, void**)

11 Object "/opt/ros/foxy/lib/plotjuggler/plotjuggler", at 0x55d515e8fae6, in std::__cxx11::basic_string<char, std::char_traits, std::allocator > std::operator+<char, std::char_traits, std::allocator >(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)

10 Object "/opt/ros/foxy/lib/plotjuggler/plotjuggler", at 0x55d515e9d733, in std::__cxx11::basic_string<char, std::char_traits, std::allocator > std::operator+<char, std::char_traits, std::allocator >(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)

9 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7ff06061c805, in QListWidget::setItemSelected(QListWidgetItem const*, bool)

8 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7ff05f90d0c0, in QItemSelectionModel::select(QModelIndex const&, QFlags)

7 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7ff05f912e96, in QItemSelectionModel::select(QItemSelection const&, QFlags)

6 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7ff05f9102c1, in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&)

5 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7ff05f90ae83, in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&)

4 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7ff05f97b1cf, in QMetaObject::activate(QObject*, int, int, void**)

3 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7ff05f97b28b, in QMetaObject::activate(QObject*, int, int, void**)

2 Object "/opt/ros/foxy/lib/plotjuggler/plotjuggler", at 0x55d515e2a5dc, in

1 Object "/opt/ros/foxy/lib/plotjuggler/plotjuggler", at 0x55d515e9ce42, in std::__cxx11::basic_string<char, std::char_traits, std::allocator > std::operator+<char, std::char_traits, std::allocator >(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)

0 Object "/opt/ros/foxy/lib/plotjuggler/plotjuggler", at 0x55d515f7bba4, in std::ctype::do_widen(char) const

Segmentation fault (Address not mapped to object [0x140])`

The ROS2 version which i used is foxy and the system version is ubuntu 20.04.3 LTS. Thanks for your answer.

facontidavide commented 2 years ago

solved in never version