Bug 243650

Summary: KTorrent keeps crashing
Product: [Applications] ktorrent Reporter: tetragrammaton.null
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tetragrammaton.null 2010-07-05 14:31:31 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-23-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
KTorrent seems to freeze again and again or so for a few seconds, then it wakes up again until the next freeze up. If i leave the computer alone for a while KTorrent will have crashed again. 5 times today already.

The crash can be reproduced every time.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Bus error
[Current thread is 1 (Thread 0xb784b710 (LWP 22099))]

Thread 4 (Thread 0xb627cb70 (LWP 22105)):
#0  0x00be0422 in __kernel_vsyscall ()
#1  0x011366d6 in gettimeofday () from /lib/tls/i686/cmov/libc.so.6
#2  0x00d1bbd6 in bt::Now () at ../../libbtcore/util/functions.cpp:171
#3  0x00d30a7a in net::DownloadThread::update (this=0x81ad560) at ../../libbtcore/net/downloadthread.cpp:65
#4  0x00d316b8 in net::NetworkThread::run (this=0x81ad560) at ../../libbtcore/net/networkthread.cpp:48
#5  0x03a0b32e in QThreadPrivate::start (arg=0x81ad560) at thread/qthread_unix.cpp:248
#6  0x0018e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x0117aa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb28cab70 (LWP 22106)):
#0  0x00be0422 in __kernel_vsyscall ()
#1  0x00193015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x03a0c287 in QWaitConditionPrivate::wait (this=0x81ad8f8, mutex=0x81ad8fc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x81ad8f8, mutex=0x81ad8fc, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00d303a9 in net::UploadThread::update (this=0x81ad8c0) at ../../libbtcore/net/uploadthread.cpp:73
#5  0x00d316b8 in net::NetworkThread::run (this=0x81ad8c0) at ../../libbtcore/net/networkthread.cpp:48
#6  0x03a0b32e in QThreadPrivate::start (arg=0x81ad8c0) at thread/qthread_unix.cpp:248
#7  0x0018e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0117aa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb20c9b70 (LWP 22107)):
#0  0x00be0422 in __kernel_vsyscall ()
#1  0x00193015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x03a0c287 in QWaitConditionPrivate::wait (this=0x9c6aa9c, mutex=0x9c6aa98, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9c6aa9c, mutex=0x9c6aa98, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00d34baa in net::ReverseResolverThread::run (this=0x9c6aa90) at ../../libbtcore/net/reverseresolver.cpp:123
#5  0x03a0b32e in QThreadPrivate::start (arg=0x9c6aa90) at thread/qthread_unix.cpp:248
#6  0x0018e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x0117aa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb784b710 (LWP 22099)):
[KCrash Handler]
#6  0x01121fe1 in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0x00d9a006 in bt::Chunk::readPiece (this=0x92b40c8, off=1572864, len=167721041, 
    data=0x9ff02b5 "V9\350\065Mg\003T\200\205\003\032\346\017\030\023\327a\214\255\023\305H\264J\001\206\022\b0X\341x\032\321\367\321L\037PT<w\226\222\242\371\356\304\333\"D\333\245\\WY\025\232U\332M\274)\266kR\200X]F'k\321\270\221\006\260\216\266\324\353j\251t\216\211\253\304c\303\200\375\377\301\217\070\372\240GF\025H\336[E`?B\324\220\305\036q\314\205>$K\266T\311>\361\341\367\331z\313\v\025\345\206\066\275\311\063\026>\004$\307\327\364\027@w\356\065S+\262\274\332m\213\225\062Eg\275\315\271\275\255\365v\262\252\373\266@\224\221\061]\266\334\071\001\360\030") at /usr/include/bits/string3.h:52
#8  0x00d4deea in Packet (this=0x9642c08, index=4914, begin=1572864, len=16384, ch=0x92b40c8) at ../../libbtcore/download/packet.cpp:85
#9  0x00d4a3bf in bt::PacketWriter::sendChunk (this=0x9e2c3d8, index=4914, begin=1572864, len=16384, ch=0x92b40c8) at ../../libbtcore/peer/packetwriter.cpp:195
#10 0x00d48a04 in bt::PeerUploader::update (this=0x989c430, cman=..., opt_unchoked=113) at ../../libbtcore/peer/peeruploader.cpp:83
#11 0x00d6cdf8 in bt::Uploader::update (this=0x9258d98, opt_unchoked=113) at ../../libbtcore/torrent/uploader.cpp:48
#12 0x00d769c1 in bt::TorrentControl::update (this=0x921ef88) at ../../libbtcore/torrent/torrentcontrol.cpp:160
#13 0x08071a63 in kt::Core::update (this=0x82fd070) at ../../ktorrent/core.cpp:849
#14 0x08077308 in kt::Core::qt_metacall (this=0x82fd070, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbf9955dc) at ./core.moc:155
#15 0x03b12c9a in QMetaObject::metacall (object=0x82fd070, cl=665, idx=21, argv=0xbf9955dc) at kernel/qmetaobject.cpp:237
#16 0x03b213d5 in QMetaObject::activate (sender=0x82fd084, m=0x3c215a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#17 0x03b72aa7 in QTimer::timeout (this=0x82fd084) at .moc/release-shared/moc_qtimer.cpp:134
#18 0x03b2960e in QTimer::timerEvent (this=0x82fd084, e=0xbf995b10) at kernel/qtimer.cpp:271
#19 0x03b1e254 in QObject::event (this=0x82fd084, e=0x983da90) at kernel/qobject.cpp:1212
#20 0x061a14dc in QApplicationPrivate::notify_helper (this=0x81cf630, receiver=0x82fd084, e=0xbf995b10) at kernel/qapplication.cpp:4300
#21 0x061a805e in QApplication::notify (this=0xbf995e64, receiver=0x82fd084, e=0xbf995b10) at kernel/qapplication.cpp:3704
#22 0x0074df2a in KApplication::notify (this=0xbf995e64, receiver=0x82fd084, event=0xbf995b10) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x03b0da3b in QCoreApplication::notifyInternal (this=0xbf995e64, receiver=0x82fd084, event=0xbf995b10) at kernel/qcoreapplication.cpp:704
#24 0x03b3cd66 in QCoreApplication::sendEvent (this=0x81d4f8c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (this=0x81d4f8c) at kernel/qeventdispatcher_unix.cpp:603
#26 0x03b39917 in timerSourceDispatch (source=0x81d4fc0) at kernel/qeventdispatcher_glib.cpp:184
#27 idleTimerSourceDispatch (source=0x81d4fc0) at kernel/qeventdispatcher_glib.cpp:231
#28 0x056e45e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x056e82d8 in ?? () from /lib/libglib-2.0.so.0
#30 0x056e84b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x03b395d5 in QEventDispatcherGlib::processEvents (this=0x81ac380, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#32 0x06261135 in QGuiEventDispatcherGlib::processEvents (this=0x81ac380, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x03b0c059 in QEventLoop::processEvents (this=0xbf995dd4, flags=) at kernel/qeventloop.cpp:149
#34 0x03b0c4aa in QEventLoop::exec (this=0xbf995dd4, flags=...) at kernel/qeventloop.cpp:201
#35 0x03b1069f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#36 0x061a1577 in QApplication::exec () at kernel/qapplication.cpp:3579
#37 0x08067a51 in main (argc=1, argv=0xbf996234) at ../../ktorrent/main.cpp:172

Possible duplicates by query: bug 241598, bug 241158, bug 235873.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-07-05 14:52:46 UTC

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