Bug 255080

Summary: ktorrent crashes while download and seeding
Product: [Applications] ktorrent Reporter: Lance <lmarler>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: lmarler65
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lance 2010-10-24 03:29:05 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic-pae i686
Distribution: Ubuntu 10.10

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

I was downloading and seeding multiple torrents. ktorrent was working in the background. I left clicked the ktorrent icon, i left clicked the icon to display ktorrent, then ktorrent crashed. I Can't get ktorrent to run anymore. i have tried re-installing ktorrent, restarting my computer and nothing works.

The crash can be reproduced every time.

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

Thread 10 (Thread 0xb43d0b70 (LWP 3979)):
#0  0xb66d73ff in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb4f3affd in g_main_context_query () from /lib/libglib-2.0.so.0
#2  0xb4f402c4 in ?? () from /lib/libglib-2.0.so.0
#3  0xb4f40ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#4  0xb44e56b4 in ?? () from /usr/lib/libgio-2.0.so.0
#5  0xb4f6748f in ?? () from /lib/libglib-2.0.so.0
#6  0xb66d4cc9 in start_thread () from /lib/libpthread.so.0
#7  0xb5a4a6ae in clone () from /lib/libc.so.6

Thread 9 (Thread 0xb0e56b70 (LWP 3981)):
#0  0xb7714424 in __kernel_vsyscall ()
#1  0xb5a43381 in select () from /lib/libc.so.6
#2  0xb76508db in dht::RPCServerThread::run (this=0x8e44740) at ../../src/dht/rpcserver.cpp:107
#3  0xb674adf9 in QThreadPrivate::start (arg=0x8e44740) at thread/qthread_unix.cpp:266
#4  0xb66d4cc9 in start_thread () from /lib/libpthread.so.0
#5  0xb5a4a6ae in clone () from /lib/libc.so.6

Thread 8 (Thread 0xadfacb70 (LWP 3987)):
#0  0xb7714424 in __kernel_vsyscall ()
#1  0xb66d9884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb674b94f in wait (this=0x98e09ac, mutex=0x98e09a8, time=30000) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x98e09ac, mutex=0x98e09a8, time=30000) at thread/qwaitcondition_unix.cpp:160
#4  0xb673f5b3 in QThreadPoolThread::run (this=0x98ec728) at concurrent/qthreadpool.cpp:140
#5  0xb674adf9 in QThreadPrivate::start (arg=0x98ec728) at thread/qthread_unix.cpp:266
#6  0xb66d4cc9 in start_thread () from /lib/libpthread.so.0
#7  0xb5a4a6ae in clone () from /lib/libc.so.6

Thread 7 (Thread 0xa6e29b70 (LWP 3988)):
#0  0xb7714424 in __kernel_vsyscall ()
#1  0xb66d9884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb674b94f in wait (this=0x98e09ac, mutex=0x98e09a8, time=30000) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x98e09ac, mutex=0x98e09a8, time=30000) at thread/qwaitcondition_unix.cpp:160
#4  0xb673f5b3 in QThreadPoolThread::run (this=0xace14690) at concurrent/qthreadpool.cpp:140
#5  0xb674adf9 in QThreadPrivate::start (arg=0xace14690) at thread/qthread_unix.cpp:266
#6  0xb66d4cc9 in start_thread () from /lib/libpthread.so.0
#7  0xb5a4a6ae in clone () from /lib/libc.so.6

