Bug 217891

Summary: ktorrent crash while adding torrents
Product: [Applications] ktorrent Reporter: Ritesh Raj Sarraf <kde-bugs>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ritesh Raj Sarraf 2009-12-08 17:59:00 UTC
Application that crashed: ktorrent
Version of the application: 3.3.1
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-rc8-686 i686
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
Was directly asking konqueror to open ktorrent from the torrent link in the webpage from the context menu. And ktorrent crashed in one of the later clicks.

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

Thread 5 (Thread 0xb373fb70 (LWP 17688)):
#0  0xb7853424 in __kernel_vsyscall ()
#1  0xb5dd75b1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb77a03a5 in ?? () from /usr/lib/libbtcore.so.12
#3  0xb699d5e2 in QThreadPrivate::start (arg=0x8caf9a8) at thread/qthread_unix.cpp:188
#4  0xb55d8585 in start_thread (arg=0xb373fb70) at pthread_create.c:300
#5  0xb5dde2be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xae075b70 (LWP 17712)):
#0  __libc_enable_asynccancel () at libc-cancellation.c:68
#1  0xb5dd0b2d in *__GI___poll (fds=0x950c6e8, nfds=59, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:85
#2  0xb773e2d0 in ?? () from /usr/lib/libbtcore.so.12
#3  0xb773e37f in ?? () from /usr/lib/libbtcore.so.12
#4  0xb773ee68 in ?? () from /usr/lib/libbtcore.so.12
#5  0xb699d5e2 in QThreadPrivate::start (arg=0x8c7f7f0) at thread/qthread_unix.cpp:188
#6  0xb55d8585 in start_thread (arg=0xae075b70) at pthread_create.c:300
#7  0xb5dde2be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xac872b70 (LWP 17713)):
#0  0xb7853424 in __kernel_vsyscall ()
#1  0xb55dc0a5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb5deb82d in __pthread_cond_wait (cond=0x8c7fe30, mutex=0x8c7fe18) at forward.c:139
#3  0xb699e5c2 in QWaitConditionPrivate::wait (this=0x8c7fb88, mutex=0x8c7fb8c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x8c7fb88, mutex=0x8c7fb8c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb773db36 in ?? () from /usr/lib/libbtcore.so.12
#6  0xb773ee68 in ?? () from /usr/lib/libbtcore.so.12
#7  0xb699d5e2 in QThreadPrivate::start (arg=0x8c7fb50) at thread/qthread_unix.cpp:188
#8  0xb55d8585 in start_thread (arg=0xac872b70) at pthread_create.c:300
#9  0xb5dde2be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xac071b70 (LWP 17714)):
#0  0xb7853424 in __kernel_vsyscall ()
#1  0xb5dd0b47 in *__GI___poll (fds=0xac06ff9c, nfds=1, timeout=5000) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xae6db89e in ?? () from /usr/lib/libresolv.so
#3  0xae6d995f in __libc_res_nquery () from /usr/lib/libresolv.so
#4  0xb1561fb9 in *__GI__nss_dns_gethostbyaddr2_r (addr=0x9807e64, len=4, af=2, result=0xac071074, buffer=0xac070a80 "\377\002", buflen=1024, errnop=0xac071b28, h_errnop=0xac0710b8, ttlp=0x0)
    at nss_dns/dns-host.c:465
#5  0xb15621aa in _nss_dns_gethostbyaddr_r (addr=0x9807e64, len=4, af=2, result=0xac071074, buffer=0xac070a80 "\377\002", buflen=1024, errnop=0xac071b28, h_errnop=0xac0710b8)
    at nss_dns/dns-host.c:524
#6  0xb5df50d4 in __gethostbyaddr_r (addr=0x9807e64, len=4, type=2, resbuf=0xac071074, buffer=0xac070a80 "\377\002", buflen=1024, result=0xac0710b4, h_errnop=0xac0710b8) at ../nss/getXXbyYY_r.c:253
#7  0xb5dfa329 in *__GI_getnameinfo (sa=0x9807e60, addrlen=16, host=0xac0711c4 "", hostlen=199, serv=0xac0710fc "", servlen=199, flags=<value optimized out>) at getnameinfo.c:223
#8  0xb7741c96 in ?? () from /usr/lib/libbtcore.so.12
#9  0xb7741d13 in ?? () from /usr/lib/libbtcore.so.12
#10 0xb7741e4b in ?? () from /usr/lib/libbtcore.so.12
#11 0xb699d5e2 in QThreadPrivate::start (arg=0x9227cf0) at thread/qthread_unix.cpp:188
#12 0xb55d8585 in start_thread (arg=0xac071b70) at pthread_create.c:300
#13 0xb5dde2be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb514e700 (LWP 17686)):
[KCrash Handler]
#6  KIO::Slave::deref (this=0x941be88) at ../../kio/kio/slave.cpp:242
#7  0xb74fecac in KIO::Slave::gotInput (this=0x941be88) at ../../kio/kio/slave.cpp:335
#8  0xb7501183 in KIO::Slave::qt_metacall (this=0x941be88, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbff5ad68) at ./slave.moc:76
#9  0xb6aa3303 in QMetaObject::activate (sender=0x9647800, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#10 0xb6aa3f42 in QMetaObject::activate (sender=0x9647800, m=0xb75eb4e0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#11 0xb740ad57 in KIO::Connection::readyRead (this=0x9647800) at ./connection.moc:86
#12 0xb740c663 in KIO::ConnectionPrivate::dequeue (this=0x9500c98) at ../../kio/kio/connection.cpp:82
#13 0xb740ca46 in KIO::Connection::qt_metacall (this=0x9647800, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x950d380) at ./connection.moc:73
#14 0xb6a9cb0b in QMetaCallEvent::placeMetaCall (this=0x94bcb80, object=0x9647800) at kernel/qobject.cpp:477
#15 0xb6a9e5e0 in QObject::event (this=0x9647800, e=0x94bcb80) at kernel/qobject.cpp:1110
#16 0xb60cda94 in QApplicationPrivate::notify_helper (this=0x8ca5138, receiver=0x9647800, e=0x94bcb80) at kernel/qapplication.cpp:4065
#17 0xb60d5bee in QApplication::notify (this=0xbff5c74c, receiver=0x9647800, e=0x94bcb80) at kernel/qapplication.cpp:3605
#18 0xb71c40fd in KApplication::notify (this=0xbff5c74c, receiver=0x9647800, event=0x94bcb80) at ../../kdeui/kernel/kapplication.cpp:302
#19 0xb6a8e1eb in QCoreApplication::notifyInternal (this=0xbff5c74c, receiver=0x9647800, event=0x94bcb80) at kernel/qcoreapplication.cpp:610
#20 0xb6a8ee2e in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8c7d8e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8c7d8e0) at kernel/qcoreapplication.cpp:1247
#22 0xb6a8f00d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#23 0xb616e3fe in QCoreApplication::sendPostedEvents (this=0x8c7d630, flags=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#24 QEventDispatcherX11::processEvents (this=0x8c7d630, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#25 0xb6a8c83a in QEventLoop::processEvents (this=0xbff5b54c, flags=...) at kernel/qeventloop.cpp:149
#26 0xb6a8cc82 in QEventLoop::exec (this=0xbff5b54c, flags=...) at kernel/qeventloop.cpp:201
#27 0xb65b0873 in QDialog::exec (this=0xbff5b5e0) at dialogs/qdialog.cpp:498
#28 0x0806af69 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-10 17:02:16 UTC
Probably related to bug 191589, it should be fixed on KDE SC 4.4 beta1+
Thanks

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