Bug 280448 - crash every time after 5 min
Summary: crash every time after 5 min
Status: RESOLVED DUPLICATE of bug 266842
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-19 21:41 UTC by simone.sd
Modified: 2011-08-20 10:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.46 KB, text/plain)
2011-08-19 22:03 UTC, simone.sd
Details
New crash information added by DrKonqi (16.47 KB, text/plain)
2011-08-19 22:09 UTC, simone.sd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description simone.sd 2011-08-19 21:41:07 UTC
Application: ktorrent (4.0.5)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
Application: KTorrent (ktorrent), signal: Bus error
[Current thread is 1 (Thread 0xb7765930 (LWP 2639))]

Thread 7 (Thread 0xb4f74b70 (LWP 2641)):
#0  0x00536416 in __kernel_vsyscall ()
#1  0x04fba681 in select () from /lib/i386-linux-gnu/libc.so.6
#2  0x006ae291 in dht::RPCServerThread::run (this=0x8d5a230) at ../../src/dht/rpcserver.cpp:107
#3  0x05783da2 in QThreadPrivate::start (arg=0x8d5a230) at thread/qthread_unix.cpp:320
#4  0x00acde99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#5  0x04fc173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0xb5775b70 (LWP 2644)):
#0  0x01c0ed41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x057d9dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x058a64f2 in updateCurrentTime (this=0x96c2074, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x96c2074, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x058a4d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb57750dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x058a4dcd in timerSourcePrepare (source=0x96c2040, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x01424fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x01425e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x01426524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x058a5577 in QEventDispatcherGlib::processEvents (this=0x96024f0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x05877289 in QEventLoop::processEvents (this=0xb5775290, flags=...) at kernel/qeventloop.cpp:149
#12 0x05877522 in QEventLoop::exec (this=0xb5775290, flags=...) at kernel/qeventloop.cpp:201
#13 0x057812a0 in QThread::exec (this=0x8ef3cd8) at thread/qthread.cpp:492
#14 0x05858fdb in QInotifyFileSystemWatcherEngine::run (this=0x8ef3cd8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x05783da2 in QThreadPrivate::start (arg=0x8ef3cd8) at thread/qthread_unix.cpp:320
#16 0x00acde99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x04fc173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xacd03b70 (LWP 2664)):
#0  0x00ad036b in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x04fcf616 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x01425009 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x01425e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x01426524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x058a5577 in QEventDispatcherGlib::processEvents (this=0x94991d8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x05877289 in QEventLoop::processEvents (this=0xacd03290, flags=...) at kernel/qeventloop.cpp:149
#7  0x05877522 in QEventLoop::exec (this=0xacd03290, flags=...) at kernel/qeventloop.cpp:201
#8  0x057812a0 in QThread::exec (this=0x9757c18) at thread/qthread.cpp:492
#9  0x05858fdb in QInotifyFileSystemWatcherEngine::run (this=0x9757c18) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x05783da2 in QThreadPrivate::start (arg=0x9757c18) at thread/qthread_unix.cpp:320
#11 0x00acde99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x04fc173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xa7620b70 (LWP 2689)):
#0  0x00536416 in __kernel_vsyscall ()
#1  0x00ad2834 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04fcf454 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0x05783afe in thread_sleep (ti=<value optimized out>) at thread/qthread_unix.cpp:470
#4  0x05783c53 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:496
#5  0x0064d192 in net::DownloadThread::update (this=0x8c79678) at ../../src/net/downloadthread.cpp:91
#6  0x0064d1e8 in net::NetworkThread::run (this=0x8c79678) at ../../src/net/networkthread.cpp:48
#7  0x05783da2 in QThreadPrivate::start (arg=0x8c79678) at thread/qthread_unix.cpp:320
#8  0x00acde99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0x04fc173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xab628b70 (LWP 2690)):
#0  0x00536416 in __kernel_vsyscall ()
#1  0x00ad2834 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04fcf454 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0x05783afe in thread_sleep (ti=<value optimized out>) at thread/qthread_unix.cpp:470
#4  0x05783c53 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:496
#5  0x0064c902 in net::UploadThread::update (this=0x8c799d8) at ../../src/net/uploadthread.cpp:89
#6  0x0064d1e8 in net::NetworkThread::run (this=0x8c799d8) at ../../src/net/networkthread.cpp:48
#7  0x05783da2 in QThreadPrivate::start (arg=0x8c799d8) at thread/qthread_unix.cpp:320
#8  0x00acde99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0x04fc173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xaae27b70 (LWP 2691)):
#0  0x00536416 in __kernel_vsyscall ()
#1  0x04fb0e9b in read () from /lib/i386-linux-gnu/libc.so.6
#2  0x04f59563 in _IO_file_underflow () from /lib/i386-linux-gnu/libc.so.6
#3  0x04f5a72b in _IO_default_uflow () from /lib/i386-linux-gnu/libc.so.6
#4  0x04f5a528 in __uflow () from /lib/i386-linux-gnu/libc.so.6
#5  0x04f4e22c in _IO_getline_info () from /lib/i386-linux-gnu/libc.so.6
#6  0x04f4e171 in _IO_getline () from /lib/i386-linux-gnu/libc.so.6
#7  0x04f4d11a in fgets () from /lib/i386-linux-gnu/libc.so.6
#8  0x0154ee08 in ?? () from /lib/libnss_mdns4.so.2
#9  0x0154f57b in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#10 0x04fd8e02 in gethostbyaddr_r () from /lib/i386-linux-gnu/libc.so.6
#11 0x04fde4e2 in getnameinfo () from /lib/i386-linux-gnu/libc.so.6
#12 0x0064fe4b in net::ReverseResolver::resolve (this=0x9c899d8, addr=...) at ../../src/net/reverseresolver.cpp:64
#13 0x0064fee3 in net::ReverseResolver::run (this=0x9c899d8) at ../../src/net/reverseresolver.cpp:73
#14 0x006502fe in net::ReverseResolverThread::run (this=0x9659b50) at ../../src/net/reverseresolver.cpp:118
#15 0x05783da2 in QThreadPrivate::start (arg=0x9659b50) at thread/qthread_unix.cpp:320
#16 0x00acde99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x04fc173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb7765930 (LWP 2639)):
[KCrash Handler]
#7  0x04f665e1 in ?? () from /lib/i386-linux-gnu/libc.so.6
#8  0x00674b98 in bt::ChunkDownload::piece (this=0x9944590, p=..., ok=@0xbff5a54f) at /usr/include/bits/string3.h:52
#9  0x006798ea in bt::Downloader::pieceReceived (this=0x90375c8, p=...) at ../../src/download/downloader.cpp:134
#10 0x00662e7f in bt::PeerManager::pieceReceived (this=0x904f3d0, p=...) at ../../src/peer/peermanager.cpp:671
#11 0x00661a92 in bt::Peer::packetReady (this=0x99f23d0, packet=0x9f209c8 "\a", len=16393) at ../../src/peer/peer.cpp:283
#12 0x0066a959 in bt::PacketReader::update (this=0x9ade128) at ../../src/peer/packetreader.cpp:141
#13 0x0065f6f9 in bt::Peer::update (this=0x99f23d0) at ../../src/peer/peer.cpp:538
#14 0x006647ea in bt::PeerManager::update (this=0x904f3d0) at ../../src/peer/peermanager.cpp:144
#15 0x00696d2d in bt::TorrentControl::update (this=0x9014588) at ../../src/torrent/torrentcontrol.cpp:163
#16 0x0806a063 in kt::Core::update (this=0x8d4f2e0) at ../../ktorrent/core.cpp:1025
#17 0x08070895 in kt::Core::qt_metacall (this=0x8d4f2e0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbff5a8cc) at ./core.moc:169
#18 0x0587e6ba in QMetaObject::metacall (object=0x8d4f2e0, cl=QMetaObject::InvokeMetaMethod, idx=22, argv=0xbff5a8cc) at kernel/qmetaobject.cpp:237
#19 0x0588e4ff in QMetaObject::activate (sender=0x8d4f2f4, m=0x59b35a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#20 0x058db2f7 in QTimer::timeout (this=0x8d4f2f4) at .moc/release-shared/moc_qtimer.cpp:134
#21 0x058943ee in QTimer::timerEvent (this=0x8d4f2f4, e=0xbff5adcc) at kernel/qtimer.cpp:271
#22 0x0588d214 in QObject::event (this=0x8d4f2f4, e=0xbff5adcc) at kernel/qobject.cpp:1190
#23 0x03c15d24 in QApplicationPrivate::notify_helper (this=0x8ccfb90, receiver=0x8d4f2f4, e=0xbff5adcc) at kernel/qapplication.cpp:4462
#24 0x03c1a8ce in QApplication::notify (this=0xbff5b0f0, receiver=0x8d4f2f4, e=0xbff5adcc) at kernel/qapplication.cpp:3862
#25 0x08077a57 in kt::App::notify (this=0xbff5b0f0, receiver=0x8d4f2f4, event=0xbff5adcc) at ../../ktorrent/app.cpp:97
#26 0x058780bb in QCoreApplication::notifyInternal (this=0xbff5b0f0, receiver=0x8d4f2f4, event=0xbff5adcc) at kernel/qcoreapplication.cpp:731
#27 0x058a81e4 in sendEvent (this=0x8cca534) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QTimerInfoList::activateTimers (this=0x8cca534) at kernel/qeventdispatcher_unix.cpp:604
#29 0x058a4e27 in timerSourceDispatch (source=0x8cca568) at kernel/qeventdispatcher_glib.cpp:184
#30 idleTimerSourceDispatch (source=0x8cca568) at kernel/qeventdispatcher_glib.cpp:231
#31 0x01425aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0x01426270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0x01426524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0x058a553c in QEventDispatcherGlib::processEvents (this=0x8c73aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#35 0x03ccc1e5 in QGuiEventDispatcherGlib::processEvents (this=0x8c73aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x05877289 in QEventLoop::processEvents (this=0xbff5b064, flags=...) at kernel/qeventloop.cpp:149
#37 0x05877522 in QEventLoop::exec (this=0xbff5b064, flags=...) at kernel/qeventloop.cpp:201
#38 0x0587becc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#39 0x03c138e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#40 0x08067221 in main (argc=) at ../../ktorrent/main.cpp:176

