This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KTorrent crashes randomly when stopping torrents

Tags: None
(comma "," separated)
jdong
Registered Member
Posts
358
Karma
0
I'm running the latest KTorrent SVN's with ZeroConf and IPFilter turned on, and I've found that some time around RC1, stopping torrents causes KTorrent to crash.

It's happened about 5 times now, like 50-50 frequency. But the most recent times it's happened I was on a system without GDB, so I couldn't generate a meaningful backtrace. I will post one if I get one.

Basically, start 2 or 3 torrents, let KTorrent run for 5 minutes, then stop all the torrents one-by-one. Then, start them up again, and repeat. Soon, clicking on Stop will cause KTorrent to crash.


Sorry for the nondescript bug report; but I'll post some traces once it happens again.
jdong
Registered Member
Posts
358
Karma
0

Tue Jan 16, 2007 2:35 am
whee! it happened after just one try:

Code: Select all
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1210177872 (LWP 5650)]
[New Thread -1239532640 (LWP 5685)]
[New Thread -1231139936 (LWP 5683)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x422143fb in __read_nocancel () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x41190f5e in _kde_IceTransGetConnectionNumber ()
   from /usr/lib/libDCOP.so.4
#3  0x41190c0f in _kde_IceTransRead () from /usr/lib/libDCOP.so.4
#4  0x4118aa8f in _kde_IceRead () from /usr/lib/libDCOP.so.4
#5  0x4118f27f in KDE_IceProcessMessages () from /usr/lib/libDCOP.so.4
#6  0x4117a9d9 in DCOPClient::callInternal () from /usr/lib/libDCOP.so.4
#7  0x4117acbd in DCOPClient::callInternal () from /usr/lib/libDCOP.so.4
#8  0x4117f707 in DCOPClient::call () from /usr/lib/libDCOP.so.4
#9  0x4117f767 in DCOPClient::call () from /usr/lib/libDCOP.so.4
#10 0x4354dd98 in KIO::Slave::createSlave () from /usr/lib/libkio.so.4
#11 0x43594e83 in KIO::Scheduler::createSlave () from /usr/lib/libkio.so.4
#12 0x435a0b5e in KIO::Scheduler::startJobScheduled ()
   from /usr/lib/libkio.so.4
#13 0x435a0c3f in KIO::Scheduler::startStep () from /usr/lib/libkio.so.4
#14 0x435a0d6c in KIO::Scheduler::qt_invoke () from /usr/lib/libkio.so.4
#15 0x42c00f17 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#16 0x42c019bc in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#17 0x42f8f5ca in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#18 0x42c28c22 in QTimer::event () from /usr/lib/libqt-mt.so.3
#19 0x42b98148 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#20 0x42b99f77 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#21 0x41a1cf52 in KApplication::notify () from /usr/lib/libkdecore.so.4
#22 0x42b2a949 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#23 0x42b8ab93 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#24 0x42b3f485 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#25 0x42bb281e in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#26 0x42b99c6f in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#27 0x43539565 in KIO::NetAccess::enter_loop () from /usr/lib/libkio.so.4
#28 0x43573f93 in KIO::NetAccess::synchronousRunInternal ()
   from /usr/lib/libkio.so.4
#29 0x4357d270 in KIO::NetAccess::synchronousRun () from /usr/lib/libkio.so.4
#30 0xb7e63ab5 in bt::SynchronousWait () from /usr/lib/libktorrent.so.0
#31 0xb7e77488 in bt::QueueManager::clear () from /usr/lib/libktorrent.so.0
#32 0x08069b50 in ?? ()
#33 0x0809928d in ?? ()
#34 0x43209c10 in KMainWindow::shuttingDown () from /usr/lib/libkdeui.so.4
#35 0x4336a191 in KMainWindow::qt_invoke () from /usr/lib/libkdeui.so.4
#36 0x4336a1f7 in KDockMainWindow::qt_invoke () from /usr/lib/libkdeui.so.4
#37 0x410380f6 in KParts::DockMainWindow::qt_invoke ()
   from /usr/lib/libkparts.so.2
#38 0x414e5893 in KMdiMainFrm::qt_invoke () from /usr/lib/libkmdi.so.1
#39 0x0809ed10 in ?? ()
#40 0x42c00f17 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#41 0x42c019bc in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#42 0x41936a8c in KApplication::shutDown () from /usr/lib/libkdecore.so.4
#43 0x41936b5e in KApplication::xioErrhandler () from /usr/lib/libkdecore.so.4
#44 0x41936bb9 in KApplication::xioErrhandler () from /usr/lib/libkdecore.so.4
#45 0x4227af4d in _XIOError () from /usr/lib/libX11.so.6
#46 0x4227c817 in _XSend () from /usr/lib/libX11.so.6
#47 0x4227d7b0 in _XEventsQueued () from /usr/lib/libX11.so.6
#48 0x42269262 in XPending () from /usr/lib/libX11.so.6
#49 0x42b3e906 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#50 0x42bb281e in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#51 0x42bb262e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#52 0x42b99cf1 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#53 0x080707b6 in ?? ()
#54 0x420ba8cc in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#55 0x08063a21 in ?? ()


Do I need to recompile KTorrent in debugging mode to get meaningful output?
George
Moderator
Posts
5421
Karma
1

Tue Jan 16, 2007 6:24 pm
It seems to happen when you are shutting down, looking at the trace.

I'll see if I can reproduce it.
George
Moderator
Posts
5421
Karma
1

Tue Jan 16, 2007 6:49 pm
I just fixed a crash with the zeroconf plugin crashing, so this could be related, though I'm not sure. Could you try with the very latest code ?
jdong
Registered Member
Posts
358
Karma
0

Tue Jan 16, 2007 10:52 pm
Ok, the crashing appears to have stopped. You know I won't keep my mouth shut if it crashes again :D


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]