Bug 255651

Summary: bus
Product: [Applications] ktorrent Reporter: sl4v1ksp
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sl4v1ksp 2010-10-30 11:22:41 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-25-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
crashes after 2-3 mins saying something about a bus

The crash can be reproduced every time.

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

Thread 6 (Thread 0xb5b40b70 (LWP 2636)):
#0  0x0022b422 in __kernel_vsyscall ()
#1  0x04a47971 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x00a60aac in dht::RPCServerThread::run (this=0x8a6be80) at ../../libbtcore/dht/rpcserver.cpp:107
#3  0x0880932e in QThreadPrivate::start (arg=0x8a6be80) at thread/qthread_unix.cpp:248
#4  0x0011596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x04a4ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb1db9b70 (LWP 2643)):
#0  0x0099fe16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x089346fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x08939825 in QTimerInfoList::updateCurrentTime (this=0xb2d0c41c) at kernel/qeventdispatcher_unix.cpp:340
#3  0x0893986a in QTimerInfoList::timerWait (this=0xb2d0c41c, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x08937818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb1db90cc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x089378a5 in timerSourcePrepare (source=0x0, timeout=0x9a3ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x07c3daca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x07c3dee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x07c3e4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0893760f in QEventDispatcherGlib::processEvents (this=0x9045ac8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x0890a059 in QEventLoop::processEvents (this=0xb1db9290, flags=) at kernel/qeventloop.cpp:149
#11 0x0890a4aa in QEventLoop::exec (this=0xb1db9290, flags=...) at kernel/qeventloop.cpp:201
#12 0x088065a8 in QThread::exec (this=0x9044110) at thread/qthread.cpp:487
#13 0x088e9c1b in QInotifyFileSystemWatcherEngine::run (this=0x9044110) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x0880932e in QThreadPrivate::start (arg=0x9044110) at thread/qthread_unix.cpp:248
#15 0x0011596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x04a4ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb369bb70 (LWP 2648)):
#0  0x0022b422 in __kernel_vsyscall ()
#1  0x0011a342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08808c1e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:398
#3  0x08808d73 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:424
#4  0x009fdcb3 in net::DownloadThread::update (this=0x8a48000) at ../../libbtcore/net/downloadthread.cpp:110
#5  0x009fe6b8 in net::NetworkThread::run (this=0x8a48000) at ../../libbtcore/net/networkthread.cpp:48
#6  0x0880932e in QThreadPrivate::start (arg=0x8a48000) at thread/qthread_unix.cpp:248
#7  0x0011596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x04a4ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb3e9cb70 (LWP 2649)):
#0  0x0022b422 in __kernel_vsyscall ()
#1  0x0011a015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0880a287 in QWaitConditionPrivate::wait (this=0x8a48398, mutex=0x8a4839c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x8a48398, mutex=0x8a4839c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x009fd3a9 in net::UploadThread::update (this=0x8a48360) at ../../libbtcore/net/uploadthread.cpp:73
#5  0x009fe6b8 in net::NetworkThread::run (this=0x8a48360) at ../../libbtcore/net/networkthread.cpp:48
#6  0x0880932e in QThreadPrivate::start (arg=0x8a48360) at thread/qthread_unix.cpp:248
#7  0x0011596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x04a4ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb4e9eb70 (LWP 2650)):
#0  0x0022b422 in __kernel_vsyscall ()
#1  0x0011a015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0880a287 in QWaitConditionPrivate::wait (this=0x9618cbc, mutex=0x9618cb8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9618cbc, mutex=0x9618cb8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00a01baa in net::ReverseResolverThread::run (this=0x9618cb0) at ../../libbtcore/net/reverseresolver.cpp:123
#5  0x0880932e in QThreadPrivate::start (arg=0x9618cb0) at thread/qthread_unix.cpp:248
#6  0x0011596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x04a4ea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7892710 (LWP 2634)):
[KCrash Handler]
#6  0x04a91351 in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0x0a398c08 in ?? ()
#8  0x00a27af9 in bt::Downloader::pieceReceived (this=0xb4fbe000, p=...) at ../../libbtcore/download/downloader.cpp:126
#9  0x00a0f41f in bt::PeerManager::pieceReceived (this=0x8c26ca8, p=...) at ../../libbtcore/peer/peermanager.cpp:677
#10 0x00a0dabf in bt::Peer::packetReady (this=0x8e5a9a8, packet=0xa382998 "\a", len=16393) at ../../libbtcore/peer/peer.cpp:268
#11 0x00a17ba9 in bt::PacketReader::update (this=0xa278800) at ../../libbtcore/peer/packetreader.cpp:141
#12 0x00a0d409 in bt::Peer::update (this=0x8e5a9a8) at ../../libbtcore/peer/peer.cpp:462
#13 0x00a11886 in bt::PeerManager::update (this=0x8c26ca8) at ../../libbtcore/peer/peermanager.cpp:119
#14 0x00a4397d in bt::TorrentControl::update (this=0x8c265f0) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#15 0x08071a63 in kt::Core::update (this=0x8afa010) at ../../ktorrent/core.cpp:849
#16 0x08077308 in kt::Core::qt_metacall (this=0x8afa010, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfc92b9c) at ./core.moc:155
#17 0x08910c9a in QMetaObject::metacall (object=0x8afa010, cl=16336, idx=21, argv=0xbfc92b9c) at kernel/qmetaobject.cpp:237
#18 0x0891f3d5 in QMetaObject::activate (sender=0x8afa024, m=0x8a1f5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#19 0x08970aa7 in QTimer::timeout (this=0x8afa024) at .moc/release-shared/moc_qtimer.cpp:134
#20 0x0892760e in QTimer::timerEvent (this=0x8afa024, e=0xbfc930d0) at kernel/qtimer.cpp:271
#21 0x0891c254 in QObject::event (this=0x8afa024, e=0xb4fbe010) at kernel/qobject.cpp:1212
#22 0x021924dc in QApplicationPrivate::notify_helper (this=0x8a69ea0, receiver=0x8afa024, e=0xbfc930d0) at kernel/qapplication.cpp:4300
#23 0x0219905e in QApplication::notify (this=0xbfc93424, receiver=0x8afa024, e=0xbfc930d0) at kernel/qapplication.cpp:3704
#24 0x010acf2a in KApplication::notify (this=0xbfc93424, receiver=0x8afa024, event=0xbfc930d0) at ../../kdeui/kernel/kapplication.cpp:302
#25 0x0890ba3b in QCoreApplication::notifyInternal (this=0xbfc93424, receiver=0x8afa024, event=0xbfc930d0) at kernel/qcoreapplication.cpp:704
#26 0x0893ad66 in QCoreApplication::sendEvent (this=0x8a7139c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0x8a7139c) at kernel/qeventdispatcher_unix.cpp:603
#28 0x08937917 in timerSourceDispatch (source=0x8a71800) at kernel/qeventdispatcher_glib.cpp:184
#29 idleTimerSourceDispatch (source=0x8a71800) at kernel/qeventdispatcher_glib.cpp:231
#30 0x07c3a5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x07c3e2d8 in ?? () from /lib/libglib-2.0.so.0
#32 0x07c3e4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x089375d5 in QEventDispatcherGlib::processEvents (this=0x8a46e78, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#34 0x02252135 in QGuiEventDispatcherGlib::processEvents (this=0x8a46e78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x0890a059 in QEventLoop::processEvents (this=0xbfc93394, flags=) at kernel/qeventloop.cpp:149
#36 0x0890a4aa in QEventLoop::exec (this=0xbfc93394, flags=...) at kernel/qeventloop.cpp:201
#37 0x0890e69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#38 0x02192577 in QApplication::exec () at kernel/qapplication.cpp:3579
#39 0x08067a51 in main (argc=1, argv=0xbfc937f4) at ../../ktorrent/main.cpp:172

Possible duplicates by query: bug 255387, bug 255263, bug 254562, bug 254383, bug 253878.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-10-30 13:55:46 UTC

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