Bug 280477 - ktorrent-dev crash after sorting by downloaded percent
Summary: ktorrent-dev crash after sorting by downloaded percent
Status: RESOLVED DUPLICATE of bug 278555
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-20 16:34 UTC by George R. Goffe
Modified: 2011-08-20 16:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description George R. Goffe 2011-08-20 16:34:31 UTC
Application: ktorrent (4.2dev)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 2.6.35.13-92.fc14.i686 i686
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
I had just sorted by percent complete. Here's the last part of the ktorrent log. 

Warning: QDBusConnectionPrivate::connectSignal: received error from D-Bus server while connecting signal to OrgFreedesktopAvahiServiceResolverInterface::Failure(QString): org.freedesktop.DBus.Error.LimitsExceeded (Connection ":1.1878" is not allowed to add more match rules (increase limits in configuration file if required))
Warning: Application asked to unregister timer 0x0 which is not registered in this thread. Fix application.
Warning: Application asked to unregister timer 0x0 which is not registered in this thread. Fix application.
Warning: QSocketNotifier: Invalid socket 20 and type 'Read', disabling...
Warning: QSocketNotifier: Invalid socket 20 and type 'Write', disabling...
Warning: QSocketNotifier: Invalid socket 489 and type 'Read', disabling...
Warning: QSocketNotifier: Invalid socket 490 and type 'Read', disabling...
KCrash: Application 'ktorrent' crashing...
KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0xb776a780 (LWP 11128))]

