Bug 265450

Summary: Crashes after 15+ minutes
Product: [Applications] ktorrent Reporter: dcomnimda
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 dcomnimda 2011-02-04 20:18:15 UTC
Application: ktorrent (4.0.5)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-26-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Seeding about 80 torrents, not d/l anything. seems to crash randomly after 15 minutes, sometimes 15 minutes sometimes a few hours

The crash can be reproduced every time.

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

Thread 7 (Thread 0xb7517b70 (LWP 9235)):
#0  0x004b9416 in __kernel_vsyscall ()
#1  0x00850df6 in poll () from /lib/libc.so.6
#2  0x03741a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0373443c in ?? () from /lib/libglib-2.0.so.0
#4  0x03734ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x095bc9c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x0375b48f in ?? () from /lib/libglib-2.0.so.0
#7  0x00399cc9 in start_thread () from /lib/libpthread.so.0
#8  0x0085f69e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xb4db9b70 (LWP 9237)):
#0  0x00b92e36 in clock_gettime () from /lib/librt.so.1
#1  0x089c250b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x08a996e5 in QTimerInfoList::updateCurrentTime (this=0xb6c0693c) at kernel/qeventdispatcher_unix.cpp:339
#4  0x08a9972a in QTimerInfoList::timerWait (this=0xb6c0693c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x08a977a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb4db90bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x03733e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x03734279 in ?? () from /lib/libglib-2.0.so.0
#8  0x03734848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x08a97565 in QEventDispatcherGlib::processEvents (this=0x9904bb8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#10 0x08a67609 in QEventLoop::processEvents (this=0xb4db9290, flags=) at kernel/qeventloop.cpp:149
#11 0x08a67a8a in QEventLoop::exec (this=0xb4db9290, flags=...) at kernel/qeventloop.cpp:201
#12 0x08963b7e in QThread::exec (this=0x9905e48) at thread/qthread.cpp:490
#13 0x009f9dee in utp::UTPServerThread::run (this=0x9905e48) at ../../src/utp/utpserverthread.cpp:44
#14 0x08966df9 in QThreadPrivate::start (arg=0x9905e48) at thread/qthread_unix.cpp:266
#15 0x00399cc9 in start_thread () from /lib/libpthread.so.0
#16 0x0085f69e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xb45b8b70 (LWP 9238)):
#0  0x004b9416 in __kernel_vsyscall ()
#1  0x00858371 in select () from /lib/libc.so.6
#2  0x009bc47b in dht::RPCServerThread::run (this=0x97b1138) at ../../src/dht/rpcserver.cpp:107
#3  0x08966df9 in QThreadPrivate::start (arg=0x97b1138) at thread/qthread_unix.cpp:266
#4  0x00399cc9 in start_thread () from /lib/libpthread.so.0
#5  0x0085f69e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xabcffb70 (LWP 9314)):
#0  0x004b9416 in __kernel_vsyscall ()
#1  0x0039e4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x08965ef2 in QMutexPrivate::wait (this=0x977b3e8, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0x089615ca in QMutex::lock (this=0x81178b4) at thread/qmutex.cpp:167
#4  0x0094c890 in net::SocketMonitor::lock (this=0x81178b0) at ../../src/net/socketmonitor.cpp:82
#5  0x0094e5c5 in net::DownloadThread::update (this=0x977b4f0) at ../../src/net/downloadthread.cpp:51
#6  0x0094f178 in net::NetworkThread::run (this=0x977b4f0) at ../../src/net/networkthread.cpp:48
#7  0x08966df9 in QThreadPrivate::start (arg=0x977b4f0) at thread/qthread_unix.cpp:266
#8  0x00399cc9 in start_thread () from /lib/libpthread.so.0
#9  0x0085f69e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xab4feb70 (LWP 9315)):
#0  0x004b9416 in __kernel_vsyscall ()
#1  0x00819a06 in gettimeofday () from /lib/libc.so.6
#2  0x00936356 in bt::Now () at ../../src/util/functions.cpp:171
#3  0x0094db1a in net::UploadThread::update (this=0x977b850) at ../../src/net/uploadthread.cpp:51
#4  0x0094f178 in net::NetworkThread::run (this=0x977b850) at ../../src/net/networkthread.cpp:48
#5  0x08966df9 in QThreadPrivate::start (arg=0x977b850) at thread/qthread_unix.cpp:266
#6  0x00399cc9 in start_thread () from /lib/libpthread.so.0
#7  0x0085f69e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaacfdb70 (LWP 9316)):
#0  0x004b9416 in __kernel_vsyscall ()
#1  0x0039e4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x089679c7 in wait (this=0xb6c3e174, mutex=0xb6c3e170, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0xb6c3e174, mutex=0xb6c3e170, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x009528f2 in net::ReverseResolverThread::run (this=0xb6c3e168) at ../../src/net/reverseresolver.cpp:123
#5  0x08966df9 in QThreadPrivate::start (arg=0xb6c3e168) at thread/qthread_unix.cpp:266
#6  0x00399cc9 in start_thread () from /lib/libpthread.so.0
#7  0x0085f69e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb78a4710 (LWP 9234)):
[KCrash Handler]
#7  0x008a39c6 in ?? () from /lib/libc.so.6
#8  0x009c3346 in bt::Chunk::readPiece (this=0x9a1e7d8, off=966656, len=16384, data=0xc98435d "\354\023\202\223'![6\207\263\226$\005\227L\360Y 6\036_X\bS7\272\236Y\266J\260Q\030;\024\363\060\021kA:D!bO\307\005)\034\271\205\355V\342\352Z6\344\235\344]\231\027\213t\356\255g*&\021;\207\356\234\023K3\357\024?\256\210\331\205\210\063n\256M\300\275\374I*\352\270\065\212X\265\364}\241x\316y\227\060\021\031\002\274\276\017\b\034\224m\341\303\370\312\207\\/\261\255\233\215\001N\016\n\205\225\227\223\375\345*\212\274|\313\352hy\017\337\235\212\204o4k\016A\016N\221\325\022\325(\005\302$Y\264\226$;\370Gv\371-f\313\345\337\327)\251c\314\342bP\216T\233\177[\214b\004\226\236"...) at /usr/include/bits/string3.h:52
#9  0x0097281a in bt::Packet::Packet (this=0xa2360f0, index=4132, begin=966656, len=16384, ch=0x9a1e7d8) at ../../src/download/packet.cpp:85
#10 0x0096cd2f in bt::PacketWriter::sendChunk (this=0xc7ee520, index=4132, begin=966656, len=16384, ch=0x9a1e7d8) at ../../src/peer/packetwriter.cpp:195
#11 0x0096b5cc in bt::PeerUploader::update (this=0xb2e3568, cman=..., opt_unchoked=4294967295) at ../../src/peer/peeruploader.cpp:83
#12 0x00993d18 in bt::Uploader::update (this=0x9a41248, opt_unchoked=4294967295) at ../../src/torrent/uploader.cpp:48
#13 0x0099c9b1 in bt::TorrentControl::update (this=0x99c76c0) at ../../src/torrent/torrentcontrol.cpp:173
#14 0x08069353 in kt::Core::update (this=0xb6c05e90) at ../../ktorrent/core.cpp:1025
#15 0x080716d5 in kt::Core::qt_metacall (this=0xb6c05e90, _c=QMetaObject::InvokeMetaMethod, _id=-1362650160, _a=0xbfcdbd9c) at ./core.moc:169
#16 0x08a6e8ca in QMetaObject::metacall (object=0xb6c05e90, cl=3005, idx=22, argv=0xbfcdbd9c) at kernel/qmetaobject.cpp:237
#17 0x08a816ad in QMetaObject::activate (sender=0xb6c05ea4, m=0x8b9b5a4, local_signal_index=0, argv=0xaec79bd0) at kernel/qobject.cpp:3280
#18 0x08ad31e7 in QTimer::timeout (this=0xb6c05ea4) at .moc/release-shared/moc_qtimer.cpp:134
#19 0x08a871ce in QTimer::timerEvent (this=0xb6c05ea4, e=0xbfcdc2a0) at kernel/qtimer.cpp:271
#20 0x08a7b504 in QObject::event (this=0xb6c05ea4, e=0xc984360) at kernel/qobject.cpp:1183
#21 0x06966fdc in QApplicationPrivate::notify_helper (this=0x97b0070, receiver=0xb6c05ea4, e=0xbfcdc2a0) at kernel/qapplication.cpp:4396
#22 0x0696d04e in QApplication::notify (this=0xbfcdc5f0, receiver=0xb6c05ea4, e=0xbfcdc2a0) at kernel/qapplication.cpp:3798
#23 0x0807841c in kt::App::notify (this=0xbbd, receiver=0xc984360, event=0xaec79bd0) at ../../ktorrent/app.cpp:97
#24 0x08a68b3b in QCoreApplication::notifyInternal (this=0xbfcdc5f0, receiver=0xb6c05ea4, event=0xbfcdc2a0) at kernel/qcoreapplication.cpp:732
#25 0x08a9aad6 in sendEvent (this=0x97b0874) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0x97b0874) at kernel/qeventdispatcher_unix.cpp:602
#27 0x08a978a7 in timerSourceDispatch (source=0x97b08a8) at kernel/qeventdispatcher_glib.cpp:184
#28 idleTimerSourceDispatch (source=0x97b08a8) at kernel/qeventdispatcher_glib.cpp:231
#29 0x03730855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x03734668 in ?? () from /lib/libglib-2.0.so.0
#31 0x03734848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x08a97565 in QEventDispatcherGlib::processEvents (this=0x9779780, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#33 0x06a28be5 in QGuiEventDispatcherGlib::processEvents (this=0x9779780, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x08a67609 in QEventLoop::processEvents (this=0xbfcdc564, flags=) at kernel/qeventloop.cpp:149
#35 0x08a67a8a in QEventLoop::exec (this=0xbfcdc564, flags=...) at kernel/qeventloop.cpp:201
#36 0x08a6c00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#37 0x06965e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#38 0x080670e1 in main (argc=5, argv=0xbfcdc9f4) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 261347, bug 260347, bug 258038, bug 258034, bug 255577.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-02-04 20:20:39 UTC

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