Bug 235287

Summary: ktorrent crashes while idling/seeding
Product: [Applications] ktorrent Reporter: Vasilis Vasaitis <vvasaitis>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vasilis Vasaitis 2010-04-24 18:55:39 UTC
Application: ktorrent (4.0beta2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-3-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
I have just upgraded from KDE 3.5.x to 4.4.x. I'm using Debian unstable, and upgraded with packages from Debian experimental. Amongst the applications that were upgraded was ktorrent, from 2.2 to 4.0beta. Well, since I upgraded last night it's been 2-3 times already that ktorrent has crashed without me interacting with it at all; simply while idling and seeding the torrents it has imported from the previous version.

I'd be more than happy to provide any additional feedback, try out whatever possible solutions etc.


The crash can be reproduced some of the time.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted
[Current thread is 1 (Thread 0xf4abc700 (LWP 9286))]

Thread 5 (Thread 0xf29ffb70 (LWP 9288)):
#0  0xf52abe4c in *__GI_clock_gettime (clock_id=-181731340, tp=0xf29ff048) at ../sysdeps/unix/clock_gettime.c:100
#1  0xf68f942b in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0xf68fe635 in QTimerInfoList::updateCurrentTime (this=0x8b4191c) at kernel/qeventdispatcher_unix.cpp:340
#3  0xf68fe67a in QTimerInfoList::timerWait (this=0x8b4191c, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0xf68fc538 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xf29ff13c) at kernel/qeventdispatcher_glib.cpp:136
#5  0xf521d7ba in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0xf521dbd9 in ?? () from /lib/libglib-2.0.so.0
#7  0xf521e198 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0xf68fc32f in QEventDispatcherGlib::processEvents (this=0x8b1fb00, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#9  0xf68cef09 in QEventLoop::processEvents (this=0xf29ff300, flags=) at kernel/qeventloop.cpp:149
#10 0xf68cf35a in QEventLoop::exec (this=0xf29ff300, flags=...) at kernel/qeventloop.cpp:201
#11 0xf67cbbd8 in QThread::exec (this=0xf2a436a0) at thread/qthread.cpp:487
#12 0xf76c45fd in utp::UTPServerThread::run (this=0xf2a436a0) at ../../libbtcore/utp/utpserverthread.cpp:40
#13 0xf67ce93e in QThreadPrivate::start (arg=0xf2a436a0) at thread/qthread_unix.cpp:248
#14 0xf52f4585 in start_thread (arg=0xf29ffb70) at pthread_create.c:300
#15 0xf5b0e29e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xe92ffb70 (LWP 9315)):
#0  0xf774b425 in __kernel_vsyscall ()
#1  0xf5b00b27 in *__GI___poll (fds=0xbf2f0de8, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xf7625fb6 in net::Poll::poll (this=0x8b20840, timeout=-1) at ../../libbtcore/net/poll.cpp:99
#3  0xf7621989 in net::DownloadThread::waitForSocketReady (this=0x8b20838) at ../../libbtcore/net/downloadthread.cpp:128
#4  0xf76219ff in net::DownloadThread::update (this=0x8b20838) at ../../libbtcore/net/downloadthread.cpp:48
#5  0xf76224f8 in net::NetworkThread::run (this=0x8b20838) at ../../libbtcore/net/networkthread.cpp:48
#6  0xf67ce93e in QThreadPrivate::start (arg=0x8b20838) at thread/qthread_unix.cpp:248
#7  0xf52f4585 in start_thread (arg=0xe92ffb70) at pthread_create.c:300
#8  0xf5b0e29e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xe8afeb70 (LWP 9316)):
#0  0xf774b425 in __kernel_vsyscall ()
#1  0xf52f83d2 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xf5b1b864 in __pthread_cond_timedwait (cond=0xe8afe218, mutex=0xe8afe248, abstime=0xe8afe290) at forward.c:152
#3  0xf67ce241 in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:398
#4  0xf67ce383 in QThread::msleep (msecs=9) at thread/qthread_unix.cpp:424
#5  0xf7621612 in net::UploadThread::update (this=0x8b20c20) at ../../libbtcore/net/uploadthread.cpp:88
#6  0xf76224f8 in net::NetworkThread::run (this=0x8b20c20) at ../../libbtcore/net/networkthread.cpp:48
#7  0xf67ce93e in QThreadPrivate::start (arg=0x8b20c20) at thread/qthread_unix.cpp:248
#8  0xf52f4585 in start_thread (arg=0xe8afeb70) at pthread_create.c:300
#9  0xf5b0e29e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xe82fdb70 (LWP 9317)):
#0  0xf774b425 in __kernel_vsyscall ()
#1  0xf52f80a5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xf5b1b80d in __pthread_cond_wait (cond=0xecf82330, mutex=0xecf82318) at forward.c:139
#3  0xf67cf867 in QWaitConditionPrivate::wait (this=0xeb3133f4, mutex=0xeb3133f0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xeb3133f4, mutex=0xeb3133f0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xf76258fa in net::ReverseResolverThread::run (this=0xeb3133e8) at ../../libbtcore/net/reverseresolver.cpp:123
#6  0xf67ce93e in QThreadPrivate::start (arg=0xeb3133e8) at thread/qthread_unix.cpp:248
#7  0xf52f4585 in start_thread (arg=0xe82fdb70) at pthread_create.c:300
#8  0xf5b0e29e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xf4abc700 (LWP 9286)):
[KCrash Handler]
#6  0xf774b425 in __kernel_vsyscall ()
#7  0xf5a698e0 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xf5a6ce15 in *__GI_abort () at abort.c:88
#9  0xf5c894ef in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#10 0xf5c87425 in ?? () from /usr/lib/libstdc++.so.6
#11 0xf5c87462 in std::terminate() () from /usr/lib/libstdc++.so.6
#12 0xf5c8751b in __cxa_rethrow () from /usr/lib/libstdc++.so.6
#13 0xf68e443a in QMetaObject::activate (sender=0x8d2bc710, m=0xf6e7d450, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3303
#14 0xf6df7fb7 in QAbstractSocket::connected (this=0x8d2bc710) at .moc/release-shared/moc_qabstractsocket.cpp:136
#15 0xf6df88a9 in QAbstractSocketPrivate::fetchConnectionParameters (this=0xc1cc4448) at socket/qabstractsocket.cpp:1194
#16 0xf6dfa650 in QAbstractSocketPrivate::_q_testConnection (this=0xc1cc4448) at socket/qabstractsocket.cpp:1049
#17 0xf6de93eb in QAbstractSocketEngine::connectionNotification (this=0x75ff08d0) at socket/qabstractsocketengine.cpp:172
#18 0xf6deb009 in QNativeSocketEngine::connectionNotification (this=0x75ff08d0) at socket/qnativesocketengine.cpp:545
#19 0xf6deb12b in QWriteNotifier::event (this=0xc1cc4d48, e=0xffa5ca44) at socket/qnativesocketengine.cpp:1124
#20 0xf5e17bec in QApplicationPrivate::notify_helper (this=0x8b42d70, receiver=0xc1cc4d48, e=0xffa5ca44) at kernel/qapplication.cpp:4300
#21 0xf5e1e75e in QApplication::notify (this=0xffa5cd74, receiver=0xc1cc4d48, e=0xffa5ca44) at kernel/qapplication.cpp:3704
#22 0xf706f7aa in KApplication::notify (this=0xffa5cd74, receiver=0xc1cc4d48, event=0xffa5ca44) at ../../kdeui/kernel/kapplication.cpp:302
#23 0xf68d08eb in QCoreApplication::notifyInternal (this=0xffa5cd74, receiver=0xc1cc4d48, event=0xffa5ca44) at kernel/qcoreapplication.cpp:704
#24 0xf68fc6ca in QCoreApplication::sendEvent (source=0x8b53180) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 socketNotifierSourceDispatch (source=0x8b53180) at kernel/qeventdispatcher_glib.cpp:110
#26 0xf521a2e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0xf521e000 in ?? () from /lib/libglib-2.0.so.0
#28 0xf521e198 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0xf68fc2f5 in QEventDispatcherGlib::processEvents (this=0x8b1f638, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#30 0xf5ed6255 in QGuiEventDispatcherGlib::processEvents (this=0x8b1f638, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0xf68cef09 in QEventLoop::processEvents (this=0xffa5cce4, flags=) at kernel/qeventloop.cpp:149
#32 0xf68cf35a in QEventLoop::exec (this=0xffa5cce4, flags=...) at kernel/qeventloop.cpp:201
#33 0xf68d34ef in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#34 0xf5e17c87 in QApplication::exec () at kernel/qapplication.cpp:3579
#35 0x08068e61 in main (argc=1, argv=0xffa5d154) at ../../ktorrent/main.cpp:173

Reported using DrKonqi
Comment 1 Joris Guisson 2010-05-01 11:07:55 UTC
Uncaught exception crash

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