Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Segfault with NOUI command line arg.

#1
Running robodk with NOUI flag, RoboDK -NOUI

Below is the GDB stacktrace. The crash happens when I load an RDK file it looks like. The crash does not happen when I run robodk without the NOUI flag or when I run robodk using XVFB. 

Running API Command:  "Add"
Loading file:  "/.../CloneableStation.rdk"
Using temporary file name to load station:  "/tmp/RoboDK.ckCfAJ"
Loading:  "/.../CloneableStation.rdk"
Version Station File 101
No 3D window to render
Loading textures:  62

Thread 1 "RoboDK" received signal SIGSEGV, Segmentation fault.
0x00005573408cbcb7 in Texture::GenTexture() ()
(gdb) bt
#0  0x00005573408cbcb7 in Texture::GenTexture() ()
#1  0x00005573408cbf20 in Texture::Load(QDataStream*) ()
#2  0x000055734064703e in Tree::load_station_misc(QDataStream*, QTreeWidgetNode*) ()
#3  0x000055734066a537 in Tree::Load_Station(QString const&, bool, bool, QTreeWidgetNode*) ()
#4  0x000055734066b6c7 in Tree::Add(QTreeWidgetNode*, QString, bool, bool, bool, bool) ()
#5  0x00005573405beedf in ServerListener::Add() ()
#6  0x00005573405887d4 in ServerListener::onReadyReadSocket(QTcpSocket*) ()
#7  0x0000557340588baf in ServerListener::onReadyRead() ()
#8  0x00007f6902499956 in QMetaObject::activate(QObject*, int, int, void**) () from /home/user/RoboDK/bin/lib/libQt5Core.so.5
#9  0x00007f6902ee4cd3 in QAbstractSocketPrivate::emitReadyRead(int) () from /home/user/RoboDK/bin/lib/libQt5Network.so.5
#10 0x00007f6902ee4d8c in QAbstractSocketPrivate::canReadNotification() () from /home/user/RoboDK/bin/lib/libQt5Network.so.5
#11 0x00007f6902ef7431 in QReadNotifier::event(QEvent*) () from /home/user/RoboDK/bin/lib/libQt5Network.so.5
#12 0x00007f690495f85c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/user/RoboDK/bin/lib/libQt5Widgets.so.5
#13 0x00007f69049669f0 in QApplication::notify(QObject*, QEvent*) () from /home/user/RoboDK/bin/lib/libQt5Widgets.so.5
#14 0x00007f690246dc18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/user/RoboDK/bin/lib/libQt5Core.so.5
#15 0x00007f69024c5a08 in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () from /home/user/RoboDK/bin/lib/libQt5Core.so.5
#16 0x00007f690591bd1b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f69059706f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f69059193c3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f69024c4deb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/user/RoboDK/bin/lib/libQt5Core.so.5
#20 0x00007f690246c57a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/user/RoboDK/bin/lib/libQt5Core.so.5
#21 0x00007f6902474f80 in QCoreApplication::exec() () from /home/user/RoboDK/bin/lib/libQt5Core.so.5
#22 0x000055734047f2e7 in main ()
#2
Can you provide us with the RDK file that provoked the crash?
  




Users browsing this thread:
1 Guest(s)