Bug 243512

Summary: KTorrent crashes while running in the background
Product: [Unmaintained] kio Reporter: Daniel Hahler <kde-bugzilla>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adawit
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel Hahler 2010-07-03 17:33:10 UTC
Application: ktorrent (4.0.1)
KDE Platform Version: 4.4.90 (KDE 4.4.90 (KDE 4.5 RC1))
Qt Version: 4.7.0
Operating System: Linux 2.6.35-6-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Started KTorrent. Some seconds later it crashed, while having crashed before already (after system startup).

When this happens, there appear to be a lot of duplicated "Notification and Jobs" entries, either being stuck or in a weird state:
Those are related to KTorrent updating the IP filter list (configured to be done so daily).

The crash can be reproduced some of the time.

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

Thread 5 (Thread 0xb57f9b70 (LWP 10177)):
#0  0x007a9422 in __kernel_vsyscall ()
#1  0x0931a971 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x00c59395 in ?? () from /usr/lib/libktorrent.so.1
#3  0x01dc4dc9 in QThreadPrivate::start (arg=0x942a630) at thread/qthread_unix.cpp:266
#4  0x006c696e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x09321a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xafc08b70 (LWP 10882)):
#0  0x007a9422 in __kernel_vsyscall ()
#1  0x092dd6d6 in gettimeofday () from /lib/tls/i686/cmov/libc.so.6
#2  0x00bd5a86 in bt::Now() () from /usr/lib/libktorrent.so.1
#3  0x00bed97a in ?? () from /usr/lib/libktorrent.so.1
#4  0x00bee528 in ?? () from /usr/lib/libktorrent.so.1
#5  0x01dc4dc9 in QThreadPrivate::start (arg=0x93f5928) at thread/qthread_unix.cpp:266
#6  0x006c696e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x09321a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xaf407b70 (LWP 10883)):
#0  0x007a9422 in __kernel_vsyscall ()
#1  0x006cb342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01dc430e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:416
#3  0x01dc4463 in QThread::msleep (msecs=250) at thread/qthread_unix.cpp:442
#4  0x00bed102 in ?? () from /usr/lib/libktorrent.so.1
#5  0x00bee528 in ?? () from /usr/lib/libktorrent.so.1
#6  0x01dc4dc9 in QThreadPrivate::start (arg=0x93f5d48) at thread/qthread_unix.cpp:266
#7  0x006c696e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x09321a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xaec06b70 (LWP 10884)):
#0  0x007a9422 in __kernel_vsyscall ()
#1  0x09311e2b in read () from /lib/tls/i686/cmov/libc.so.6
#2  0x092bb42b in _IO_file_underflow () from /lib/tls/i686/cmov/libc.so.6
#3  0x092bcccb in _IO_default_uflow () from /lib/tls/i686/cmov/libc.so.6
#4  0x092be0f8 in __uflow () from /lib/tls/i686/cmov/libc.so.6
#5  0x092b128c in _IO_getline_info () from /lib/tls/i686/cmov/libc.so.6
#6  0x092b11d1 in _IO_getline () from /lib/tls/i686/cmov/libc.so.6
#7  0x092b021a in fgets () from /lib/tls/i686/cmov/libc.so.6
#8  0x046b1cd4 in ?? () from /lib/libnss_mdns4.so.2
#9  0x046b2177 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#10 0x0933836b in gethostbyaddr_r () from /lib/tls/i686/cmov/libc.so.6
#11 0x0933d5db in getnameinfo () from /lib/tls/i686/cmov/libc.so.6
#12 0x00bf190b in ?? () from /usr/lib/libktorrent.so.1
#13 0x00bf19a3 in ?? () from /usr/lib/libktorrent.so.1
#14 0x00bf1bc5 in ?? () from /usr/lib/libktorrent.so.1
#15 0x01dc4dc9 in QThreadPrivate::start (arg=0xbe01258) at thread/qthread_unix.cpp:266
#16 0x006c696e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0x09321a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb785b710 (LWP 10175)):
[KCrash Handler]
#7  QAbstractSocketEngine::state (this=0xfef46c0) at socket/qabstractsocketengine.cpp:185
#8  0x0024532c in QAbstractSocket::waitForBytesWritten (this=0x104d41d0, msecs=-1) at socket/qabstractsocket.cpp:1893
#9  0x004d02c3 in KIO::SocketConnectionBackend::sendCommand (this=0x11601f80, task=...) at ../../kio/kio/connection.cpp:294
#10 0x004d0095 in KIO::Connection::sendnow (this=0x114a4a68, _cmd=85, data=...) at ../../kio/kio/connection.cpp:505
#11 0x004d190e in KIO::ConnectionPrivate::dequeue (this=0xfd13e28) at ../../kio/kio/connection.cpp:78
#12 0x005b5a74 in KIO::Slave::accept (this=0x111419e8) at ../../kio/kio/slave.cpp:119
#13 0x005b65d3 in KIO::Slave::qt_metacall (this=0x111419e8, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbf80384c) at ./slave.moc:81
#14 0x01ecb42a in QMetaObject::metacall (object=0x111419e8, cl=3212850718, idx=29, argv=0xbf80384c) at kernel/qmetaobject.cpp:237
#15 0x01ede1a5 in QMetaObject::activate (sender=0x10db7950, m=0x6b65d0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#16 0x004cf5a7 in KIO::ConnectionServer::newConnection (this=0x10db7950) at ./connection.moc:157
#17 0x004cf731 in KIO::ConnectionServer::qt_metacall (this=0x10db7950, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf80396c) at ./connection.moc:146
#18 0x01ecb42a in QMetaObject::metacall (object=0x10db7950, cl=3212850718, idx=4, argv=0xbf80396c) at kernel/qmetaobject.cpp:237
#19 0x01ede1a5 in QMetaObject::activate (sender=0x1154fcc0, m=0x6b65a0, local_signal_index=2, argv=0x0) at kernel/qobject.cpp:3280
#20 0x004cf627 in KIO::AbstractConnectionBackend::newConnection (this=0x1154fcc0) at ./connection_p.moc:102
#21 0x004cf7cb in KIO::AbstractConnectionBackend::qt_metacall (this=0x1154fcc0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf803abc) at ./connection_p.moc:78
#22 0x004d11ec in KIO::SocketConnectionBackend::qt_metacall (this=0x1154fcc0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf803abc) at ./connection_p.moc:153
#23 0x01ecb42a in QMetaObject::metacall (object=0x1154fcc0, cl=3212850718, idx=6, argv=0xbf803abc) at kernel/qmetaobject.cpp:237
#24 0x01ede1a5 in QMetaObject::activate (sender=0xe5d35a8, m=0x1162074, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#25 0x0107fb07 in KLocalSocketServer::newConnection (this=0xe5d35a8) at ./klocalsocket.moc:151
#26 0x01080560 in KLocalSocketServer::incomingConnection (this=0xe5d35a8, descriptor=1221) at ../../kdecore/network/klocalsocket.cpp:212
#27 0x0110f281 in KLocalSocketServerPrivate::processSocketActivity (this=0x11af69d8) at ../../kdecore/network/klocalsocket_unix.cpp:394
#28 0x0107fb8b in KLocalSocketServer::qt_metacall (this=0xe5d35a8, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf803cb8) at ./klocalsocket.moc:140
#29 0x01ecb42a in QMetaObject::metacall (object=0xe5d35a8, cl=3212850718, idx=5, argv=0xbf803cb8) at kernel/qmetaobject.cpp:237
#30 0x01ede1a5 in QMetaObject::activate (sender=0x11487558, m=0x1ff7550, local_signal_index=0, argv=0xbf803cb8) at kernel/qobject.cpp:3280
#31 0x01f2f763 in QSocketNotifier::activated (this=0x11487558, _t1=1220) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#32 0x01ee2ec7 in QSocketNotifier::event (this=0x11487558, e=0xbf804114) at kernel/qsocketnotifier.cpp:317
#33 0x0734a32c in QApplicationPrivate::notify_helper (this=0x941dce0, receiver=0x11487558, e=0xbf804114) at kernel/qapplication.cpp:4358
#34 0x073516fe in QApplication::notify (this=0xbf804440, receiver=0x11487558, e=0xbf804114) at kernel/qapplication.cpp:3762
#35 0x0807a2ac in _start ()

Reported using DrKonqi
Comment 1 Dawit Alemayehu 2013-07-07 11:09:31 UTC

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