Bug 286674

Summary: crash when adding a torrent
Product: [Applications] ktorrent Reporter: Jim Walsh <jimwalsh3>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: yth
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jim Walsh 2011-11-15 11:27:07 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-30-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
selecting a torrent to download. The program suddenly crashed.

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

Thread 5 (Thread 0xb7608b70 (LWP 1779)):
#0  0x00152416 in __kernel_vsyscall ()
#1  0x072d5df6 in poll () from /lib/libc.so.6
#2  0x03852a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0384543c in ?? () from /lib/libglib-2.0.so.0
#4  0x03845ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x016b99c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x0386c48f in ?? () from /lib/libglib-2.0.so.0
#7  0x00115cc9 in start_thread () from /lib/libpthread.so.0
#8  0x072e469e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa82f9b70 (LWP 1902)):
#0  0x00152416 in __kernel_vsyscall ()
#1  0x0011a4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x07714ef2 in QMutexPrivate::wait (this=0x99a0910, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0x077105ca in QMutex::lock (this=0x8116894) at thread/qmutex.cpp:167
#4  0x0095b890 in net::SocketMonitor::lock (this=0x8116890) at ../../src/net/socketmonitor.cpp:82
#5  0x0095d5c5 in net::DownloadThread::update (this=0x99a0978) at ../../src/net/downloadthread.cpp:51
#6  0x0095e178 in net::NetworkThread::run (this=0x99a0978) at ../../src/net/networkthread.cpp:48
#7  0x07715df9 in QThreadPrivate::start (arg=0x99a0978) at thread/qthread_unix.cpp:266
#8  0x00115cc9 in start_thread () from /lib/libpthread.so.0
#9  0x072e469e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa7af8b70 (LWP 1903)):
#0  0x0095c9a4 in net::UploadThread::waitForSocketsReady (this=0x99a0d80) at ../../src/net/uploadthread.cpp:122
#1  0x0095caff in net::UploadThread::update (this=0x99a0d80) at ../../src/net/uploadthread.cpp:45
#2  0x0095e178 in net::NetworkThread::run (this=0x99a0d80) at ../../src/net/networkthread.cpp:48
#3  0x07715df9 in QThreadPrivate::start (arg=0x99a0d80) at thread/qthread_unix.cpp:266
#4  0x00115cc9 in start_thread () from /lib/libpthread.so.0
#5  0x072e469e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa72f7b70 (LWP 1904)):
#0  0x00152416 in __kernel_vsyscall ()
#1  0x072d5df6 in poll () from /lib/libc.so.6
#2  0x01342759 in ?? () from /lib/libresolv.so.2
#3  0x013408d3 in __libc_res_nquery () from /lib/libresolv.so.2
#4  0x01a14f73 in _nss_dns_gethostbyaddr2_r () from /lib/libnss_dns.so.2
#5  0x01a150ca in _nss_dns_gethostbyaddr_r () from /lib/libnss_dns.so.2
#6  0x072fb9cf in gethostbyaddr_r () from /lib/libc.so.6
#7  0x07300f2b in getnameinfo () from /lib/libc.so.6
#8  0x0096155b in net::ReverseResolver::resolve (this=0xb4d12f20, addr=...) at ../../src/net/reverseresolver.cpp:64
#9  0x009615f3 in net::ReverseResolver::run (this=0xb4d12f20) at ../../src/net/reverseresolver.cpp:73
#10 0x00961815 in net::ReverseResolverThread::run (this=0x9d14c48) at ../../src/net/reverseresolver.cpp:118
#11 0x07715df9 in QThreadPrivate::start (arg=0x9d14c48) at thread/qthread_unix.cpp:266
#12 0x00115cc9 in start_thread () from /lib/libpthread.so.0
#13 0x072e469e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7873710 (LWP 1765)):
[KCrash Handler]
#7  0x010365fa in KJob::isAutoDelete (this=0xabdce68) at ../../kdecore/jobs/kjob.cpp:353
#8  0x00ca5060 in KIO::SimpleJob::slotFinished (this=0xabdce68) at ../../kio/kio/job.cpp:525
#9  0x00ca59bc in KIO::TransferJob::slotFinished (this=0xabdce68) at ../../kio/kio/job.cpp:1114
#10 0x00ca3263 in KIO::TransferJob::qt_metacall (this=0xabdce68, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbfe0114c) at ./jobclasses.moc:367
#11 0x0781d8ca in QMetaObject::metacall (object=0xabdce68, cl=127187384, idx=47, argv=0xbfe0114c) at kernel/qmetaobject.cpp:237
#12 0x078306ad in QMetaObject::activate (sender=0x9e3a200, m=0xe56944, local_signal_index=4, argv=0x10) at kernel/qobject.cpp:3280
#13 0x00d5eac7 in KIO::SlaveInterface::finished (this=0x9e3a200) at ./slaveinterface.moc:171
#14 0x00d62268 in KIO::SlaveInterface::dispatch (this=0x9e3a200, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#15 0x00d5ef83 in KIO::SlaveInterface::dispatch (this=0x9e3a200) at ../../kio/kio/slaveinterface.cpp:91
#16 0x00d518f8 in KIO::Slave::gotInput (this=0x9e3a200) at ../../kio/kio/slave.cpp:347
#17 0x00d51b03 in KIO::Slave::qt_metacall (this=0x9e3a200, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfe0147c) at ./slave.moc:82
#18 0x0781d8ca in QMetaObject::metacall (object=0x9e3a200, cl=127187384, idx=30, argv=0xbfe0147c) at kernel/qmetaobject.cpp:237
#19 0x078306ad in QMetaObject::activate (sender=0x9c22880, m=0xe53500, local_signal_index=0, argv=0x10) at kernel/qobject.cpp:3280
#20 0x00c6af97 in KIO::Connection::readyRead (this=0x9c22880) at ./connection.moc:92
#21 0x00c6d2fe in KIO::ConnectionPrivate::dequeue (this=0x9b34138) at ../../kio/kio/connection.cpp:82
#22 0x00c6d42e in KIO::Connection::qt_metacall (this=0x9c22880, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xa5442f0) at ./connection.moc:79
#23 0x0781d8ca in QMetaObject::metacall (object=0x9c22880, cl=127187384, idx=5, argv=0xa5442f0) at kernel/qmetaobject.cpp:237
#24 0x07828df6 in QMetaCallEvent::placeMetaCall (this=0x9b43140, object=0x9c22880) at kernel/qobject.cpp:534
#25 0x0782a6a2 in QObject::event (this=0x9c22880, e=0x99bf990) at kernel/qobject.cpp:1219
#26 0x02263fdc in QApplicationPrivate::notify_helper (this=0x99c4360, receiver=0x9c22880, e=0x9b43140) at kernel/qapplication.cpp:4396
#27 0x0226a04e in QApplication::notify (this=0xbfe01d90, receiver=0x9c22880, e=0x9b43140) at kernel/qapplication.cpp:3798
#28 0x080783dc in kt::App::notify (this=0x794b9b8, receiver=0x99bf990, event=0x10) at ../../ktorrent/app.cpp:97
#29 0x07817b3b in QCoreApplication::notifyInternal (this=0xbfe01d90, receiver=0x9c22880, event=0x9b43140) at kernel/qcoreapplication.cpp:732
#30 0x0781ad8b in sendEvent (receiver=0x0, event_type=0, data=0x999fbe8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x999fbe8) at kernel/qcoreapplication.cpp:1373
#32 0x0781af4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#33 0x07846a74 in sendPostedEvents (s=0x99c6510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0x99c6510) at kernel/qeventdispatcher_glib.cpp:277
#35 0x03841855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x03845668 in ?? () from /lib/libglib-2.0.so.0
#37 0x03845848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x07846565 in QEventDispatcherGlib::processEvents (this=0x999f6d8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#39 0x02325be5 in QGuiEventDispatcherGlib::processEvents (this=0x999f6d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x07816609 in QEventLoop::processEvents (this=0xbfe01d04, flags=) at kernel/qeventloop.cpp:149
#41 0x07816a8a in QEventLoop::exec (this=0xbfe01d04, flags=...) at kernel/qeventloop.cpp:201
#42 0x0781b00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#43 0x02262e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#44 0x08066e91 in main (argc=3, argv=0xbfe02194) at ../../ktorrent/main.cpp:176

This bug may be a duplicate of or related to bug 221996.

Possible duplicates by query: bug 222026, bug 221996.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-11-16 16:56:07 UTC

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