Thread 6 (Thread 0xa6628b70 (LWP 3989)):
#0  0xb7714424 in __kernel_vsyscall ()
#1  0xb66d9884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb674b94f in wait (this=0x98e09ac, mutex=0x98e09a8, time=30000) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x98e09ac, mutex=0x98e09a8, time=30000) at thread/qwaitcondition_unix.cpp:160
#4  0xb673f5b3 in QThreadPoolThread::run (this=0xace14c38) at concurrent/qthreadpool.cpp:140
#5  0xb674adf9 in QThreadPrivate::start (arg=0xace14c38) at thread/qthread_unix.cpp:266
#6  0xb66d4cc9 in start_thread () from /lib/libpthread.so.0
#7  0xb5a4a6ae in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa5e27b70 (LWP 3990)):
#0  0xb7714424 in __kernel_vsyscall ()
#1  0xb66d9884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb674b94f in wait (this=0x98e09ac, mutex=0x98e09a8, time=30000) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x98e09ac, mutex=0x98e09a8, time=30000) at thread/qwaitcondition_unix.cpp:160
#4  0xb673f5b3 in QThreadPoolThread::run (this=0xace15970) at concurrent/qthreadpool.cpp:140
#5  0xb674adf9 in QThreadPrivate::start (arg=0xace15970) at thread/qthread_unix.cpp:266
#6  0xb66d4cc9 in start_thread () from /lib/libpthread.so.0
#7  0xb5a4a6ae in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa5626b70 (LWP 3991)):
#0  0xb7714424 in __kernel_vsyscall ()
#1  0xb66d9884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb674b94f in wait (this=0x98e09ac, mutex=0x98e09a8, time=30000) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x98e09ac, mutex=0x98e09a8, time=30000) at thread/qwaitcondition_unix.cpp:160
#4  0xb673f5b3 in QThreadPoolThread::run (this=0x98f14a0) at concurrent/qthreadpool.cpp:140
#5  0xb674adf9 in QThreadPrivate::start (arg=0x98f14a0) at thread/qthread_unix.cpp:266
#6  0xb66d4cc9 in start_thread () from /lib/libpthread.so.0
#7  0xb5a4a6ae in clone () from /lib/libc.so.6

