Skip to content

Instantly share code, notes, and snippets.

@zetok
Last active August 29, 2015 14:04
Show Gist options
  • Save zetok/ae3fd0646606505dce3f to your computer and use it in GitHub Desktop.
Save zetok/ae3fd0646606505dce3f to your computer and use it in GitHub Desktop.
qtox segfault 2014-07-31
tried to send a file:
chunkSize: 1371
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffde115700 (LWP 7958)]
QCoreApplication::notifyInternal (this=0x7fffffffdc20, receiver=0x530030,
event=event@entry=0x7fffde114ae0) at kernel/qcoreapplication.cpp:933
933 kernel/qcoreapplication.cpp: No such file or directory.
(gdb) bt
#0 QCoreApplication::notifyInternal (this=0x7fffffffdc20, receiver=0x530030,
event=event@entry=0x7fffde114ae0) at kernel/qcoreapplication.cpp:933
#1 0x00007ffff541eecc in sendEvent (event=0x7fffde114ae0,
receiver=<optimized out>)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#2 QTimerInfoList::activateTimers (this=0x7fffd8003120)
at kernel/qtimerinfo_unix.cpp:643
#3 0x00007ffff541f343 in timerSourceDispatch (source=<optimized out>)
at kernel/qeventdispatcher_glib.cpp:185
#4 idleTimerSourceDispatch (source=<optimized out>)
at kernel/qeventdispatcher_glib.cpp:232
#5 0x00007ffff1eafd98 in g_main_dispatch (context=0x7fffd8000990)
at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3064
#6 g_main_context_dispatch (context=context@entry=0x7fffd8000990)
at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3663
#7 0x00007ffff1eb0020 in g_main_context_iterate (
context=context@entry=0x7fffd8000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>)
at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3734
#8 0x00007ffff1eb0131 in g_main_context_iteration (context=0x7fffd8000990,
may_block=1)
at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3795
#9 0x00007ffff541f6c1 in QEventDispatcherGlib::processEvents (this=
0x7fffd80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#10 0x00007ffff53b22db in QEventLoop::exec (this=this@entry=0x7fffde114d90,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#11 0x00007ffff5181b51 in QThread::exec (this=<optimized out>)
at thread/qthread.cpp:511
#12 0x00007ffff5187d43 in QThreadPrivate::start (arg=0x555555ca2660)
at thread/qthread_unix.cpp:345
#13 0x00007ffff4b765cd in start_thread (arg=0x7fffde115700) at pthread_create.c:309
#14 0x00007ffff405d67d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
tried to send a file, when file transfer seemed to be stale clicked fast 2 times on 'pause' to pause and resume file transfer, then I've started audio call
chunkSize: 1371
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffde115700 (LWP 8980)]
QTimerInfoList::unregisterTimer (this=0x7fffd8003120, timerId=<optimized out>)
at kernel/qtimerinfo_unix.cpp:519
519 kernel/qtimerinfo_unix.cpp: No such file or directory.
(gdb) bt
#0 QTimerInfoList::unregisterTimer (this=0x7fffd8003120, timerId=<optimized out>)
at kernel/qtimerinfo_unix.cpp:519
#1 0x00007ffff53f430c in QObject::killTimer (this=this@entry=0x555555ca28c0,
id=11) at kernel/qobject.cpp:1647
#2 0x00007ffff53fec37 in QTimer::stop (this=0x555555ca28c0)
at kernel/qtimer.cpp:241
#3 0x00007ffff53fee85 in QTimer::timerEvent (this=0x555555ca28c0,
e=<optimized out>) at kernel/qtimer.cpp:254
#4 0x00007ffff53f06b4 in QObject::event (this=0x555555ca28c0, e=<optimized out>)
at kernel/qobject.cpp:1222
#5 0x00007ffff66f5fcc in QApplicationPrivate::notify_helper (
this=this@entry=0x555555907c90, receiver=receiver@entry=0x555555ca28c0,
e=e@entry=0x7fffde114ae0) at kernel/qapplication.cpp:3522
#6 0x00007ffff66fbb1a in QApplication::notify (this=0x7fffffffdc20,
receiver=0x555555ca28c0, e=0x7fffde114ae0) at kernel/qapplication.cpp:3305
#7 0x00007ffff53b4e1c in QCoreApplication::notifyInternal (this=0x7fffffffdc20,
receiver=0x555555ca28c0, event=event@entry=0x7fffde114ae0)
at kernel/qcoreapplication.cpp:935
#8 0x00007ffff541eecc in sendEvent (event=0x7fffde114ae0,
receiver=<optimized out>)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#9 QTimerInfoList::activateTimers (this=0x7fffd8003120)
at kernel/qtimerinfo_unix.cpp:643
#10 0x00007ffff541f343 in timerSourceDispatch (source=<optimized out>)
at kernel/qeventdispatcher_glib.cpp:185
#11 idleTimerSourceDispatch (source=<optimized out>)
at kernel/qeventdispatcher_glib.cpp:232
#12 0x00007ffff1eafd98 in g_main_dispatch (context=0x7fffd8000990)
at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3064
#13 g_main_context_dispatch (context=context@entry=0x7fffd8000990)
at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3663
#14 0x00007ffff1eb0020 in g_main_context_iterate (
context=context@entry=0x7fffd8000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>)
at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3734
#15 0x00007ffff1eb0131 in g_main_context_iteration (context=0x7fffd8000990,
may_block=1)
at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3795
#16 0x00007ffff541f6c1 in QEventDispatcherGlib::processEvents (this=
0x7fffd80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#17 0x00007ffff53b22db in QEventLoop::exec (this=this@entry=0x7fffde114d90,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#18 0x00007ffff5181b51 in QThread::exec (this=<optimized out>)
at thread/qthread.cpp:511
#19 0x00007ffff5187d43 in QThreadPrivate::start (arg=0x555555c90770)
at thread/qthread_unix.cpp:345
#20 0x00007ffff4b765cd in start_thread (arg=0x7fffde115700) at pthread_create.c:309
---Type <return> to continue, or q <return> to quit---
#21 0x00007ffff405d67d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
tried to send file (few MiB) for like hours, in meanwhile other end went offline and online few times. not sure if that's related
chunkSize: 1371
chunkSize: 1371
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd5d3d700 (LWP 9408)]
_wordcopy_fwd_aligned (dstp=<optimized out>, srcp=<optimized out>,
len=2305843009213194712) at wordcopy.c:106
106 wordcopy.c: No such file or directory.
(gdb) bt
#0 _wordcopy_fwd_aligned (dstp=<optimized out>, srcp=<optimized out>,
len=2305843009213194712) at wordcopy.c:106
#1 0x00007ffff3ff3595 in __memmove_sse2 (dest=0x7fffd80b2ea8,
src=<optimized out>, len=18446744073709551608) at ../string/memmove.c:79
#2 0x00007ffff51fd091 in memmove (__len=<optimized out>, __src=<optimized out>,
__dest=<optimized out>) at /usr/include/bits/string3.h:57
#3 QListData::remove (this=this@entry=0x7fffd8003120, i=<optimized out>,
i@entry=1) at tools/qlist.cpp:262
#4 0x00007ffff541e500 in removeAt (i=1, this=0x7fffd8003120)
at ../../include/QtCore/../../src/corelib/tools/qlist.h:492
#5 QTimerInfoList::unregisterTimer (this=0x7fffd8003120, timerId=<optimized out>)
at kernel/qtimerinfo_unix.cpp:515
#6 0x00007ffff53f430c in QObject::killTimer (this=this@entry=0x555555cca2a0, id=4)
at kernel/qobject.cpp:1647
#7 0x00007ffff53fec37 in QTimer::stop (this=this@entry=0x555555cca2a0)
at kernel/qtimer.cpp:241
#8 0x00007ffff53fed75 in QTimer::start (this=0x555555cca2a0)
at kernel/qtimer.cpp:209
#9 0x00005555555a7378 in Core::sendAllFileData(Core*, ToxFile*) ()
#10 0x00005555555ae2ae in QtConcurrent::RunFunctionTask<void>::run() ()
#11 0x00007ffff51841aa in QThreadPoolThread::run (this=0x7fffd80b5bc0)
at thread/qthreadpool.cpp:101
#12 0x00007ffff5187d43 in QThreadPrivate::start (arg=0x7fffd80b5bc0)
at thread/qthread_unix.cpp:345
#13 0x00007ffff4b765cd in start_thread (arg=0x7fffd5d3d700) at pthread_create.c:309
#14 0x00007ffff405d67d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment