Application: ktorrent (4.0.1) KDE Platform Version: 4.4.4 (KDE 4.4.4) Qt Version: 4.6.3 Operating System: Linux 2.6.34-1-amd64 x86_64 Distribution: Debian GNU/Linux testing (squeeze) -- Information about the crash: ktorrent has a couple of torrents. It starts with downloading the torrents and after some time (not sure how much time), it crashes The crash can be reproduced every time. -- Backtrace: Application: KTorrent (ktorrent), signal: Segmentation fault The current source language is "auto; currently asm". [Current thread is 1 (Thread 0x7f515bb96760 (LWP 20485))] Thread 6 (Thread 0x7f514c424710 (LWP 20490)): #0 0xffffffffff600132 in ?? () #1 0x00007fff9b8c2841 in ?? () #2 0x00007f515406ae7f in *__GI_clock_gettime (clock_id=1279409040, tp=0x7f514c423b90) at ../sysdeps/unix/clock_gettime.c:100 #3 0x00007f5159216b9f in qt_gettime () at kernel/qcore_unix.cpp:111 #4 0x00007f515921b99d in QTimerInfoList::updateCurrentTime (this=0x7f514c423b90) at kernel/qeventdispatcher_unix.cpp:340 #5 0x00007f515921b9c5 in QTimerInfoList::timerWait (this=0x7f514c423b90, tm=...) at kernel/qeventdispatcher_unix.cpp:443 #6 0x00007f515921995d in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f514c423c8c) at kernel/qeventdispatcher_glib.cpp:136 #7 0x00007f5153dcc791 in g_main_context_prepare (context=0xeb1df0, priority=<value optimized out>) at /tmp/buildd/glib2.0-2.25.10/glib/gmain.c:2364 #8 0x00007f5153dccbf8 in g_main_context_iterate (context=0xeb1df0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /tmp/buildd/glib2.0-2.25.10/glib/gmain.c:2655 #9 0x00007f5153dcd1dc in g_main_context_iteration (context=0xeb1df0, may_block=1) at /tmp/buildd/glib2.0-2.25.10/glib/gmain.c:2738 #10 0x00007f5159219713 in QEventDispatcherGlib::processEvents (this=0xead7d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #11 0x00007f51591eea82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #12 0x00007f51591eee5c in QEventLoop::exec (this=0x7f514c423e20, flags=) at kernel/qeventloop.cpp:201 #13 0x00007f51590fe79b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #14 0x00007f5159100e35 in QThreadPrivate::start (arg=0xead830) at thread/qthread_unix.cpp:248 #15 0x00007f5154aaf8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #16 0x00007f515795a01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #17 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f514bc23710 (LWP 20491)): #0 0x00007f51579538b3 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007f515b710a02 in dht::RPCServerThread::run (this=0xe15e90) at ../../src/dht/rpcserver.cpp:107 #2 0x00007f5159100e35 in QThreadPrivate::start (arg=0xe15e90) at thread/qthread_unix.cpp:248 #3 0x00007f5154aaf8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #4 0x00007f515795a01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f5149e8c710 (LWP 20532)): #0 0x00007f515b6b199d in net::DownloadThread::update (this=0xdd61e0) at ../../src/net/downloadthread.cpp:65 #1 0x00007f515b6b2409 in net::NetworkThread::run (this=0xdd61e0) at ../../src/net/networkthread.cpp:48 #2 0x00007f5159100e35 in QThreadPrivate::start (arg=0xdd61e0) at thread/qthread_unix.cpp:248 #3 0x00007f5154aaf8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #4 0x00007f515795a01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f514a68d710 (LWP 20533)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00007f51591007b5 in thread_sleep (ti=0x7f514a68cdd0) at thread/qthread_unix.cpp:398 #2 0x00007f5159100910 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424 #3 0x00007f515b6b11cd in net::UploadThread::update (this=0xdd6830) at ../../src/net/uploadthread.cpp:89 #4 0x00007f515b6b2409 in net::NetworkThread::run (this=0xdd6830) at ../../src/net/networkthread.cpp:48 #5 0x00007f5159100e35 in QThreadPrivate::start (arg=0xdd6830) at thread/qthread_unix.cpp:248 #6 0x00007f5154aaf8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #7 0x00007f515795a01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #8 0x0000000000000000 in ?? () The current source language is "auto; currently c++". Thread 2 (Thread 0x7f5148e8a710 (LWP 20534)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f5159101e8b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2e07370, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x2e07370, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f515b6b5132 in net::ReverseResolverThread::run (this=0x2e07360) at ../../src/net/reverseresolver.cpp:123 #4 0x00007f5159100e35 in QThreadPrivate::start (arg=0x2e07360) at thread/qthread_unix.cpp:248 #5 0x00007f5154aaf8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #6 0x00007f515795a01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () The current source language is "auto; currently asm". Thread 1 (Thread 0x7f515bb96760 (LWP 20485)): [KCrash Handler] #5 QHashDummyNode (node=0xffffffffffb7d4e8, newNode=0x7f51340ac650) at /usr/include/qt4/QtCore/qhash.h:212 #6 QHash<bt::PeerConnector::Method, QHashDummyValue>::duplicateNode (node=0xffffffffffb7d4e8, newNode=0x7f51340ac650) at /usr/include/qt4/QtCore/qhash.h:527 #7 0x00007f515911d177 in QHashData::detach_helper2 (this=0xdc77870, node_duplicate=0x7f515b6ceec0 <QHash<bt::PeerConnector::Method, QHashDummyValue>::duplicateNode(QHashData::Node*, void*)>, node_delete=<value optimized out>, nodeSize=<value optimized out>, nodeAlign=8) at tools/qhash.cpp:239 #8 0x00007f515b6ce755 in QHash<bt::PeerConnector::Method, QHashDummyValue>::detach_helper (this=<value optimized out>, auth=<value optimized out>, ok=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:581 #9 QHash<bt::PeerConnector::Method, QHashDummyValue>::detach (this=<value optimized out>, auth=<value optimized out>, ok=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:299 #10 QHash<bt::PeerConnector::Method, QHashDummyValue>::insert (this=<value optimized out>, auth=<value optimized out>, ok=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:749 #11 QSet<bt::PeerConnector::Method>::insert (this=<value optimized out>, auth=<value optimized out>, ok=<value optimized out>) at /usr/include/qt4/QtCore/qset.h:176 #12 bt::PeerConnector::authenticationFinished (this=<value optimized out>, auth=<value optimized out>, ok=<value optimized out>) at ../../src/peer/peerconnector.cpp:81 #13 0x00007f515b6bac5e in bt::Authenticate::qt_metacall (this=0x11fad680, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./authenticate.moc:75 #14 0x00007f515b6b8258 in mse::EncryptedAuthenticate::qt_metacall (this=0xffffffffffb7d4e8, _c=873121360, _id=872415264, _a=0x7f5134000000) at ./encryptedauthenticate.moc:71 #15 0x00007f5159203346 in QMetaObject::activate (sender=0x155eca0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f5134000000) at kernel/qobject.cpp:3295 #16 0x00007f515b6c3b60 in bt::PeerManager::stop (this=0x155eca0) at ../../src/peer/peermanager.cpp:548 #17 0x00007f515b6f5e0f in bt::TorrentControl::stop (this=0x153a6d0, wjob=0x0) at ../../src/torrent/torrentcontrol.cpp:486 #18 0x00007f515b3ed0fa in kt::QueueManager::stopSafely (this=<value optimized out>, tc=0x153a6d0, wjob=0x7f5134000020) at ../../libktcore/torrent/queuemanager.cpp:752 #19 0x00007f515b3efe7b in kt::QueueManager::orderQueue (this=0xedfb30) at ../../libktcore/torrent/queuemanager.cpp:604 #20 0x00007f515b3f05c0 in kt::QueueManager::checkStalledTorrents (this=<value optimized out>, now=<value optimized out>, min_stall_time=<value optimized out>) at ../../libktcore/torrent/queuemanager.cpp:819 #21 0x000000000042ae8d in kt::Core::update (this=0xf0cc50) at ../../ktorrent/core.cpp:1042 #22 0x0000000000433232 in kt::Core::qt_metacall (this=0xf0cc50, _c=QMetaObject::InvokeMetaMethod, _id=873121360, _a=0x7fff9b879d90) at ./core.moc:167 #23 0x00007f5159203346 in QMetaObject::activate (sender=0xf0cc78, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f5134000000) at kernel/qobject.cpp:3295 #24 0x00007f51591ffba3 in QObject::event (this=0xf0cc78, e=0x7fff9b87a4c0) at kernel/qobject.cpp:1212 #25 0x00007f515859032c in QApplicationPrivate::notify_helper (this=0xe01e40, receiver=0xf0cc78, e=0x7fff9b87a4c0) at kernel/qapplication.cpp:4302 #26 0x00007f515859680b in QApplication::notify (this=0x7fff9b87a7f0, receiver=0xf0cc78, e=0x7fff9b87a4c0) at kernel/qapplication.cpp:4185 #27 0x000000000043991a in kt::App::notify (this=0xffffffffffb7d4e8, receiver=0x7f51340ac650, event=0x7f5134000020) at ../../ktorrent/app.cpp:97 #28 0x00007f51591f015c in QCoreApplication::notifyInternal (this=0x7fff9b87a7f0, receiver=0xf0cc78, event=0x7fff9b87a4c0) at kernel/qcoreapplication.cpp:726 #29 0x00007f515921ced2 in QCoreApplication::sendEvent (this=0xe05690) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #30 QTimerInfoList::activateTimers (this=0xe05690) at kernel/qeventdispatcher_unix.cpp:603 #31 0x00007f5159219a48 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184 #32 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231 #33 0x00007f5153dc90d2 in g_main_dispatch (context=0xe04550) at /tmp/buildd/glib2.0-2.25.10/glib/gmain.c:2044 #34 g_main_context_dispatch (context=0xe04550) at /tmp/buildd/glib2.0-2.25.10/glib/gmain.c:2597 #35 0x00007f5153dcd028 in g_main_context_iterate (context=0xe04550, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /tmp/buildd/glib2.0-2.25.10/glib/gmain.c:2675 #36 0x00007f5153dcd1dc in g_main_context_iteration (context=0xe04550, may_block=1) at /tmp/buildd/glib2.0-2.25.10/glib/gmain.c:2738 #37 0x00007f5159219713 in QEventDispatcherGlib::processEvents (this=0xdd41d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #38 0x00007f515864014e in QGuiEventDispatcherGlib::processEvents (this=0xffffffffffb7d4e8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #39 0x00007f51591eea82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #40 0x00007f51591eee5c in QEventLoop::exec (this=0x7fff9b87a760, flags=) at kernel/qeventloop.cpp:201 #41 0x00007f51591f3aeb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003 #42 0x0000000000428edb in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:176 This bug may be a duplicate of or related to bug 228395. Possible duplicates by query: bug 228331. Reported using DrKonqi
Upgrade to 4.0.2 (and libktorrent 1.0.2), it should be fixed in that release