ktorrent crashes with SIGSEGV when deleting downloaded torrent + data

Bug #117418 reported by Anders
6
Affects Status Importance Assigned to Milestone
ktorrent (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ktorrent

I deleted a completed file (data + torrent) and I got an unexpected SIGSEGV:

(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 -1235015984 (LWP 26364)]
[New Thread -1243866224 (LWP 26398)]
(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)
[KCrash handler]
#6 0xb71e1e1d in QString::setLength () from /usr/lib/libqt-mt.so.3
#7 0xb71e1f42 in QString::grow () from /usr/lib/libqt-mt.so.3
#8 0xb71e2d55 in QString::operator+= () from /usr/lib/libqt-mt.so.3
#9 0xb7e56a48 in bt::MultiFileCache::deleteDataFiles ()
   from /usr/lib/libktorrent-2.1.so
#10 0xb7e219c4 in bt::ChunkManager::deleteDataFiles ()
   from /usr/lib/libktorrent-2.1.so
#11 0xb7e36b43 in bt::TorrentControl::deleteDataFiles ()
   from /usr/lib/libktorrent-2.1.so
#12 0x080791b5 in ?? ()
#13 0x0807b590 in ?? ()
#14 0xb6ec788b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#15 0x0806c840 in ?? ()
#16 0x0807041d in ?? ()
#17 0x080711bf in ?? ()
#18 0xb6ec788b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#19 0xb7253ae0 in QSignal::signal () from /usr/lib/libqt-mt.so.3
#20 0xb6ee781e in QSignal::activate () from /usr/lib/libqt-mt.so.3
#21 0xb6fedf1b in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#22 0xb781934e in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#23 0xb6efe65d in QWidget::event () from /usr/lib/libqt-mt.so.3
#24 0xb6e5ea60 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#25 0xb6e60c1e in QApplication::notify () from /usr/lib/libqt-mt.so.3
#26 0xb7622ce2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#27 0xb6df125d in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#28 0xb6defb9f in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#29 0xb6dedfac in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#30 0xb6e05180 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#31 0xb6e79136 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#32 0xb6e78f46 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#33 0xb6e60609 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#34 0x080653d6 in ?? ()
#35 0xb6678ebc in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#36 0x08064ec1 in ?? ()

Revision history for this message
JacobSteelsmith (jacobsteelsmith) wrote :
Download full text (5.8 KiB)

I'm getting a similar behavior. Ktorrent is repeatedly crashing when removing one or multiple completed torrents (I am not removing the data) from the upload section. On removal of multiple, some get removed while others linger after the application is restarted. On single removals, the torrents are not I am running the latest stable kubuntu (with ktorrent 2.2.0).

The following plugins are enabled:
-Bandwidth Scheduler (not used)
-IP Filter (using http://www.bluetack.co.uk/config/psplist.zip)
-Import
-Info Widget
-Log Viewer
-Scan Folder
-Search
-Statistics
-UPnP
-Web Interface (not used)
-Zeroconf

This has happened on existing and new torrents, but every time.

Here is the backtrace:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1234372912 (LWP 21060)]
[New Thread -1630618736 (LWP 22528)]
[New Thread -1622226032 (LWP 22527)]
[New Thread -1600181360 (LWP 22526)]
[New Thread -1591788656 (LWP 22525)]
0xffffe410 in __kernel_vsyscall ()
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb699218b in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb74f2bee in _kde_IceTransSocketRead (ciptr=0x8112f70,
    buf=0x8113548 "\002\003", size=8)
    at /build/buildd/kdelibs-3.5.6/./dcop/KDE-ICE/Xtranssock.c:1710
#3 0xb74f289f in _kde_IceTransRead (ciptr=0x8112f70,
    buf=0x8113548 "\002\003", size=8)
    at /build/buildd/kdelibs-3.5.6/./dcop/KDE-ICE/Xtrans.c:845
#4 0xb74ec71f in _kde_IceRead (iceConn=0x8113480, nbytes=8,
    ptr=0x8113548 "\002\003")
    at /build/buildd/kdelibs-3.5.6/./dcop/KDE-ICE/misc.c:249
#5 0xb74f0f0f in KDE_IceProcessMessages (iceConn=0x8113480,
    replyWait=0xbfce43f8, replyReadyRet=0xbfce4448)
    at /build/buildd/kdelibs-3.5.6/./dcop/KDE-ICE/process.c:153
#6 0xb74dc669 in DCOPClient::callInternal (this=0x8112140,
    remApp=@0xbfce4714, remObjId=@0xbfce4714, remFun=@0xbfce4754,
    data=@0xbfce472c, replyStruct=0xbfce44a4, useEventLoop=false, timeout=-1,
    minor_opcode=2) at /build/buildd/kdelibs-3.5.6/./dcop/dcopclient.cpp:1931
#7 0xb74dc94d in DCOPClient::callInternal (this=0x8112140,
    remApp=@0xbfce4714, remObjId=@0xbfce4714, remFun=@0xbfce4754,
    data=@0xbfce472c, replyType=@0xbfce471c, replyData=@0xbfce4724,
    useEventLoop=false, timeout=-1, minor_opcode=2)
    at /build/buildd/kdelibs-3.5.6/./dcop/dcopclient.cpp:1821
#8 0xb74e1397 in DCOPClient::call (this=0x8112140, remApp=@0xbfce4714,
    remObjId=@0xbfce4714, remFun=@0xbfce4754, data=@0xbfce472c,
    replyType=@0xbfce471c, replyData=@0xbfce4724, useEventLoop=false,
    timeout=-1) at /build/buildd/kdelibs-3.5.6/./dcop/dcopclient.cpp:1765
#9 0xb74e13f7 in DCOPClient::call (this=0x8112140, remApp=@0xbfce4714,
    remObjId=@0xbfce4714, remFun=@0xbfce4754, data=@0xbfce472c,
    replyType=@0xbfce471c, replyData=@0xbfce4724, useEventLoop=false)
    at /build/buildd/kdelibs-3.5.6/./dcop/dcopclient.cpp:1730
#10 0xb7b9a7e8 in KIO::Slave::createSlave (protocol=@0x84f3a38,
    url=@0x8bb15f8, error=@0xbfce4814, error_text=@0xbfce4810)
    at /build/buildd/kdelibs-3.5.6/./kio/kio/slave.cpp:435
#11 0xb7bcbcf3 in KIO::Scheduler::createSl...

Read more...

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

This is fixed in 2.2.1

Changed in ktorrent:
status: New → Fix Released
Revision history for this message
Adam (armware) wrote :

I can confirm this still exists. Deleted torrent and data, got a crash.
Running v2.2.1, Kubuntu Gutsy (KDE v3.5.8, QT v3.3.7)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.