Home › Forum › SOFA › Using SOFA › [SOLVED] Export Graph Button causes runSofa to segfault (SIGSEGV) and crash
Tagged: 64_bits, crash, Linux_ubuntu, SOFA_2006
- This topic has 7 replies, 2 voices, and was last updated 3 years, 5 months ago by
Hugo.
-
AuthorPosts
-
29 December 2020 at 12:46 #18085
Olumide
BlockedRegardless of which scene I load whenever I press the “Export Graph …” button runSofa segfaults and crashes as shown below:
########## SIG 11 - SIGSEGV: segfault ########## -> /home/Olumide/Downloads/src/sofa/build/lib/libSofaHelper.so.20.06.01(sofa::helper::BackTrace::dump()+0x23) [0x7fdb806ba563] -> /home/Olumide/Downloads/src/sofa/build/lib/libSofaHelper.so.20.06.01(sofa::helper::BackTrace::sig(int)+0x1a2) [0x7fdb806ba8b2] -> /lib/x86_64-linux-gnu/libc.so.6(+0x3f040) [0x7fdb7f9fe040] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZNK7QWidget14windowFilePathEv+0) [0x7fdb715ebd80] -> /home/Olumide/Downloads/src/sofa/build/lib/libSofaGuiQt.so.20.06.01(sofa::gui::qt::QSofaListView::Export()+0x122) [0x7fdb7f5cdac2] -> /home/Olumide/Downloads/src/sofa/build/lib/libSofaGuiQt.so.20.06.01(+0x2a44b5) [0x7fdb7f57a4b5] -> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(QMetaObject::activate(QObject*, int, int, void**)+0x865) [0x7fdb7ee44555] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(QAbstractButton::clicked(bool)+0x42) [0x7fdb716b5ba2] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x245dba) [0x7fdb716b5dba] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x24719a) [0x7fdb716b719a] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(QAbstractButton::mouseReleaseEvent(QMouseEvent*)+0xfd) [0x7fdb716b738d] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(QWidget::event(QEvent*)+0x1f8) [0x7fdb71603048] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x9c) [0x7fdb715c483c] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(QApplication::notify(QObject*, QEvent*)+0x7ff) [0x7fdb715cc65f] -> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(QCoreApplication::notifyInternal2(QObject*, QEvent*)+0x118) [0x7fdb7ee158d8] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)+0x1d2) [0x7fdb715cb632] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1ae16b) [0x7fdb7161e16b] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1b07da) [0x7fdb716207da] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x9c) [0x7fdb715c483c] -> /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(QApplication::notify(QObject*, QEvent*)+0x2a4) [0x7fdb715cc104] -> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(QCoreApplication::notifyInternal2(QObject*, QEvent*)+0x118) [0x7fdb7ee158d8] -> /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)+0x6f3) [0x7fdb70e08583] -> /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)+0x135) [0x7fdb70e0a055] -> /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0xab) [0x7fdb70de12eb] -> /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x9f260) [0x7fdb68f54260] -> /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2e7) [0x7fdb6ffd2417] -> /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4c650) [0x7fdb6ffd2650] -> /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7fdb6ffd26dc] -> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x5f) [0x7fdb7ee6e88f] -> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0x13a) [0x7fdb7ee1390a] -> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(QCoreApplication::exec()+0x94) [0x7fdb7ee1c9b4] -> /home/Olumide/Downloads/src/sofa/build/lib/libSofaGuiQt.so.20.06.01(sofa::gui::qt::RealGUI::mainLoop()+0x11f) [0x7fdb7f5d794f] -> /home/Olumide/Downloads/src/sofa/build/lib/libSofaGuiCommon.so.20.06.01(sofa::gui::GUIManager::MainLoop(boost::intrusive_ptr<sofa::simulation::Node>, char const*)+0x35) [0x7fdb82e60665] -> /home/Olumide/Downloads/src/sofa/build/bin/runSofa(+0x12ab9) [0x55aa8d3beab9] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fdb7f9e0bf7] -> /home/Olumide/Downloads/src/sofa/build/bin/runSofa(+0x1423a) [0x55aa8d3c023a]
Furthermore, the “Edit >> Data Graph …” menu does nothing, even though I suspect its supposed to launch a dialog.
11 January 2021 at 20:27 #18188Hugo
Keymaster11 January 2021 at 20:37 #18189Olumide
BlockedHello Hugo,
Thanks for your reply. I too am not sure what the option does but I was hoping it would show how data flows within sofa and how the various visitors trigger each other, but maybe that’s too much to ask 😉
Regards,
– Olumide
5 February 2021 at 13:27 #18540Hugo
Keymaster25 March 2021 at 02:37 #18979Olumide
BlockedUnfortunately the export Graph feature still crashes when exporting the default scene. The dialog opens this time (yay, progress) but runSofa still crashes.
########## SIG 6 - SIGABRT: usually caused by an abort() or assert() ########## -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/libSofaHelper.so.20.12.01(sofa::helper::BackTrace::dump()+0x36) [0x7fcf9379901a] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/libSofaHelper.so.20.12.01(sofa::helper::BackTrace::sig(int)+0xe9) [0x7fcf93799309] -> /lib/x86_64-linux-gnu/libc.so.6(+0x3f040) [0x7fcf92ab3040] -> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7fcf92ab2fb7] -> /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7fcf92ab4921] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/libQt5Core.so.5(_Z13qErrnoWarningPKcz+0) [0x7fcf91e48edb] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/libSofaGuiQt.so.20.12.01(sofa::gui::qt::GenGraphForm::doExport()+0x199) [0x7fcf926bbc25] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/libQt5Core.so.5(QMetaObject::activate(QObject*, int, int, void**)+0x865) [0x7fcf920853f5] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/../lib/libQt5Widgets.so.5(QAbstractButton::clicked(bool)+0x42) [0x7fcf8c793b62] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/../lib/libQt5Widgets.so.5(+0x24ad7a) [0x7fcf8c793d7a] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/../lib/libQt5Widgets.so.5(+0x24c15a) [0x7fcf8c79515a] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/../lib/libQt5Widgets.so.5(QAbstractButton::mouseReleaseEvent(QMouseEvent*)+0xfd) [0x7fcf8c79534d] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/../lib/libQt5Widgets.so.5(QWidget::event(QEvent*)+0x1e8) [0x7fcf8c6ec1a8] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/../lib/libQt5Widgets.so.5(QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x9c) [0x7fcf8c6abe4c] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/../lib/libQt5Widgets.so.5(QApplication::notify(QObject*, QEvent*)+0x11c8) [0x7fcf8c6b4308] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/libQt5Core.so.5(QCoreApplication::notifyInternal2(QObject*, QEvent*)+0x118) [0x7fcf920557f8] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/../lib/libQt5Widgets.so.5(QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)+0x1df) [0x7fcf8c6b28ff] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/../lib/libQt5Widgets.so.5(+0x1bdda1) [0x7fcf8c706da1] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/../lib/libQt5Widgets.so.5(+0x1c0a3a) [0x7fcf8c709a3a] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/../lib/libQt5Widgets.so.5(QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x9c) [0x7fcf8c6abe4c] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/../lib/libQt5Widgets.so.5(QApplication::notify(QObject*, QEvent*)+0x2f0) [0x7fcf8c6b3430] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/libQt5Core.so.5(QCoreApplication::notifyInternal2(QObject*, QEvent*)+0x118) [0x7fcf920557f8] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/../lib/libQt5Gui.so.5(QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)+0x885) [0x7fcf8c07bfc5] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/../lib/libQt5Gui.so.5(QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)+0x135) [0x7fcf8c07d115] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/../lib/libQt5Gui.so.5(QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0xbb) [0x7fcf8c056dbb] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/platforms/../../lib/libQt5XcbQpa.so.5(+0x69a7a) [0x7fcf72d06a7a] -> /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2e7) [0x7fcf8b3c0537] -> /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4c770) [0x7fcf8b3c0770] -> /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7fcf8b3c07fc] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/libQt5Core.so.5(QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x5f) [0x7fcf920b292f] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/libQt5Core.so.5(QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0x13a) [0x7fcf92053a4a] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/libQt5Core.so.5(QCoreApplication::exec()+0x90) [0x7fcf9205cc50] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/../lib/libSofaGuiQt.so.20.12.01(sofa::gui::qt::RealGUI::mainLoop()+0xc7) [0x7fcf926df61d] -> /home/Olumide/Downloads/src/SOFA_v20.12.01/bin/../lib/libSofaGuiCommon.so.20.12.01(sofa::gui::GUIManager::MainLoop(boost::intrusive_ptr<sofa::simulation::Node>, char const*)+0x5f) [0x7fcf955e5623] -> ./runSofa(+0x14cc0) [0x555ded336cc0] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fcf92a95bf7] -> ./runSofa(+0x1577a) [0x555ded33777a]
25 March 2021 at 08:57 #18980Hugo
KeymasterDear @olumide
This is strange: I did not face this issue on Linux (Ubuntu).
You are using v20.12.01 (binary) apparently right?Hugo
26 March 2021 at 01:46 #18997Olumide
BlockedDear @Hugo,
Yes I am running the latest version 20.12.01, on Ununtu 18.04.5 LTS.
The problem appears to be with paths relative to home, specified with tilde e.g.
~/tmp/file.dot
. The QlineEdit filename in /src/modules/SofaGuiQt/src/sofa/gui/qt/GenGraphForm.cpp appears to be empty which raises the unhandled SIGABRT signal.No signal is raised for standard absolute or relative path such as /home/tmp/file.dot. and ../tmp/file.dot. However, in both cases the dot file created is an empty digraph as shown below:
digraph G { }
Regards,
– Olumide
1 April 2021 at 14:25 #19063 -
AuthorPosts
- You must be logged in to reply to this topic.