Bug 262432

Summary: Ktorrent crashed after 2 hours of use (downloading)
Product: [Applications] ktorrent Reporter: sabbath127
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: sabbath127
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sabbath127 2011-01-07 17:29:46 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.5 (KDE 4.4.5) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-27-generic-pae i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
When I restart the program it crashed again, sometimes minutes after.

The crash can be reproduced every time.

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

Thread 5 (Thread 0xb1fffb70 (LWP 2292)):
#0  0xb776b430 in __kernel_vsyscall ()
#1  0xb5b4e971 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb76d9aac in dht::RPCServerThread::run (this=0x90348a0) at ../../libbtcore/dht/rpcserver.cpp:107
#3  0xb683432e in QThreadPrivate::start (arg=0x90348a0) at thread/qthread_unix.cpp:248
#4  0xb679f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb5b55a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb297cb70 (LWP 2330)):
#0  0xb776b430 in __kernel_vsyscall ()
#1  0xb5b47b86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7676982 in net::DownloadThread::waitForSocketReady (this=0x8e78560) at ../../libbtcore/net/downloadthread.cpp:188
#3  0xb7676a4f in net::DownloadThread::update (this=0x8e78560) at ../../libbtcore/net/downloadthread.cpp:53
#4  0xb76776b8 in net::NetworkThread::run (this=0x8e78560) at ../../libbtcore/net/networkthread.cpp:48
#5  0xb683432e in QThreadPrivate::start (arg=0x8e78560) at thread/qthread_unix.cpp:248
#6  0xb679f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb5b55a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xab4ffb70 (LWP 2331)):
#0  0xb776b430 in __kernel_vsyscall ()
#1  0xb67a4015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6835287 in QWaitConditionPrivate::wait (this=0x8e788f8, mutex=0x8e788fc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x8e788f8, mutex=0x8e788fc, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb76763a9 in net::UploadThread::update (this=0x8e788c0) at ../../libbtcore/net/uploadthread.cpp:73
#5  0xb76776b8 in net::NetworkThread::run (this=0x8e788c0) at ../../libbtcore/net/networkthread.cpp:48
#6  0xb683432e in QThreadPrivate::start (arg=0x8e788c0) at thread/qthread_unix.cpp:248
#7  0xb679f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb5b55a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xaacfeb70 (LWP 2332)):
#0  0xb776b430 in __kernel_vsyscall ()
#1  0xb67a4015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6835287 in QWaitConditionPrivate::wait (this=0xb0517e3c, mutex=0xb0517e38, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xb0517e3c, mutex=0xb0517e38, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb767abaa in net::ReverseResolverThread::run (this=0xb0517e30) at ../../libbtcore/net/reverseresolver.cpp:123
#5  0xb683432e in QThreadPrivate::start (arg=0xb0517e30) at thread/qthread_unix.cpp:248
#6  0xb679f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb5b55a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4e62aa0 (LWP 2288)):
[KCrash Handler]
#6  0xb5afcfe1 in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0xb769a351 in bt::ChunkDownload::piece (this=0x98ab5d5, p=..., ok=@0xbfb4251f) at /usr/include/bits/string3.h:52
#8  0xb76a0af9 in bt::Downloader::pieceReceived (this=0x901dad8, p=...) at ../../libbtcore/download/downloader.cpp:126
#9  0xb768841f in bt::PeerManager::pieceReceived (this=0x901c470, p=...) at ../../libbtcore/peer/peermanager.cpp:677
#10 0xb7686abf in bt::Peer::packetReady (this=0xab5cc708, packet=0x98a97f0 "\a", len=16393) at ../../libbtcore/peer/peer.cpp:268
#11 0xb7690ba9 in bt::PacketReader::update (this=0xa7f184e0) at ../../libbtcore/peer/packetreader.cpp:141
#12 0xb7686409 in bt::Peer::update (this=0xab5cc708) at ../../libbtcore/peer/peer.cpp:462
#13 0xb768a886 in bt::PeerManager::update (this=0x901c470) at ../../libbtcore/peer/peermanager.cpp:119
#14 0xb76bc97d in bt::TorrentControl::update (this=0x8fedc80) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#15 0x08071a63 in kt::Core::update (this=0x8e910e8) at ../../ktorrent/core.cpp:849
#16 0x08077308 in kt::Core::qt_metacall (this=0x8e910e8, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfb4289c) at ./core.moc:155
#17 0xb693bc9a in QMetaObject::metacall (object=0x8e910e8, cl=2185, idx=21, argv=0xbfb4289c) at kernel/qmetaobject.cpp:237
#18 0xb694a3d5 in QMetaObject::activate (sender=0x8e910fc, m=0xb6a4a5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#19 0xb699baa7 in QTimer::timeout (this=0x8e910fc) at .moc/release-shared/moc_qtimer.cpp:134
#20 0xb695260e in QTimer::timerEvent (this=0x8e910fc, e=0xbfb42dd0) at kernel/qtimer.cpp:271
#21 0xb6947254 in QObject::event (this=0x8e910fc, e=0xa80ffe00) at kernel/qobject.cpp:1212
#22 0xb5e524dc in QApplicationPrivate::notify_helper (this=0x8e9ac30, receiver=0x8e910fc, e=0xbfb42dd0) at kernel/qapplication.cpp:4300
#23 0xb5e5905e in QApplication::notify (this=0xbfb43124, receiver=0x8e910fc, e=0xbfb42dd0) at kernel/qapplication.cpp:3704
#24 0xb70d840a in KApplication::notify (this=0xbfb43124, receiver=0x8e910fc, event=0xbfb42dd0) at ../../kdeui/kernel/kapplication.cpp:302
#25 0xb6936a3b in QCoreApplication::notifyInternal (this=0xbfb43124, receiver=0x8e910fc, event=0xbfb42dd0) at kernel/qcoreapplication.cpp:704
#26 0xb6965d66 in QCoreApplication::sendEvent (this=0x8ea0334) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0x8ea0334) at kernel/qeventdispatcher_unix.cpp:603
#28 0xb6962917 in timerSourceDispatch (source=0x8ea0368) at kernel/qeventdispatcher_glib.cpp:184
#29 idleTimerSourceDispatch (source=0x8ea0368) at kernel/qeventdispatcher_glib.cpp:231
#30 0xb52655e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0xb52692d8 in ?? () from /lib/libglib-2.0.so.0
#32 0xb52694b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0xb69625d5 in QEventDispatcherGlib::processEvents (this=0x8e77380, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#34 0xb5f12135 in QGuiEventDispatcherGlib::processEvents (this=0x8e77380, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0xb6935059 in QEventLoop::processEvents (this=0xbfb43094, flags=) at kernel/qeventloop.cpp:149
#36 0xb69354aa in QEventLoop::exec (this=0xbfb43094, flags=...) at kernel/qeventloop.cpp:201
#37 0xb693969f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#38 0xb5e52577 in QApplication::exec () at kernel/qapplication.cpp:3579
#39 0x08067a51 in main (argc=5, argv=0xbfb434f4) at ../../ktorrent/main.cpp:172

Possible duplicates by query: bug 260359, bug 260253, bug 258341, bug 256345, bug 255387.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-01-07 20:57:44 UTC

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