Thread 3 (Thread 0xae7adb70 (LWP 3994)):
#0  0xb75cb378 in bt::Now () at ../../src/util/functions.cpp:172
#1  0xb75e35ca in net::DownloadThread::update (this=0x8e1e968) at ../../src/net/downloadthread.cpp:53
#2  0xb75e4178 in net::NetworkThread::run (this=0x8e1e968) at ../../src/net/networkthread.cpp:48
#3  0xb674adf9 in QThreadPrivate::start (arg=0x8e1e968) at thread/qthread_unix.cpp:266
#4  0xb66d4cc9 in start_thread () from /lib/libpthread.so.0
#5  0xb5a4a6ae in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaefaeb70 (LWP 3995)):
#0  0xb7714424 in __kernel_vsyscall ()
#1  0xb66d94dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6749ef2 in QMutexPrivate::wait (this=0x8e1e900, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0xb67455ca in QMutex::lock (this=0x8116894) at thread/qmutex.cpp:167
#4  0xb75e1890 in net::SocketMonitor::lock (this=0x8116890) at ../../src/net/socketmonitor.cpp:82
#5  0xb75e2b15 in net::UploadThread::update (this=0x8e1ed70) at ../../src/net/uploadthread.cpp:49
#6  0xb75e4178 in net::NetworkThread::run (this=0x8e1ed70) at ../../src/net/networkthread.cpp:48
#7  0xb674adf9 in QThreadPrivate::start (arg=0x8e1ed70) at thread/qthread_unix.cpp:266
#8  0xb66d4cc9 in start_thread () from /lib/libpthread.so.0
#9  0xb5a4a6ae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb47e9710 (LWP 3978)):
[KCrash Handler]
#7  bt::WebSeed::handleData (this=0x914cf60, tmp=...) at //usr/include/bits/string3.h:52
#8  0xb7607be3 in bt::WebSeed::readData (this=0x914cf60) at ../../src/download/webseed.cpp:379
#9  0xb7609cb0 in bt::WebSeed::update (this=0x914cf60) at ../../src/download/webseed.cpp:315
#10 0xb761204f in bt::Downloader::update (this=0x91448e0) at ../../src/download/downloader.cpp:200
#11 0xb7630d7f in bt::TorrentControl::update (this=0x90a22e0) at ../../src/torrent/torrentcontrol.cpp:174
#12 0x080690f3 in kt::Core::update (this=0x8f8af78) at ../../ktorrent/core.cpp:1030
#13 0x080716cd in kt::Core::qt_metacall (this=0x8f8af78, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfd75aac) at ./core.moc:167
#14 0xb68528ca in QMetaObject::metacall (object=0x8f8af78, cl=3048035264, idx=22, argv=0xbfd75aac) at kernel/qmetaobject.cpp:237
#15 0xb68656ad in QMetaObject::activate (sender=0x8f8af8c, m=0xb697f5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#16 0xb68b71e7 in QTimer::timeout (this=0x8f8af8c) at .moc/release-shared/moc_qtimer.cpp:134
#17 0xb686b1ce in QTimer::timerEvent (this=0x8f8af8c, e=0xbfd75fb0) at kernel/qtimer.cpp:271
#18 0xb685f504 in QObject::event (this=0x8f8af8c, e=0x0) at kernel/qobject.cpp:1183
#19 0xb5d30fdc in QApplicationPrivate::notify_helper (this=0x8e423d0, receiver=0x8f8af8c, e=0xbfd75fb0) at kernel/qapplication.cpp:4396
#20 0xb5d3704e in QApplication::notify (this=0xbfd76300, receiver=0x8f8af8c, e=0xbfd75fb0) at kernel/qapplication.cpp:3798
#21 0x080783dc in kt::App::notify (this=0xb5ad53c0, receiver=0x0, event=0x0) at ../../ktorrent/app.cpp:97
#22 0xb684cb3b in QCoreApplication::notifyInternal (this=0xbfd76300, receiver=0x8f8af8c, event=0xbfd75fb0) at kernel/qcoreapplication.cpp:732
#23 0xb687ead6 in sendEvent (this=0x8e47c74) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QTimerInfoList::activateTimers (this=0x8e47c74) at kernel/qeventdispatcher_unix.cpp:602
#25 0xb687b8a7 in timerSourceDispatch (source=0x8e47ca8) at kernel/qeventdispatcher_glib.cpp:184
#26 idleTimerSourceDispatch (source=0x8e47ca8) at kernel/qeventdispatcher_glib.cpp:231
#27 0xb4f3c855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0xb4f40668 in ?? () from /lib/libglib-2.0.so.0
#29 0xb4f40848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0xb687b565 in QEventDispatcherGlib::processEvents (this=0x8e1d6c8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#31 0xb5df2be5 in QGuiEventDispatcherGlib::processEvents (this=0x8e1d6c8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0xb684b609 in QEventLoop::processEvents (this=0xbfd76274, flags=) at kernel/qeventloop.cpp:149
#33 0xb684ba8a in QEventLoop::exec (this=0xbfd76274, flags=...) at kernel/qeventloop.cpp:201
#34 0xb685000f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#35 0xb5d2fe07 in QApplication::exec () at kernel/qapplication.cpp:3672
#36 0x08066e91 in main (argc=5, argv=0xbfd76704) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 232971.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-10-24 16:42:10 UTC
Do you happen to know which torrent this is ?
Comment 2 Lance 2010-10-24 20:18:43 UTC
The torrent was of a tv show called "to the manor born" i can't remember what tracker it came from as i have already deleted it. i think there was a problem with one of the episodes. The player would freeze when it played this particular episode. i was trying to find another source of the episode in question.
Comment 3 Joris Guisson 2010-10-26 18:08:05 UTC
So you don't have a torrent.

I will see if I can reproduce it.
Comment 4 Lance 2010-10-26 20:11:11 UTC
sorry. i deleted it
Comment 5 Joris Guisson 2010-10-31 12:32:37 UTC

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