Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save patrickelectric/45074d423e15bd4b9aae2888ed513c4e to your computer and use it in GitHub Desktop.
Save patrickelectric/45074d423e15bd4b9aae2888ed513c4e to your computer and use it in GitHub Desktop.
Thread 5 "QThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe13c4700 (LWP 3590)]
0x00007ffff61f5292 in QIODevice::read(char*, long long) ()
from /usr/lib/libQt5Core.so.5
(gdb) where
#0 0x00007ffff61f5292 in QIODevice::read(char*, long long) ()
from /usr/lib/libQt5Core.so.5
#1 0x00007ffff6205cae in ?? () from /usr/lib/libQt5Core.so.5
#2 0x00007ffff62094e3 in QTextStream::readLineInto(QString*, long long) ()
from /usr/lib/libQt5Core.so.5
#3 0x00007ffff62097ce in QTextStream::readLine(long long) ()
from /usr/lib/libQt5Core.so.5
#4 0x00007ffff7bc8998 in PrintThread::nextLine (this=0xb2be00)
at /home/patrick/git/patrick/atcore/src/printThread.cpp:96
#5 0x00007ffff7bc8305 in PrintThread::commandReady (this=0xb2be00)
at /home/patrick/git/patrick/atcore/src/printThread.cpp:47
#6 0x00007ffff7bc1e5c in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (PrintThread::*)()>::call(void (PrintThread::*)(), PrintThread*, void**) (
f=(void (PrintThread::*)(PrintThread * const)) 0x7ffff7bc821e <PrintThread::commandReady()>, o=0xb2be00, arg=0xb2dcb0)
at /usr/include/qt/QtCore/qobjectdefs_impl.h:141
#7 0x00007ffff7bc1bd5 in QtPrivate::FunctionPointer<void (PrintThread::*)()>::call<QtPrivate::List<>, void>(void (PrintThread::*)(), PrintThread*, void**) (
f=(void (PrintThread::*)(PrintThread * const)) 0x7ffff7bc821e <PrintThread::commandReady()>, o=0xb2be00, arg=0xb2dcb0)
at /usr/include/qt/QtCore/qobjectdefs_impl.h:160
#8 0x00007ffff7bc1515 in QtPrivate::QSlotObject<void (PrintThread::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
(which=1, this_=0x7fffd80013a0, r=0xb2be00, a=0xb2dcb0, ret=0x0)
at /usr/include/qt/QtCore/qobject_impl.h:120
#9 0x00007ffff62f5099 in QObject::event(QEvent*) ()
from /usr/lib/libQt5Core.so.5
#10 0x00007ffff6fa235c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff6fa9ad1 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libQt5Widgets.so.5
#12 0x00007ffff62c8a40 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
from /usr/lib/libQt5Core.so.5
#13 0x00007ffff62cb1cd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#14 0x00007ffff631d063 in ?? () from /usr/lib/libQt5Core.so.5
#15 0x00007ffff3472587 in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#16 0x00007ffff34727f0 in ?? () from /usr/lib/libglib-2.0.so.0
#17 0x00007ffff347289c in g_main_context_iteration ()
from /usr/lib/libglib-2.0.so.0
#18 0x00007ffff631d46f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#19 0x00007ffff62c6e9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQt5Core.so.5
#20 0x00007ffff60e9053 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#21 0x00007ffff60edce8 in ?? () from /usr/lib/libQt5Core.so.5
#22 0x00007ffff4d24454 in start_thread () from /usr/lib/libpthread.so.0
#23 0x00007ffff54e87df in clone () from /usr/lib/libc.so.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment