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

2.1.2: Crash on start in bt::ChunkDownload::isChoked ()

Tags: None
(comma "," separated)
imported4-blujay
Registered Member
Posts
60
Karma
0
2.1 was fine. 2.1.2 worked. After logging in and out, it crashes on startup, and I can't use it at all.

Code: Select all
(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 -1210554688 (LWP 13895)]
[KCrash handler]
#9  0xb7e8725a in bt::ChunkDownload::isChoked ()
   from /usr/lib/libktorrent-2.1.2.so
#10 0xb7e7aaea in bt::Downloader::normalUpdate ()
   from /usr/lib/libktorrent-2.1.2.so
#11 0xb7e7ac29 in bt::Downloader::update () from /usr/lib/libktorrent-2.1.2.so
#12 0xb7e864d9 in bt::TorrentControl::update ()
   from /usr/lib/libktorrent-2.1.2.so
#13 0x080789b1 in QListViewItem::removeItem ()
#14 0x0807b490 in QListViewItem::removeItem ()
#15 0x4224d2ef in QObject::activate_signal (this=0x82c628c, clist=0x82c66c8,
    o=0xbfd7327c) at kernel/qobject.cpp:2356
#16 0x4224dd80 in QObject::activate_signal (this=0x82c628c, signal=2)
    at kernel/qobject.cpp:2325
#17 0x425d83fe in QTimer::timeout (this=0x82c628c)
    at .moc/debug-shared-mt/moc_qtimer.cpp:82
#18 0x42274ba3 in QTimer::event (this=0x82c628c, e=0xbfd735c8)
    at kernel/qtimer.cpp:219
#19 0x421e51c6 in QApplication::internalNotify (this=0xbfd73870,
    receiver=0x82c628c, e=0xbfd735c8) at kernel/qapplication.cpp:2635
#20 0x421e6fe3 in QApplication::notify (this=0xbfd73870, receiver=0x82c628c,
    e=0xbfd735c8) at kernel/qapplication.cpp:2358
#21 0x428e6f8e in KApplication::notify (this=0xbfd73870, receiver=0x82c628c,
    event=0xbfd735c8)
    at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdecore/kapplication.cpp:550
#22 0x421789c1 in QApplication::sendEvent (receiver=0x82c628c,
    event=0xbfd735c8) at ../include/qapplication.h:520
#23 0x421d7bc3 in QEventLoop::activateTimers (this=0x80e9f00)
    at kernel/qeventloop_unix.cpp:556
#24 0x4218cd0f in QEventLoop::processEvents (this=0x80e9f00, flags=4)
    at kernel/qeventloop_x11.cpp:389
#25 0x421ff719 in QEventLoop::enterLoop (this=0x80e9f00)
    at kernel/qeventloop.cpp:198
#26 0x421ff53a in QEventLoop::exec (this=0x80e9f00)
    at kernel/qeventloop.cpp:145
#27 0x421e6d5f in QApplication::exec (this=0xbfd73870)
    at kernel/qapplication.cpp:2758
#28 0x08063abd in ?? ()
#29 0x4e9d4ea8 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#30 0x08063551 in ?? ()
imported4-blujay
Registered Member
Posts
60
Karma
0

Sun Mar 11, 2007 6:05 am
Trying to start it again gives this backtrace:

Code: Select all
(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 -1210685760 (LWP 14274)]
[KCrash handler]
#9  0xb7e6a888 in bt::PeerDownloader::release ()
   from /usr/lib/libktorrent-2.1.2.so
#10 0xb7e68364 in bt::ChunkDownload::releaseAllPDs ()
   from /usr/lib/libktorrent-2.1.2.so
#11 0xb7e5aafa in bt::Downloader::normalUpdate ()
   from /usr/lib/libktorrent-2.1.2.so
#12 0xb7e5ac29 in bt::Downloader::update () from /usr/lib/libktorrent-2.1.2.so
#13 0xb7e664d9 in bt::TorrentControl::update ()
   from /usr/lib/libktorrent-2.1.2.so
#14 0x080789b1 in QListViewItem::removeItem ()
#15 0x0807b490 in QListViewItem::removeItem ()
#16 0x4224d2ef in QObject::activate_signal (this=0x82c6644, clist=0x82c6a70,
    o=0xbff491bc) at kernel/qobject.cpp:2356
#17 0x4224dd80 in QObject::activate_signal (this=0x82c6644, signal=2)
    at kernel/qobject.cpp:2325
#18 0x425d83fe in QTimer::timeout (this=0x82c6644)
    at .moc/debug-shared-mt/moc_qtimer.cpp:82
#19 0x42274ba3 in QTimer::event (this=0x82c6644, e=0xbff49508)
    at kernel/qtimer.cpp:219
#20 0x421e51c6 in QApplication::internalNotify (this=0xbff497b0,
    receiver=0x82c6644, e=0xbff49508) at kernel/qapplication.cpp:2635
#21 0x421e6fe3 in QApplication::notify (this=0xbff497b0, receiver=0x82c6644,
    e=0xbff49508) at kernel/qapplication.cpp:2358
#22 0x428e6f8e in KApplication::notify (this=0xbff497b0, receiver=0x82c6644,
    event=0xbff49508)
    at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdecore/kapplication.cpp:550
#23 0x421789c1 in QApplication::sendEvent (receiver=0x82c6644,
    event=0xbff49508) at ../include/qapplication.h:520
#24 0x421d7bc3 in QEventLoop::activateTimers (this=0x80e6950)
    at kernel/qeventloop_unix.cpp:556
#25 0x4218cd0f in QEventLoop::processEvents (this=0x80e6950, flags=4)
    at kernel/qeventloop_x11.cpp:389
#26 0x421ff719 in QEventLoop::enterLoop (this=0x80e6950)
    at kernel/qeventloop.cpp:198
#27 0x421ff53a in QEventLoop::exec (this=0x80e6950)
    at kernel/qeventloop.cpp:145
#28 0x421e6d5f in QApplication::exec (this=0xbff497b0)
    at kernel/qapplication.cpp:2758
#29 0x08063abd in ?? ()
#30 0x4e9d4ea8 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#31 0x08063551 in ?? ()
imported4-blujay
Registered Member
Posts
60
Karma
0

Sun Mar 11, 2007 6:07 am
And the next time it's back to this:

Code: Select all
(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 -1210329408 (LWP 15758)]
[KCrash handler]
#9  0xb7ebe25a in bt::ChunkDownload::isChoked ()
   from /usr/lib/libktorrent-2.1.2.so
#10 0xb7eb1aea in bt::Downloader::normalUpdate ()
   from /usr/lib/libktorrent-2.1.2.so
#11 0xb7eb1c29 in bt::Downloader::update () from /usr/lib/libktorrent-2.1.2.so
#12 0xb7ebd4d9 in bt::TorrentControl::update ()
   from /usr/lib/libktorrent-2.1.2.so
#13 0x080789b1 in QListViewItem::removeItem ()
#14 0x0807b490 in QListViewItem::removeItem ()
#15 0x4224d2ef in QObject::activate_signal (this=0x82c608c, clist=0x82c64b8,
    o=0xbfeb12cc) at kernel/qobject.cpp:2356
#16 0x4224dd80 in QObject::activate_signal (this=0x82c608c, signal=2)
    at kernel/qobject.cpp:2325
#17 0x425d83fe in QTimer::timeout (this=0x82c608c)
    at .moc/debug-shared-mt/moc_qtimer.cpp:82
#18 0x42274ba3 in QTimer::event (this=0x82c608c, e=0xbfeb1618)
    at kernel/qtimer.cpp:219
#19 0x421e51c6 in QApplication::internalNotify (this=0xbfeb18c0,
    receiver=0x82c608c, e=0xbfeb1618) at kernel/qapplication.cpp:2635
#20 0x421e6fe3 in QApplication::notify (this=0xbfeb18c0, receiver=0x82c608c,
    e=0xbfeb1618) at kernel/qapplication.cpp:2358
#21 0x428e6f8e in KApplication::notify (this=0xbfeb18c0, receiver=0x82c608c,
    event=0xbfeb1618)
    at /tmp/buildd/kdelibs-3.5.5a.dfsg.1/./kdecore/kapplication.cpp:550
#22 0x421789c1 in QApplication::sendEvent (receiver=0x82c608c,
    event=0xbfeb1618) at ../include/qapplication.h:520
#23 0x421d7bc3 in QEventLoop::activateTimers (this=0x80e6950)
    at kernel/qeventloop_unix.cpp:556
#24 0x4218cd0f in QEventLoop::processEvents (this=0x80e6950, flags=4)
    at kernel/qeventloop_x11.cpp:389
#25 0x421ff719 in QEventLoop::enterLoop (this=0x80e6950)
    at kernel/qeventloop.cpp:198
#26 0x421ff53a in QEventLoop::exec (this=0x80e6950)
    at kernel/qeventloop.cpp:145
#27 0x421e6d5f in QApplication::exec (this=0xbfeb18c0)
    at kernel/qapplication.cpp:2758
#28 0x08063abd in ?? ()
#29 0x4e9d4ea8 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#30 0x08063551 in ?? ()
George
Moderator
Posts
5421
Karma
1

Sun Mar 11, 2007 4:36 pm
A current_chunks file of one of your torrents is probably corrupt.

We handle this badly at the moment, but I'm just about to fix this.

As a workaround you can delete the current_chunks files in each torX directory (normally you can find those in ~/.kde/share/apps/ktorrent). X is a number.

EDIT: it's fixed
imported4-blujay
Registered Member
Posts
60
Karma
0

Mon Mar 12, 2007 8:02 am
Thank you. :) When you say it's fixed, I assume you mean in SVN, right? Which means the Qt4 version, right? So...just have to wait a while for the fix? :)

By the way, I'm curious: I deleted all of the current_chunks files, and KT's fine now. But I expected it to have to check all the chunks of all the active torrents--at least the downloads. But it didn't, it just seemed to start from where it left off. So what exactly are the current_chunks files for?
imported4-Ivan
Registered Member
Posts
819
Karma
0

Mon Mar 12, 2007 9:12 am
SVN trunk is still KDE3 and QT3 so you may as well try to compile it. Or wait for the next KT.

KDE4 development is in a separate branch.
imported4-blujay
Registered Member
Posts
60
Karma
0

Mon Mar 12, 2007 12:32 pm
I see; thanks!


Bookmarks



Who is online

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