Bug 330305

Summary: KTorrent crashes while downloading
Product: [Applications] ktorrent Reporter: matthias sweertvaegher <matthias.sweertvaegher>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.3.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description matthias sweertvaegher 2014-01-22 22:55:12 UTC
Application: ktorrent (4.3.1)
KDE Platform Version: 4.10.5 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I was browsing the web using chrome. I hadn't been doing anything during the past half hour in KTorrent. I had also a few seeds going on.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f853a70f780 (LWP 2368))]

Thread 7 (Thread 0x7f8526fdb700 (LWP 2370)):
#0  0x00007f8537b6f964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f851e2097c7 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f851e2097f9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f8537b6be0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f85363cd44d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f8515dc6700 (LWP 2371)):
#0  0x00007f853153383a in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f8531533a69 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f85314f5d6e in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f85314f6984 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f85314f6bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f8537f2c2e6 in QEventDispatcherGlib::processEvents (this=0x7f85100008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f8537efcadf in QEventLoop::processEvents (this=this@entry=0x7f8515dc5e00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f8537efcd68 in QEventLoop::exec (this=0x7f8515dc5e00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f8537dff0f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f8537e020cc in QThreadPrivate::start (arg=0x31f3710) at thread/qthread_unix.cpp:338
#10 0x00007f8537b6be0f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f85363cd44d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f850d5e0700 (LWP 2380)):
#0  0x00007f85363c44ed in poll () from /lib64/libc.so.6
#1  0x00007f853a20797c in poll (__timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/bits/poll2.h:46
#2  net::Poll::poll (this=0x18fede0, timeout=<optimized out>) at /usr/src/debug/libktorrent-1.3.1/src/net/poll.cpp:99
#3  0x00007f853a204982 in net::DownloadThread::waitForSocketReady (this=this@entry=0x18fedd0) at /usr/src/debug/libktorrent-1.3.1/src/net/downloadthread.cpp:128
#4  0x00007f853a204a86 in net::DownloadThread::update (this=0x18fedd0) at /usr/src/debug/libktorrent-1.3.1/src/net/downloadthread.cpp:48
#5  0x00007f853a204c79 in net::NetworkThread::run (this=0x18fedd0) at /usr/src/debug/libktorrent-1.3.1/src/net/networkthread.cpp:48
#6  0x00007f8537e020cc in QThreadPrivate::start (arg=0x18fedd0) at thread/qthread_unix.cpp:338
#7  0x00007f8537b6be0f in start_thread () from /lib64/libpthread.so.0
#8  0x00007f85363cd44d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f850cddf700 (LWP 2381)):
#0  0x00007f8537b6fd11 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8537e00cd6 in thread_sleep (ti=ti@entry=0x7f850cdded90) at thread/qthread_unix.cpp:475
#2  0x00007f8537e0150d in QThread::msleep (msecs=<optimized out>) at thread/qthread_unix.cpp:501
#3  0x00007f853a204518 in update (this=0x18ff1a0) at /usr/src/debug/libktorrent-1.3.1/src/net/uploadthread.cpp:89
#4  net::UploadThread::update (this=0x18ff1a0) at /usr/src/debug/libktorrent-1.3.1/src/net/uploadthread.cpp:43
#5  0x00007f853a204c79 in net::NetworkThread::run (this=0x18ff1a0) at /usr/src/debug/libktorrent-1.3.1/src/net/networkthread.cpp:48
#6  0x00007f8537e020cc in QThreadPrivate::start (arg=0x18ff1a0) at thread/qthread_unix.cpp:338
#7  0x00007f8537b6be0f in start_thread () from /lib64/libpthread.so.0
#8  0x00007f85363cd44d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f84b3fff700 (LWP 2383)):
#0  0x00007f8537b6f964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8537e0262b in wait (time=18446744073709551615, this=0x35016c0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x3567b40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f853a207572 in net::ReverseResolverThread::run (this=0x3567b30) at /usr/src/debug/libktorrent-1.3.1/src/net/reverseresolver.cpp:124
#4  0x00007f8537e020cc in QThreadPrivate::start (arg=0x3567b30) at thread/qthread_unix.cpp:338
#5  0x00007f8537b6be0f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f85363cd44d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f84b31e7700 (LWP 13444)):
#0  0x00007f85363c90b9 in syscall () from /lib64/libc.so.6
#1  0x00007f8537e00b74 in _q_futex (timeout=0x0, val=2, op=0, addr=0x33210f0, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x33210f0, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00007f8537dfcd75 in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x00007f8537e02150 in lockInline (this=0x329fa48) at ../../src/corelib/thread/qmutex.h:190
#5  lockInline (this=0x329fa48) at thread/qthread_unix.cpp:299
#6  QMutexLocker (m=0x329fa48, this=<synthetic pointer>) at ../../src/corelib/thread/qmutex.h:109
#7  QThreadPrivate::start (arg=0x323ce60) at thread/qthread_unix.cpp:317
#8  0x00007f8537b6be0f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f85363cd44d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f853a70f780 (LWP 2368)):
[KCrash Handler]
#5  0x00007f85363193d5 in raise () from /lib64/libc.so.6
#6  0x00007f853631a858 in abort () from /lib64/libc.so.6
#7  0x00007f853635944b in __libc_message () from /lib64/libc.so.6
#8  0x00007f853635efc6 in malloc_printerr () from /lib64/libc.so.6
#9  0x00007f853635fd43 in _int_free () from /lib64/libc.so.6
#10 0x00007f851a08a07c in ?? () from /usr/X11R6/lib64/libGL.so.1
#11 0x00007f851995b17a in ?? () from /usr/lib64/tls/libnvidia-tls.so.319.32
#12 0x00007f8537e0189e in QThread::start (this=0x323ce60, priority=<optimized out>) at thread/qthread_unix.cpp:640
#13 0x00007f8537df64bd in tryStart (task=0x3c50a00, this=0x31b0aa0) at concurrent/qthreadpool.cpp:203
#14 QThreadPoolPrivate::tryStart (this=0x31b0aa0, task=0x3c50a00) at concurrent/qthreadpool.cpp:174
#15 0x00007f8537df66e3 in QThreadPool::start (this=<optimized out>, runnable=0x3c50a00, priority=0) at concurrent/qthreadpool.cpp:474
#16 0x00007f853907025a in QHostInfoLookupManager::work (this=this@entry=0x31af050) at kernel/qhostinfo.cpp:633
#17 0x00007f853907050d in QHostInfoLookupManager::scheduleLookup (this=this@entry=0x31af050, r=r@entry=0x3c50a00) at kernel/qhostinfo.cpp:652
#18 0x00007f853907129e in QHostInfo::lookupHost (name=..., receiver=0x3efde60, member=0x7f853a2bdf3a "1hostResolved(QHostInfo)") at kernel/qhostinfo.cpp:202
#19 0x00007f853a208cc5 in net::AddressResolver::AddressResolver (this=0x3efde60, host=..., port=80, parent=0x3de4c10, slot=0x7f853a2c2900 "1onResolverResults(net::AddressResolver*)") at /usr/src/debug/libktorrent-1.3.1/src/net/addressresolver.cpp:33
#20 0x00007f853a208e0b in net::AddressResolver::resolve (host=..., port=80, parent=0x3de4c10, slot=0x7f853a2c2900 "1onResolverResults(net::AddressResolver*)") at /usr/src/debug/libktorrent-1.3.1/src/net/addressresolver.cpp:63
#21 0x00007f853a28f5a8 in bt::UDPTracker::doRequest (this=0x3de4c10) at /usr/src/debug/libktorrent-1.3.1/src/tracker/udptracker.cpp:207
#22 0x00007f8537f1329f in QMetaObject::activate (sender=0x3de4cb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3548
#23 0x00007f8537f125ac in QObject::event (this=0x3de4cb0, e=<optimized out>) at kernel/qobject.cpp:1165
#24 0x00007f853708b86c in QApplicationPrivate::notify_helper (this=this@entry=0x19309b0, receiver=receiver@entry=0x3de4cb0, e=e@entry=0x7fff5ba58c90) at kernel/qapplication.cpp:4562
#25 0x00007f853708fceb in QApplication::notify (this=0x7fff5ba59c40, receiver=0x3de4cb0, e=0x7fff5ba58c90) at kernel/qapplication.cpp:4423
#26 0x000000000043c5ca in ?? ()
#27 0x00007f8537efdd8e in QCoreApplication::notifyInternal (this=0x7fff5ba59c40, receiver=0x3de4cb0, event=0x7fff5ba58c90) at kernel/qcoreapplication.cpp:946
#28 0x00007f8537f2eb61 in sendEvent (event=0x7fff5ba58c90, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#29 QTimerInfoList::activateTimers (this=0x193ff60) at kernel/qeventdispatcher_unix.cpp:637
#30 0x00007f8537f2bc54 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#31 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#32 0x00007f8537f2bc71 in idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#33 0x00007f85314f67d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f85314f6b08 in ?? () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f85314f6bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f8537f2c2c6 in QEventDispatcherGlib::processEvents (this=0x18f3ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007f853712bc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f8537efcadf in QEventLoop::processEvents (this=this@entry=0x7fff5ba58f10, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f8537efcd68 in QEventLoop::exec (this=0x7fff5ba58f10, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f8537f01a08 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#41 0x000000000042ab3b in ?? ()
#42 0x00007f8536305a15 in __libc_start_main () from /lib64/libc.so.6
#43 0x000000000042be65 in _start ()

Reported using DrKonqi
Comment 1 matthias sweertvaegher 2014-01-22 22:57:39 UTC
to be honest, it's the first time it crashes on me
Comment 2 Jekyll Wu 2014-01-23 01:16:30 UTC

*** This bug has been marked as a duplicate of bug 325076 ***