The crash can be reproduced every time.

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

Thread 7 (Thread 0xb4f74b70 (LWP 2641)):
#0  0x00536416 in __kernel_vsyscall ()
#1  0x04fba681 in select () from /lib/i386-linux-gnu/libc.so.6
#2  0x006ae291 in dht::RPCServerThread::run (this=0x8d5a230) at ../../src/dht/rpcserver.cpp:107
#3  0x05783da2 in QThreadPrivate::start (arg=0x8d5a230) at thread/qthread_unix.cpp:320
#4  0x00acde99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#5  0x04fc173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0xb5775b70 (LWP 2644)):
#0  0x01c0ed41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x057d9dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x058a64f2 in updateCurrentTime (this=0x96c2074, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x96c2074, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x058a4d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb57750dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x058a4dcd in timerSourcePrepare (source=0x96c2040, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x01424fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x01425e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x01426524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x058a5577 in QEventDispatcherGlib::processEvents (this=0x96024f0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x05877289 in QEventLoop::processEvents (this=0xb5775290, flags=...) at kernel/qeventloop.cpp:149
#12 0x05877522 in QEventLoop::exec (this=0xb5775290, flags=...) at kernel/qeventloop.cpp:201
#13 0x057812a0 in QThread::exec (this=0x8ef3cd8) at thread/qthread.cpp:492
#14 0x05858fdb in QInotifyFileSystemWatcherEngine::run (this=0x8ef3cd8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x05783da2 in QThreadPrivate::start (arg=0x8ef3cd8) at thread/qthread_unix.cpp:320
#16 0x00acde99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x04fc173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xacd03b70 (LWP 2664)):
#0  0x00ad036b in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x04fcf616 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x01425009 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x01425e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x01426524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x058a5577 in QEventDispatcherGlib::processEvents (this=0x94991d8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x05877289 in QEventLoop::processEvents (this=0xacd03290, flags=...) at kernel/qeventloop.cpp:149
#7  0x05877522 in QEventLoop::exec (this=0xacd03290, flags=...) at kernel/qeventloop.cpp:201
#8  0x057812a0 in QThread::exec (this=0x9757c18) at thread/qthread.cpp:492
#9  0x05858fdb in QInotifyFileSystemWatcherEngine::run (this=0x9757c18) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x05783da2 in QThreadPrivate::start (arg=0x9757c18) at thread/qthread_unix.cpp:320
#11 0x00acde99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x04fc173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xa7620b70 (LWP 2689)):
#0  0x00536416 in __kernel_vsyscall ()
#1  0x00ad2834 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04fcf454 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0x05783afe in thread_sleep (ti=<value optimized out>) at thread/qthread_unix.cpp:470
#4  0x05783c53 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:496
#5  0x0064d192 in net::DownloadThread::update (this=0x8c79678) at ../../src/net/downloadthread.cpp:91
#6  0x0064d1e8 in net::NetworkThread::run (this=0x8c79678) at ../../src/net/networkthread.cpp:48
#7  0x05783da2 in QThreadPrivate::start (arg=0x8c79678) at thread/qthread_unix.cpp:320
#8  0x00acde99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0x04fc173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xab628b70 (LWP 2690)):
#0  0x00536416 in __kernel_vsyscall ()
#1  0x00ad2834 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x04fcf454 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0x05783afe in thread_sleep (ti=<value optimized out>) at thread/qthread_unix.cpp:470
#4  0x05783c53 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:496
#5  0x0064c902 in net::UploadThread::update (this=0x8c799d8) at ../../src/net/uploadthread.cpp:89
#6  0x0064d1e8 in net::NetworkThread::run (this=0x8c799d8) at ../../src/net/networkthread.cpp:48
#7  0x05783da2 in QThreadPrivate::start (arg=0x8c799d8) at thread/qthread_unix.cpp:320
#8  0x00acde99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0x04fc173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xaae27b70 (LWP 2691)):
#0  0x00536416 in __kernel_vsyscall ()
#1  0x04fb0e9b in read () from /lib/i386-linux-gnu/libc.so.6
#2  0x04f59563 in _IO_file_underflow () from /lib/i386-linux-gnu/libc.so.6
#3  0x04f5a72b in _IO_default_uflow () from /lib/i386-linux-gnu/libc.so.6
#4  0x04f5a528 in __uflow () from /lib/i386-linux-gnu/libc.so.6
#5  0x04f4e22c in _IO_getline_info () from /lib/i386-linux-gnu/libc.so.6
#6  0x04f4e171 in _IO_getline () from /lib/i386-linux-gnu/libc.so.6
#7  0x04f4d11a in fgets () from /lib/i386-linux-gnu/libc.so.6
#8  0x0154ee08 in ?? () from /lib/libnss_mdns4.so.2
#9  0x0154f57b in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#10 0x04fd8e02 in gethostbyaddr_r () from /lib/i386-linux-gnu/libc.so.6
#11 0x04fde4e2 in getnameinfo () from /lib/i386-linux-gnu/libc.so.6
#12 0x0064fe4b in net::ReverseResolver::resolve (this=0x9c899d8, addr=...) at ../../src/net/reverseresolver.cpp:64
#13 0x0064fee3 in net::ReverseResolver::run (this=0x9c899d8) at ../../src/net/reverseresolver.cpp:73
#14 0x006502fe in net::ReverseResolverThread::run (this=0x9659b50) at ../../src/net/reverseresolver.cpp:118
#15 0x05783da2 in QThreadPrivate::start (arg=0x9659b50) at thread/qthread_unix.cpp:320
#16 0x00acde99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x04fc173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb7765930 (LWP 2639)):
[KCrash Handler]
#7  0x04f665e1 in ?? () from /lib/i386-linux-gnu/libc.so.6
#8  0x00674b98 in bt::ChunkDownload::piece (this=0x9944590, p=..., ok=@0xbff5a54f) at /usr/include/bits/string3.h:52
#9  0x006798ea in bt::Downloader::pieceReceived (this=0x90375c8, p=...) at ../../src/download/downloader.cpp:134
#10 0x00662e7f in bt::PeerManager::pieceReceived (this=0x904f3d0, p=...) at ../../src/peer/peermanager.cpp:671
#11 0x00661a92 in bt::Peer::packetReady (this=0x99f23d0, packet=0x9f209c8 "\a", len=16393) at ../../src/peer/peer.cpp:283
#12 0x0066a959 in bt::PacketReader::update (this=0x9ade128) at ../../src/peer/packetreader.cpp:141
#13 0x0065f6f9 in bt::Peer::update (this=0x99f23d0) at ../../src/peer/peer.cpp:538
#14 0x006647ea in bt::PeerManager::update (this=0x904f3d0) at ../../src/peer/peermanager.cpp:144
#15 0x00696d2d in bt::TorrentControl::update (this=0x9014588) at ../../src/torrent/torrentcontrol.cpp:163
#16 0x0806a063 in kt::Core::update (this=0x8d4f2e0) at ../../ktorrent/core.cpp:1025
#17 0x08070895 in kt::Core::qt_metacall (this=0x8d4f2e0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbff5a8cc) at ./core.moc:169
#18 0x0587e6ba in QMetaObject::metacall (object=0x8d4f2e0, cl=QMetaObject::InvokeMetaMethod, idx=22, argv=0xbff5a8cc) at kernel/qmetaobject.cpp:237
#19 0x0588e4ff in QMetaObject::activate (sender=0x8d4f2f4, m=0x59b35a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#20 0x058db2f7 in QTimer::timeout (this=0x8d4f2f4) at .moc/release-shared/moc_qtimer.cpp:134
#21 0x058943ee in QTimer::timerEvent (this=0x8d4f2f4, e=0xbff5adcc) at kernel/qtimer.cpp:271
#22 0x0588d214 in QObject::event (this=0x8d4f2f4, e=0xbff5adcc) at kernel/qobject.cpp:1190
#23 0x03c15d24 in QApplicationPrivate::notify_helper (this=0x8ccfb90, receiver=0x8d4f2f4, e=0xbff5adcc) at kernel/qapplication.cpp:4462
#24 0x03c1a8ce in QApplication::notify (this=0xbff5b0f0, receiver=0x8d4f2f4, e=0xbff5adcc) at kernel/qapplication.cpp:3862
#25 0x08077a57 in kt::App::notify (this=0xbff5b0f0, receiver=0x8d4f2f4, event=0xbff5adcc) at ../../ktorrent/app.cpp:97
#26 0x058780bb in QCoreApplication::notifyInternal (this=0xbff5b0f0, receiver=0x8d4f2f4, event=0xbff5adcc) at kernel/qcoreapplication.cpp:731
#27 0x058a81e4 in sendEvent (this=0x8cca534) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QTimerInfoList::activateTimers (this=0x8cca534) at kernel/qeventdispatcher_unix.cpp:604
#29 0x058a4e27 in timerSourceDispatch (source=0x8cca568) at kernel/qeventdispatcher_glib.cpp:184
#30 idleTimerSourceDispatch (source=0x8cca568) at kernel/qeventdispatcher_glib.cpp:231
#31 0x01425aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0x01426270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0x01426524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0x058a553c in QEventDispatcherGlib::processEvents (this=0x8c73aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#35 0x03ccc1e5 in QGuiEventDispatcherGlib::processEvents (this=0x8c73aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x05877289 in QEventLoop::processEvents (this=0xbff5b064, flags=...) at kernel/qeventloop.cpp:149
#37 0x05877522 in QEventLoop::exec (this=0xbff5b064, flags=...) at kernel/qeventloop.cpp:201
#38 0x0587becc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#39 0x03c138e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#40 0x08067221 in main (argc=) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 280047, bug 279462, bug 278888, bug 278416, bug 275847.

