Application: ktorrent (4.0.2) KDE Platform Version: 4.4.5 (KDE 4.4.5) Qt Version: 4.6.3 Operating System: Linux 2.6.32-5-amd64 x86_64 Distribution (Platform): Debian testing -- Information about the crash: Ktorrent closed unexpectedly after working for some time. After restart queue entries shufled. Order of started entries is same, but absolute order is wrong. Not on queue: Downloads: 224; Started: 20; Active: 2. Sometimes error message not generated, sometimes error message generated with abort signal 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 0x7fc717acf760 (LWP 3224))] Thread 6 (Thread 0x7fc70890e710 (LWP 3226)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fc71502b563 in QMutexPrivate::wait (this=0x26ed2d0, timeout=-1) at thread/qmutex_unix.cpp:84 #2 0x00007fc715026e05 in QMutex::lock (this=0x26eca20) at thread/qmutex.cpp:205 #3 0x00007fc715130c92 in QMutexLocker::relock (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:120 #4 QMutexLocker (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:102 #5 ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:896 #6 0x00007fc717673bbf in ~Connection (this=0x7fc6ed5f89e0, __in_chrg=<value optimized out>) at ../../src/utp/connection.cpp:91 #7 0x00007fc71766e526 in utp::UTPServer::clearDeadConnections (this=0x26ecfd0) at ../../src/utp/utpserver.cpp:404 #8 0x00007fc7175c2864 in utp::UTPServer::qt_metacall (this=0x26ecfd0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fc70890d440) at moc_utpserver.cpp:150 #9 0x00007fc71512e2e6 in QMetaObject::activate (sender=0x7fc70890de30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3295 #10 0x00007fc71512ab43 in QObject::event (this=0x7fc70890de30, e=0x7fc70890db70) at kernel/qobject.cpp:1212 #11 0x00007fc7144bb32c in QApplicationPrivate::notify_helper (this=0x26d5aa0, receiver=0x7fc70890de30, e=0x7fc70890db70) at kernel/qapplication.cpp:4302 #12 0x00007fc7144c180b in QApplication::notify (this=0x7fff8b8e0140, receiver=0x7fc70890de30, e=0x7fc70890db70) at kernel/qapplication.cpp:4185 #13 0x0000000000439a0a in kt::App::notify (this=0x26ed31c, receiver=0x80, event=0x1) at ../../ktorrent/app.cpp:97 #14 0x00007fc71511b09c in QCoreApplication::notifyInternal (this=0x7fff8b8e0140, receiver=0x7fc70890de30, event=0x7fc70890db70) at kernel/qcoreapplication.cpp:726 #15 0x00007fc715147e72 in QCoreApplication::sendEvent (this=0x7fc7040011f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #16 QTimerInfoList::activateTimers (this=0x7fc7040011f0) at kernel/qeventdispatcher_unix.cpp:603 #17 0x00007fc7151449e8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184 #18 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231 #19 0x00007fc70fab56f2 in g_main_dispatch (context=0x26ec200) at /scratch/build-area/glib2.0-2.24.2/glib/gmain.c:1960 #20 IA__g_main_context_dispatch (context=0x26ec200) at /scratch/build-area/glib2.0-2.24.2/glib/gmain.c:2513 #21 0x00007fc70fab9568 in g_main_context_iterate (context=0x26ec200, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /scratch/build-area/glib2.0-2.24.2/glib/gmain.c:2591 #22 0x00007fc70fab971c in IA__g_main_context_iteration (context=0x26ec200, may_block=1) at /scratch/build-area/glib2.0-2.24.2/glib/gmain.c:2654 #23 0x00007fc715144706 in QEventDispatcherGlib::processEvents (this=0x27fd920, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #24 0x00007fc7151199c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #25 0x00007fc715119d9c in QEventLoop::exec (this=0x7fc70890dde0, flags=) at kernel/qeventloop.cpp:201 #26 0x00007fc71502977b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #27 0x00007fc71767238e in utp::UTPServerThread::run (this=0x27fd9e0) at ../../src/utp/utpserverthread.cpp:44 #28 0x00007fc71502be15 in QThreadPrivate::start (arg=0x27fd9e0) at thread/qthread_unix.cpp:248 #29 0x00007fc7109db8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #30 0x00007fc71388502d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #31 0x0000000000000000 in ?? () Thread 5 (Thread 0x7fc703fff710 (LWP 3227)): #0 0x00007fc71387e8d3 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007fc71763ab22 in dht::RPCServerThread::run (this=0x26f0ae0) at ../../src/dht/rpcserver.cpp:107 #2 0x00007fc71502be15 in QThreadPrivate::start (arg=0x26f0ae0) at thread/qthread_unix.cpp:248 #3 0x00007fc7109db8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #4 0x00007fc71388502d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 4 (Thread 0x7fc6f4fed710 (LWP 3237)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fc71502b563 in QMutexPrivate::wait (this=0x26aa1e0, timeout=-1) at thread/qmutex_unix.cpp:84 #2 0x00007fc715026de5 in QMutex::lock (this=0x6d69c8) at thread/qmutex.cpp:167 #3 0x00007fc7175db80d in net::DownloadThread::waitForSocketReady (this=0x26aa260) at ../../src/net/downloadthread.cpp:110 #4 0x00007fc7175dba46 in net::DownloadThread::update (this=0x26aa22c) at ../../src/net/downloadthread.cpp:48 #5 0x00007fc7175dc529 in net::NetworkThread::run (this=0x26aa260) at ../../src/net/networkthread.cpp:48 #6 0x00007fc71502be15 in QThreadPrivate::start (arg=0x26aa260) at thread/qthread_unix.cpp:248 #7 0x00007fc7109db8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #8 0x00007fc71388502d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #9 0x0000000000000000 in ?? () Thread 3 (Thread 0x7fc6f47ec710 (LWP 3238)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fc71502b563 in QMutexPrivate::wait (this=0x26ed1b0, timeout=-1) at thread/qmutex_unix.cpp:84 #2 0x00007fc715026de5 in QMutex::lock (this=0x26ed088) at thread/qmutex.cpp:167 #3 0x00007fc71766f07c in QMutexLocker::relock (this=0x26ecfd0, p=0x26aa8c0, mode=net::Poll::OUTPUT, conn=0xffffffffffffffff) at /usr/include/qt4/QtCore/qmutex.h:120 #4 QMutexLocker (this=0x26ecfd0, p=0x26aa8c0, mode=net::Poll::OUTPUT, conn=0xffffffffffffffff) at /usr/include/qt4/QtCore/qmutex.h:102 #5 utp::UTPServer::preparePolling (this=0x26ecfd0, p=0x26aa8c0, mode=net::Poll::OUTPUT, conn=0xffffffffffffffff) at ../../src/utp/utpserver.cpp:519 #6 0x00007fc717676829 in utp::UTPSocket::prepare (this=0x7fc6ed08b360, p=0x26aa8c0, mode=net::Poll::OUTPUT) at ../../src/utp/utpsocket.cpp:199 #7 0x00007fc7175daff4 in net::UploadThread::waitForSocketsReady (this=0x26aa8b0) at ../../src/net/uploadthread.cpp:124 #8 0x00007fc7175db0f6 in net::UploadThread::update (this=0x26ed1fc) at ../../src/net/uploadthread.cpp:45 #9 0x00007fc7175dc529 in net::NetworkThread::run (this=0x26aa8b0) at ../../src/net/networkthread.cpp:48 #10 0x00007fc71502be15 in QThreadPrivate::start (arg=0x26aa8b0) at thread/qthread_unix.cpp:248 #11 0x00007fc7109db8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #12 0x00007fc71388502d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #13 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fc6f3feb710 (LWP 3239)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fc71502ce6b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7fc70458ec00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x7fc70458ec00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159 #3 0x00007fc7175df252 in net::ReverseResolverThread::run (this=0x7fc70458ebf0) at ../../src/net/reverseresolver.cpp:123 #4 0x00007fc71502be15 in QThreadPrivate::start (arg=0x7fc70458ebf0) at thread/qthread_unix.cpp:248 #5 0x00007fc7109db8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #6 0x00007fc71388502d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fc717acf760 (LWP 3224)): [KCrash Handler] #5 0x00007fc71512bb58 in queued_activate (sender=0x7fc704559688, signal=4, c=0x7fc704169150, argv=0x7fff8b8df6e0, semaphore=0x0) at kernel/qobject.cpp:3157 #6 0x00007fc71512e1ca in QMetaObject::activate (sender=0x7fc704559688, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff8b8df6e0) at kernel/qobject.cpp:3266 #7 0x00007fc71512ab43 in QObject::event (this=0x7fc704559688, e=0x7fff8b8dfe10) at kernel/qobject.cpp:1212 #8 0x00007fc7144bb32c in QApplicationPrivate::notify_helper (this=0x26d5aa0, receiver=0x7fc704559688, e=0x7fff8b8dfe10) at kernel/qapplication.cpp:4302 #9 0x00007fc7144c180b in QApplication::notify (this=0x7fff8b8e0140, receiver=0x7fc704559688, e=0x7fff8b8dfe10) at kernel/qapplication.cpp:4185 #10 0x0000000000439a0a in kt::App::notify (this=0x4, receiver=0x4, event=0x4000400000011) at ../../ktorrent/app.cpp:97 #11 0x00007fc71511b09c in QCoreApplication::notifyInternal (this=0x7fff8b8e0140, receiver=0x7fc704559688, event=0x7fff8b8dfe10) at kernel/qcoreapplication.cpp:726 #12 0x00007fc715147e72 in QCoreApplication::sendEvent (this=0x26d92f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #13 QTimerInfoList::activateTimers (this=0x26d92f0) at kernel/qeventdispatcher_unix.cpp:603 #14 0x00007fc7151449e8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184 #15 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231 #16 0x00007fc70fab56f2 in g_main_dispatch (context=0x26d81f0) at /scratch/build-area/glib2.0-2.24.2/glib/gmain.c:1960 #17 IA__g_main_context_dispatch (context=0x26d81f0) at /scratch/build-area/glib2.0-2.24.2/glib/gmain.c:2513 #18 0x00007fc70fab9568 in g_main_context_iterate (context=0x26d81f0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /scratch/build-area/glib2.0-2.24.2/glib/gmain.c:2591 #19 0x00007fc70fab971c in IA__g_main_context_iteration (context=0x26d81f0, may_block=1) at /scratch/build-area/glib2.0-2.24.2/glib/gmain.c:2654 #20 0x00007fc7151446b3 in QEventDispatcherGlib::processEvents (this=0x26a81d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #21 0x00007fc71456b19e in QGuiEventDispatcherGlib::processEvents (this=0x4, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #22 0x00007fc7151199c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #23 0x00007fc715119d9c in QEventLoop::exec (this=0x7fff8b8e00b0, flags=) at kernel/qeventloop.cpp:201 #24 0x00007fc71511ea2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003 #25 0x0000000000428f5b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:176 Reported using DrKonqi
*** This bug has been marked as a duplicate of bug 251117 ***