Thread 9 (Thread 0xb4cffb70 (LWP 11132)):
#0  0x003c9416 in __kernel_vsyscall ()
#1  0x006cdc36 in __poll (fds=0xb4301a48, nfds=1, timeout=12) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00fd4dac in g_poll (fds=0xb4301a48, nfds=1, timeout=12) at gpoll.c:132
#3  0x00fc48b7 in g_main_context_poll (context=0xb43004e8, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3093
#4  g_main_context_iterate (context=0xb43004e8, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2775
#5  0x00fc4c35 in g_main_context_iteration (context=0xb43004e8, may_block=1) at gmain.c:2843
#6  0x074b7ce7 in QEventDispatcherGlib::processEvents (this=0xb4300468, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7  0x074890fa in QEventLoop::processEvents (this=0xb4cff260, flags=...) at kernel/qeventloop.cpp:149
#8  0x074893aa in QEventLoop::exec (this=0xb4cff260, flags=...) at kernel/qeventloop.cpp:201
#9  0x0738fb73 in QThread::exec (this=0x99d4110) at thread/qthread.cpp:492
#10 0x00ccfd5d in utp::UTPServerThread::run (this=0x99d4110) at /tools/ktorrent/libktorrent/src/utp/utpserverthread.cpp:41
#11 0x073926c3 in QThreadPrivate::start (arg=0x99d4110) at thread/qthread_unix.cpp:320
#12 0x004bbe99 in start_thread (arg=0xb4cffb70) at pthread_create.c:301
#13 0x006d8d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 8 (Thread 0xb5679b70 (LWP 11133)):
#0  0x003c9416 in __kernel_vsyscall ()
#1  0x006cdc36 in __poll (fds=0xb4d01b48, nfds=1, timeout=500) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00c2a116 in net::Poll::poll (this=0xb56791fc, timeout=500) at /tools/ktorrent/libktorrent/src/net/poll.cpp:99
#3  0x00c95b6b in dht::RPCServer::Private::run (this=0x9954558) at /tools/ktorrent/libktorrent/src/dht/rpcserver.cpp:95
#4  0x073926c3 in QThreadPrivate::start (arg=0x9954558) at thread/qthread_unix.cpp:320
#5  0x004bbe99 in start_thread (arg=0xb5679b70) at pthread_create.c:301
#6  0x006d8d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 7 (Thread 0xa4f89b70 (LWP 11255)):
#0  0x003c9416 in __kernel_vsyscall ()
#1  0x006cdc36 in __poll (fds=0xa4603868, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00fd4dac in g_poll (fds=0xa4603868, nfds=1, timeout=-1) at gpoll.c:132
#3  0x00fc48b7 in g_main_context_poll (context=0xa46004e8, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3093
#4  g_main_context_iterate (context=0xa46004e8, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2775
#5  0x00fc4c35 in g_main_context_iteration (context=0xa46004e8, may_block=1) at gmain.c:2843
#6  0x074b7ce7 in QEventDispatcherGlib::processEvents (this=0xa4600468, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7  0x074890fa in QEventLoop::processEvents (this=0xa4f89260, flags=...) at kernel/qeventloop.cpp:149
#8  0x074893aa in QEventLoop::exec (this=0xa4f89260, flags=...) at kernel/qeventloop.cpp:201
#9  0x0738fb73 in QThread::exec (this=0x24095140) at thread/qthread.cpp:492
#10 0x00ba6b5a in kt::ScanThread::run (this=0x24095140) at /tools/ktorrent/ktorrent/plugins/scanfolder/scanthread.cpp:151
#11 0x073926c3 in QThreadPrivate::start (arg=0x24095140) at thread/qthread_unix.cpp:320
#12 0x004bbe99 in start_thread (arg=0xa4f89b70) at pthread_create.c:301
#13 0x006d8d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 6 (Thread 0xa43ffb70 (LWP 11259)):
#0  0x003c9416 in __kernel_vsyscall ()
#1  0x004c039b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x05eaa1d7 in scavengerThread (context=0x6456380) at wtf/FastMalloc.cpp:2378
#3  WTF::TCMalloc_PageHeap::runScavengerThread (context=0x6456380) at wtf/FastMalloc.cpp:1497
#4  0x004bbe99 in start_thread (arg=0xa43ffb70) at pthread_create.c:301
#5  0x006d8d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 5 (Thread 0xa33fdb70 (LWP 11269)):
#0  0x0738deaa in QMutex::unlock (this=0xa4604f10) at thread/qmutex.cpp:385
#1  0x00cd78cb in unlock (this=0xa4604f00, p=0x991a5c0, conn_id=13843, self=...) at /usr/include/QtCore/qmutex.h:114
#2  ~QMutexLocker (this=0xa4604f00, p=0x991a5c0, conn_id=13843, self=...) at /usr/include/QtCore/qmutex.h:108
#3  utp::PollPipe::prepare (this=0xa4604f00, p=0x991a5c0, conn_id=13843, self=...) at /tools/ktorrent/libktorrent/src/utp/pollpipe.cpp:40
#4  0x00ccdc79 in utp::UTPServer::preparePolling (this=0x995c1f0, p=0x991a5c0, mode=net::Poll::INPUT, conn=...) at /tools/ktorrent/libktorrent/src/utp/utpserver.cpp:464
#5  0x00cd5d5a in utp::UTPSocket::prepare (this=0x2b5bf860, p=0x991a5c0, mode=net::Poll::INPUT) at /tools/ktorrent/libktorrent/src/utp/utpsocket.cpp:212
#6  0x00c26648 in net::DownloadThread::waitForSocketReady (this=0x991a5b8) at /tools/ktorrent/libktorrent/src/net/downloadthread.cpp:123
#7  0x00c2677f in net::DownloadThread::update (this=0x991a5b8) at /tools/ktorrent/libktorrent/src/net/downloadthread.cpp:48
#8  0x00c26a18 in net::NetworkThread::run (this=0x991a5b8) at /tools/ktorrent/libktorrent/src/net/networkthread.cpp:48
#9  0x073926c3 in QThreadPrivate::start (arg=0x991a5b8) at thread/qthread_unix.cpp:320
#10 0x004bbe99 in start_thread (arg=0xa33fdb70) at pthread_create.c:301
#11 0x006d8d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 4 (Thread 0xa3bfeb70 (LWP 11270)):
#0  0x003c9416 in __kernel_vsyscall ()
#1  0x004c039b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x073916ba in QMutexPrivate::wait (this=0x991a4a8, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0x0738dcb2 in QMutex::lock (this=0x991a490) at thread/qmutex.cpp:167
#4  0x00c24d50 in net::SocketMonitor::lock (this=0x8115dbc) at /tools/ktorrent/libktorrent/src/net/socketmonitor.cpp:108
#5  0x00c25cc2 in net::UploadThread::waitForSocketsReady (this=0x991a918) at /tools/ktorrent/libktorrent/src/net/uploadthread.cpp:112
#6  0x00c25f5f in net::UploadThread::update (this=0x991a918) at /tools/ktorrent/libktorrent/src/net/uploadthread.cpp:45
#7  0x00c26a18 in net::NetworkThread::run (this=0x991a918) at /tools/ktorrent/libktorrent/src/net/networkthread.cpp:48
#8  0x073926c3 in QThreadPrivate::start (arg=0x991a918) at thread/qthread_unix.cpp:320
#9  0x004bbe99 in start_thread (arg=0xa3bfeb70) at pthread_create.c:301
#10 0x006d8d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0x94813b70 (LWP 16025)):
#0  0x003c9416 in __kernel_vsyscall ()
#1  0x004c0743 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:236
#2  0x07392d30 in wait (this=0x2425bf5c, mutex=0x2425bf58, time=30000) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x2425bf5c, mutex=0x2425bf58, time=30000) at thread/qwaitcondition_unix.cpp:160
#4  0x07386d39 in QThreadPoolThread::run (this=0x24329ff0) at concurrent/qthreadpool.cpp:140
#5  0x073926c3 in QThreadPrivate::start (arg=0x24329ff0) at thread/qthread_unix.cpp:320
#6  0x004bbe99 in start_thread (arg=0x94813b70) at pthread_create.c:301
#7  0x006d8d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0x92807b70 (LWP 17187)):
#0  0x003c9416 in __kernel_vsyscall ()
#1  0x004c0743 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:236
#2  0x07392d30 in wait (this=0x2425bf5c, mutex=0x2425bf58, time=30000) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x2425bf5c, mutex=0x2425bf58, time=30000) at thread/qwaitcondition_unix.cpp:160
#4  0x07386d39 in QThreadPoolThread::run (this=0x26434e30) at concurrent/qthreadpool.cpp:140
#5  0x073926c3 in QThreadPrivate::start (arg=0x26434e30) at thread/qthread_unix.cpp:320
#6  0x004bbe99 in start_thread (arg=0x92807b70) at pthread_create.c:301
#7  0x006d8d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb776a780 (LWP 11128)):
[KCrash Handler]
#7  QAbstractSocketEngine::state (this=0x0) at socket/qabstractsocketengine.cpp:186
#8  0x0766b5cb in QNativeSocketEngine::waitForReadOrWrite (this=0x296bd218, readyToRead=0xbf946a3f, readyToWrite=0xbf946a3e, checkRead=true, checkWrite=true, msecs=-1, timedOut=0x0) at socket/qnativesocketengine.cpp:988
#9  0x0767db77 in QAbstractSocket::waitForBytesWritten (this=0x277e2188, msecs=-1) at socket/qabstractsocket.cpp:1924
#10 0x02f8096b in KIO::SocketConnectionBackend::sendCommand (this=0x2578e6d8, task=...) at /usr/src/debug/kdelibs-4.6.5/kio/kio/connection.cpp:294
#11 0x02f81bfb in KIO::Connection::sendnow (this=0x296a7790, _cmd=85, data=...) at /usr/src/debug/kdelibs-4.6.5/kio/kio/connection.cpp:505
#12 0x02f82ece in KIO::ConnectionPrivate::dequeue (this=0x11a94780) at /usr/src/debug/kdelibs-4.6.5/kio/kio/connection.cpp:78
#13 0x0305c3d5 in KIO::Slave::accept (this=0x26039ba0) at /usr/src/debug/kdelibs-4.6.5/kio/kio/slave.cpp:120
#14 0x0305d4f3 in KIO::Slave::qt_metacall (this=0x26039ba0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf946c4c) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kio/slave.moc:81
#15 0x0749079b in QMetaObject::metacall (object=0x26039ba0, cl=QMetaObject::InvokeMetaMethod, idx=29, argv=0xbf946c4c) at kernel/qmetaobject.cpp:237
#16 0x0749fcc7 in QMetaObject::activate (sender=0xea06bd0, m=0x317eb90, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#17 0x02f82728 in KIO::ConnectionServer::newConnection (this=0xea06bd0) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kio/connection.moc:157
#18 0x02f82782 in KIO::ConnectionServer::qt_metacall (this=0xea06bd0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf946d5c) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kio/connection.moc:146
#19 0x0749079b in QMetaObject::metacall (object=0xea06bd0, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbf946d5c) at kernel/qmetaobject.cpp:237
#20 0x0749fcc7 in QMetaObject::activate (sender=0x28c7aad0, m=0x317eb60, local_signal_index=2, argv=0x0) at kernel/qobject.cpp:3278
#21 0x02f82578 in KIO::AbstractConnectionBackend::newConnection (this=0x28c7aad0) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kio/connection_p.moc:102
#22 0x02f825fb in KIO::AbstractConnectionBackend::qt_metacall (this=0x28c7aad0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf946e9c) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kio/connection_p.moc:78
#23 0x02f8265d in KIO::SocketConnectionBackend::qt_metacall (this=0x28c7aad0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf946e9c) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kio/connection_p.moc:153
#24 0x0749079b in QMetaObject::metacall (object=0x28c7aad0, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbf946e9c) at kernel/qmetaobject.cpp:237
#25 0x0749fcc7 in QMetaObject::activate (sender=0x25b46c98, m=0x7cbbe74, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#26 0x07b97948 in KLocalSocketServer::newConnection (this=0x25b46c98) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kdecore/klocalsocket.moc:151
#27 0x07b97b61 in KLocalSocketServer::incomingConnection (this=0x25b46c98, descriptor=1216) at /usr/src/debug/kdelibs-4.6.5/kdecore/network/klocalsocket.cpp:212
#28 0x07c13ba2 in KLocalSocketServerPrivate::processSocketActivity (this=0x2c324338) at /usr/src/debug/kdelibs-4.6.5/kdecore/network/klocalsocket_unix.cpp:394
#29 0x07b979cb in KLocalSocketServer::qt_metacall (this=0x25b46c98, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf947088) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kdecore/klocalsocket.moc:140
#30 0x0749079b in QMetaObject::metacall (object=0x25b46c98, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbf947088) at kernel/qmetaobject.cpp:237
#31 0x0749fcc7 in QMetaObject::activate (sender=0x2608de68, m=0x75c6a90, local_signal_index=0, argv=0xbf947088) at kernel/qobject.cpp:3278
#32 0x074ee2d4 in QSocketNotifier::activated (this=0x2608de68, _t1=1214) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#33 0x074a64cf in QSocketNotifier::event (this=0x2608de68, e=0xbf9474f4) at kernel/qsocketnotifier.cpp:317
#34 0x0214758c in QApplicationPrivate::notify_helper (this=0x9953408, receiver=0x2608de68, e=0xbf9474f4) at kernel/qapplication.cpp:4462
#35 0x0214c292 in QApplication::notify (this=0xbf947800, receiver=0x2608de68, e=0xbf9474f4) at kernel/qapplication.cpp:3862
#36 0x08079477 in kt::App::notify (this=0xbf947800, receiver=0x2608de68, event=0xbf9474f4) at /tools/ktorrent/ktorrent/ktorrent/app.cpp:99
#37 0x07489f63 in QCoreApplication::notifyInternal (this=0xbf947800, receiver=0x2608de68, event=0xbf9474f4) at kernel/qcoreapplication.cpp:731
#38 0x074b762f in sendEvent (source=0x9934070) at kernel/qcoreapplication.h:215
#39 socketNotifierSourceDispatch (source=0x9934070) at kernel/qeventdispatcher_glib.cpp:110
#40 0x00fc4192 in g_main_dispatch (context=0x9957980) at gmain.c:2149
#41 g_main_context_dispatch (context=0x9957980) at gmain.c:2702
#42 0x00fc4978 in g_main_context_iterate (context=0x9957980, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#43 0x00fc4c35 in g_main_context_iteration (context=0x9957980, may_block=1) at gmain.c:2843
#44 0x074b7cad in QEventDispatcherGlib::processEvents (this=0x99183c0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#45 0x021fb206 in QGuiEventDispatcherGlib::processEvents (this=0x99183c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#46 0x074890fa in QEventLoop::processEvents (this=0xbf947774, flags=...) at kernel/qeventloop.cpp:149
#47 0x074893aa in QEventLoop::exec (this=0xbf947774, flags=...) at kernel/qeventloop.cpp:201
#48 0x0748df57 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#49 0x02145398 in QApplication::exec () at kernel/qapplication.cpp:3736
#50 0x08069061 in main (argc=-42139647, argv=0xa1fe006e) at /tools/ktorrent/ktorrent/ktorrent/main.cpp:177

Possible duplicates by query: bug 280214, bug 278555, bug 275950, bug 275928, bug 275877.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-08-20 16:38:55 UTC

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