Reported using DrKonqi
Comment 1 simone.sd 2011-08-19 22:03:23 UTC
Created attachment 62990 [details]
New crash information added by DrKonqi

ktorrent (4.0.5) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

the same... after 5 min crash

-- Backtrace (Reduced):
#8  0x0028cb98 in bt::ChunkDownload::piece (this=0xa9ba480, p=..., ok=@0xbfcd8e3f) at /usr/include/bits/string3.h:52
#9  0x002918ea in bt::Downloader::pieceReceived (this=0xa186730, p=...) at ../../src/download/downloader.cpp:134
#10 0x0027ae7f in bt::PeerManager::pieceReceived (this=0xa19d1c0, p=...) at ../../src/peer/peermanager.cpp:671
#11 0x00279a92 in bt::Peer::packetReady (this=0xac42620, packet=0xafc95ff0 "\a", len=16393) at ../../src/peer/peer.cpp:283
#12 0x00282959 in bt::PacketReader::update (this=0xb2223a8) at ../../src/peer/packetreader.cpp:141
Comment 2 simone.sd 2011-08-19 22:09:17 UTC
Created attachment 62991 [details]
New crash information added by DrKonqi

ktorrent (4.0.5) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

Application: KTorrent (ktorrent), signal: Bus error
[Current thread is 1 (Thread 0xb77b9930 (LWP 3032))]

