Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save patrickelectric/0f02c69884cc25b6af631c87d5611e3b to your computer and use it in GitHub Desktop.
Save patrickelectric/0f02c69884cc25b6af631c87d5611e3b to your computer and use it in GitHub Desktop.
Thread 5 "QThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe13c4700 (LWP 5853)]
0x00007ffff61f5295 in QIODevice::read(char*, long long) () from /usr/lib/libQt5Core.so.5
(gdb) where
#0 0x00007ffff61f5295 in QIODevice::read(char*, long long) () from /usr/lib/libQt5Core.so.5
#1 0x00007ffff6205e7f 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 0x00007ffff7bc8b2c in PrintThread::nextLine (this=0xc45080)
at /home/patrick/git/patrick/atcore/src/printThread.cpp:101
#5 0x00007ffff7bc8467 in PrintThread::commandReady (this=0xc45080)
at /home/patrick/git/patrick/atcore/src/printThread.cpp:50
#6 0x00007ffff7bc1f5c in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (PrintThread::*)()>::call(void (PrintThread::*)(), PrintThread*, void**) (
f=(void (PrintThread::*)(PrintThread * const)) 0x7ffff7bc836c <PrintThread::commandReady()>, o=0xc45080, arg=0xd701b0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:141
#7 0x00007ffff7bc1cd5 in QtPrivate::FunctionPointer<void (PrintThread::*)()>::call<QtPrivate::List<>, void>(void (PrintThread::*)(), PrintThread*, void**) (
f=(void (PrintThread::*)(PrintThread * const)) 0x7ffff7bc836c <PrintThread::commandReady()>, o=0xc45080, arg=0xd701b0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:160
#8 0x00007ffff7bc1615 in QtPrivate::QSlotObject<void (PrintThread::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1,
this_=0x7fffd80013a0, r=0xc45080, a=0xd701b0, 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