Thread 6 (Thread 0xb4fc8b70 (LWP 3034)):
#0  0x009cc416 in __kernel_vsyscall ()
#1  0x00910681 in select () from /lib/i386-linux-gnu/libc.so.6
#2  0x006b3291 in dht::RPCServerThread::run (this=0x9f193d0) at ../../src/dht/rpcserver.cpp:107
#3  0x07077da2 in QThreadPrivate::start (arg=0x9f193d0) at thread/qthread_unix.cpp:320
#4  0x00d7ce99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#5  0x0091773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xa9a0fb70 (LWP 3047)):
#0  0x009cc416 in __kernel_vsyscall ()
#1  0x00d81834 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00925454 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0x07077afe in thread_sleep (ti=<value optimized out>) at thread/qthread_unix.cpp:470
#4  0x07077c53 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:496
#5  0x00652192 in net::DownloadThread::update (this=0x9ec5678) at ../../src/net/downloadthread.cpp:91
#6  0x006521e8 in net::NetworkThread::run (this=0x9ec5678) at ../../src/net/networkthread.cpp:48
#7  0x07077da2 in QThreadPrivate::start (arg=0x9ec5678) at thread/qthread_unix.cpp:320
#8  0x00d7ce99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0x0091773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xa920eb70 (LWP 3048)):
#0  0x009cc416 in __kernel_vsyscall ()
#1  0x00d81834 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00925454 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0x07077afe in thread_sleep (ti=<value optimized out>) at thread/qthread_unix.cpp:470
#4  0x07077c53 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:496
#5  0x00651902 in net::UploadThread::update (this=0x9ec59d8) at ../../src/net/uploadthread.cpp:89
#6  0x006521e8 in net::NetworkThread::run (this=0x9ec59d8) at ../../src/net/networkthread.cpp:48
#7  0x07077da2 in QThreadPrivate::start (arg=0x9ec59d8) at thread/qthread_unix.cpp:320
#8  0x00d7ce99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0x0091773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xa8a0db70 (LWP 3049)):
#0  0x009cc416 in __kernel_vsyscall ()
#1  0x00906e9b in read () from /lib/i386-linux-gnu/libc.so.6
#2  0x008af563 in _IO_file_underflow () from /lib/i386-linux-gnu/libc.so.6
#3  0x008b072b in _IO_default_uflow () from /lib/i386-linux-gnu/libc.so.6
#4  0x008b0528 in __uflow () from /lib/i386-linux-gnu/libc.so.6
#5  0x008a422c in _IO_getline_info () from /lib/i386-linux-gnu/libc.so.6
#6  0x008a4171 in _IO_getline () from /lib/i386-linux-gnu/libc.so.6
#7  0x008a311a in fgets () from /lib/i386-linux-gnu/libc.so.6
#8  0x0384ee08 in ?? () from /lib/libnss_mdns4.so.2
#9  0x0384f57b in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#10 0x0092ee02 in gethostbyaddr_r () from /lib/i386-linux-gnu/libc.so.6
#11 0x009344e2 in getnameinfo () from /lib/i386-linux-gnu/libc.so.6
#12 0x00654e4b in net::ReverseResolver::resolve (this=0xa7e52f8, addr=...) at ../../src/net/reverseresolver.cpp:64
#13 0x00654ee3 in net::ReverseResolver::run (this=0xa7e52f8) at ../../src/net/reverseresolver.cpp:73
#14 0x006552fe in net::ReverseResolverThread::run (this=0xaa6e990) at ../../src/net/reverseresolver.cpp:118
#15 0x07077da2 in QThreadPrivate::start (arg=0xaa6e990) at thread/qthread_unix.cpp:320
#16 0x00d7ce99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x0091773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa7941b70 (LWP 3061)):
#0  0x0085dc6f in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0x0817a4aa in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x0817b03a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0817b524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x07199577 in QEventDispatcherGlib::processEvents (this=0xaa7bcb8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x0716b289 in QEventLoop::processEvents (this=0xa7941290, flags=...) at kernel/qeventloop.cpp:149
#6  0x0716b522 in QEventLoop::exec (this=0xa7941290, flags=...) at kernel/qeventloop.cpp:201
#7  0x070752a0 in QThread::exec (this=0xa8b8190) at thread/qthread.cpp:492
#8  0x0714cfdb in QInotifyFileSystemWatcherEngine::run (this=0xa8b8190) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x07077da2 in QThreadPrivate::start (arg=0xa8b8190) at thread/qthread_unix.cpp:320
#10 0x00d7ce99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x0091773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb77b9930 (LWP 3032)):
[KCrash Handler]
#7  0x008bc5e1 in ?? () from /lib/i386-linux-gnu/libc.so.6
#8  0x00679b98 in bt::ChunkDownload::piece (this=0xa8e42c8, p=..., ok=@0xbfc45f0f) at /usr/include/bits/string3.h:52
#9  0x0067e8ea in bt::Downloader::pieceReceived (this=0xa2d3cd0, p=...) at ../../src/download/downloader.cpp:134
#10 0x00667e7f in bt::PeerManager::pieceReceived (this=0xa02c1a0, p=...) at ../../src/peer/peermanager.cpp:671
#11 0x00666a92 in bt::Peer::packetReady (this=0xaa54040, packet=0xb2c5430 "\a", len=16393) at ../../src/peer/peer.cpp:283
#12 0x0066f959 in bt::PacketReader::update (this=0xaaa80a8) at ../../src/peer/packetreader.cpp:141
#13 0x006646f9 in bt::Peer::update (this=0xaa54040) at ../../src/peer/peer.cpp:538
#14 0x006697ea in bt::PeerManager::update (this=0xa02c1a0) at ../../src/peer/peermanager.cpp:144
#15 0x0069bd2d in bt::TorrentControl::update (this=0xa2b3978) at ../../src/torrent/torrentcontrol.cpp:163
#16 0x0806a063 in kt::Core::update (this=0x9f9ac18) at ../../ktorrent/core.cpp:1025
#17 0x08070895 in kt::Core::qt_metacall (this=0x9f9ac18, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfc4628c) at ./core.moc:169
#18 0x071726ba in QMetaObject::metacall (object=0x9f9ac18, cl=QMetaObject::InvokeMetaMethod, idx=22, argv=0xbfc4628c) at kernel/qmetaobject.cpp:237
#19 0x071824ff in QMetaObject::activate (sender=0x9f9ac2c, m=0x72a75a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#20 0x071cf2f7 in QTimer::timeout (this=0x9f9ac2c) at .moc/release-shared/moc_qtimer.cpp:134
#21 0x071883ee in QTimer::timerEvent (this=0x9f9ac2c, e=0xbfc4678c) at kernel/qtimer.cpp:271
#22 0x07181214 in QObject::event (this=0x9f9ac2c, e=0xbfc4678c) at kernel/qobject.cpp:1190
#23 0x08eded24 in QApplicationPrivate::notify_helper (this=0x9f1d718, receiver=0x9f9ac2c, e=0xbfc4678c) at kernel/qapplication.cpp:4462
#24 0x08ee38ce in QApplication::notify (this=0xbfc46ab0, receiver=0x9f9ac2c, e=0xbfc4678c) at kernel/qapplication.cpp:3862
#25 0x08077a57 in kt::App::notify (this=0xbfc46ab0, receiver=0x9f9ac2c, event=0xbfc4678c) at ../../ktorrent/app.cpp:97
#26 0x0716c0bb in QCoreApplication::notifyInternal (this=0xbfc46ab0, receiver=0x9f9ac2c, event=0xbfc4678c) at kernel/qcoreapplication.cpp:731
#27 0x0719c1e4 in sendEvent (this=0x9f1d1b4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QTimerInfoList::activateTimers (this=0x9f1d1b4) at kernel/qeventdispatcher_unix.cpp:604
#29 0x07198e27 in timerSourceDispatch (source=0x9f1d1e8) at kernel/qeventdispatcher_glib.cpp:184
#30 idleTimerSourceDispatch (source=0x9f1d1e8) at kernel/qeventdispatcher_glib.cpp:231
#31 0x0817aaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0x0817b270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0x0817b524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0x0719953c in QEventDispatcherGlib::processEvents (this=0x9ebfaa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#35 0x08f951e5 in QGuiEventDispatcherGlib::processEvents (this=0x9ebfaa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x0716b289 in QEventLoop::processEvents (this=0xbfc46a24, flags=...) at kernel/qeventloop.cpp:149
#37 0x0716b522 in QEventLoop::exec (this=0xbfc46a24, flags=...) at kernel/qeventloop.cpp:201
#38 0x0716fecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#39 0x08edc8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#40 0x08067221 in main (argc=) at ../../ktorrent/main.cpp:176

-- Backtrace (Reduced):
#8  0x00679b98 in bt::ChunkDownload::piece (this=0xa8e42c8, p=..., ok=@0xbfc45f0f) at /usr/include/bits/string3.h:52
#9  0x0067e8ea in bt::Downloader::pieceReceived (this=0xa2d3cd0, p=...) at ../../src/download/downloader.cpp:134
#10 0x00667e7f in bt::PeerManager::pieceReceived (this=0xa02c1a0, p=...) at ../../src/peer/peermanager.cpp:671
#11 0x00666a92 in bt::Peer::packetReady (this=0xaa54040, packet=0xb2c5430 "\a", len=16393) at ../../src/peer/peer.cpp:283
#12 0x0066f959 in bt::PacketReader::update (this=0xaaa80a8) at ../../src/peer/packetreader.cpp:141
Comment 3 Joris Guisson 2011-08-20 10:41:49 UTC
Upgrade to 4.1.2

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