Bug 274211 - KTorrent segfaults
Summary: KTorrent segfaults
Status: RESOLVED DUPLICATE of bug 268162
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-05-26 18:22 UTC by Marco Gonçalves
Modified: 2011-05-27 18:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Gonçalves 2011-05-26 18:22:14 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-8-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
KTorrent segfaults randomly, seconds or sometimes hours after started

The crash can be reproduced some of the time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0xb76fa930 (LWP 3214))]

Thread 5 (Thread 0xb56c2b70 (LWP 3237)):
#0  0x0031b416 in __kernel_vsyscall ()
#1  0x01217834 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00928454 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0827aafe in thread_sleep (ti=<value optimized out>) at thread/qthread_unix.cpp:470
#4  0x0827ac53 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:496
#5  0x004ef192 in net::DownloadThread::update (this=0x9063678) at ../../src/net/downloadthread.cpp:91
#6  0x004ef1e8 in net::NetworkThread::run (this=0x9063678) at ../../src/net/networkthread.cpp:48
#7  0x0827ada2 in QThreadPrivate::start (arg=0x9063678) at thread/qthread_unix.cpp:320
#8  0x01212e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0x0091a73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xac335b70 (LWP 3238)):
#0  0x0031b416 in __kernel_vsyscall ()
#1  0x01217834 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00928454 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0827aafe in thread_sleep (ti=<value optimized out>) at thread/qthread_unix.cpp:470
#4  0x0827ac53 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:496
#5  0x004ee902 in net::UploadThread::update (this=0x90639d8) at ../../src/net/uploadthread.cpp:89
#6  0x004ef1e8 in net::NetworkThread::run (this=0x90639d8) at ../../src/net/networkthread.cpp:48
#7  0x0827ada2 in QThreadPrivate::start (arg=0x90639d8) at thread/qthread_unix.cpp:320
#8  0x01212e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0x0091a73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xad337b70 (LWP 3239)):
#0  0x0031b416 in __kernel_vsyscall ()
#1  0x0121748c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x009283fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0827b467 in wait (this=0x983deac, mutex=0x983dea8, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x983deac, mutex=0x983dea8, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x004f23af in net::ReverseResolverThread::run (this=0x983dea0) at ../../src/net/reverseresolver.cpp:123
#6  0x0827ada2 in QThreadPrivate::start (arg=0x983dea0) at thread/qthread_unix.cpp:320
#7  0x01212e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0091a73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa8b2eb70 (LWP 3240)):
#0  0x019b0d41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x082d0dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0839d4f2 in updateCurrentTime (this=0x97a27bc, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x97a27bc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0839bd32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa8b2e0dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0839bdcd in timerSourcePrepare (source=0x97a2788, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0113dfd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x0113ee63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x0113f524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x0839c577 in QEventDispatcherGlib::processEvents (this=0x983a510, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x0836e289 in QEventLoop::processEvents (this=0xa8b2e290, flags=...) at kernel/qeventloop.cpp:149
#12 0x0836e522 in QEventLoop::exec (this=0xa8b2e290, flags=...) at kernel/qeventloop.cpp:201
#13 0x082782a0 in QThread::exec (this=0xb1092360) at thread/qthread.cpp:492
#14 0x0834ffdb in QInotifyFileSystemWatcherEngine::run (this=0xb1092360) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x0827ada2 in QThreadPrivate::start (arg=0xb1092360) at thread/qthread_unix.cpp:320
#16 0x01212e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x0091a73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb76fa930 (LWP 3214)):
[KCrash Handler]
#7  0x0095ebc7 in ?? () from /lib/i386-linux-gnu/libc.so.6
#8  0x02bba016 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x02bd1167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#10 0x004d84d9 in bt::SHA1HashGen::update (this=0x9688710, data=0xafbfc950 "H", len=16384) at ../../src/util/sha1hashgen.cpp:240
#11 0x00514ec8 in bt::ChunkDownload::updateHash (this=0x96886a0) at ../../src/download/chunkdownload.cpp:555
#12 0x00516c21 in bt::ChunkDownload::piece (this=0x96886a0, p=..., ok=@0xbfa86f1f) at ../../src/download/chunkdownload.cpp:127
#13 0x0051b8ea in bt::Downloader::pieceReceived (this=0x9305858, p=...) at ../../src/download/downloader.cpp:134
#14 0x00504e7f in bt::PeerManager::pieceReceived (this=0x92f7768, p=...) at ../../src/peer/peermanager.cpp:671
#15 0x00503a92 in bt::Peer::packetReady (this=0x99eec38, packet=0x9a791e0 "\a", len=9) at ../../src/peer/peer.cpp:283
#16 0x0050c959 in bt::PacketReader::update (this=0x9b4ee28) at ../../src/peer/packetreader.cpp:141
#17 0x005016f9 in bt::Peer::update (this=0x99eec38) at ../../src/peer/peer.cpp:538
#18 0x005067ea in bt::PeerManager::update (this=0x92f7768) at ../../src/peer/peermanager.cpp:144
#19 0x00538d2d in bt::TorrentControl::update (this=0x92ddb68) at ../../src/torrent/torrentcontrol.cpp:163
#20 0x0806a063 in kt::Core::update (this=0x91524c0) at ../../ktorrent/core.cpp:1025
#21 0x08070895 in kt::Core::qt_metacall (this=0x91524c0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfa8729c) at ./core.moc:169
#22 0x083756ba in QMetaObject::metacall (object=0x91524c0, cl=QMetaObject::InvokeMetaMethod, idx=22, argv=0xbfa8729c) at kernel/qmetaobject.cpp:237
#23 0x083854ff in QMetaObject::activate (sender=0x91524d4, m=0x84aa5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#24 0x083d22f7 in QTimer::timeout (this=0x91524d4) at .moc/release-shared/moc_qtimer.cpp:134
#25 0x0838b3ee in QTimer::timerEvent (this=0x91524d4, e=0xbfa8779c) at kernel/qtimer.cpp:271
#26 0x08384214 in QObject::event (this=0x91524d4, e=0xbfa8779c) at kernel/qobject.cpp:1190
#27 0x02ff3d24 in QApplicationPrivate::notify_helper (this=0x90b4cc8, receiver=0x91524d4, e=0xbfa8779c) at kernel/qapplication.cpp:4462
#28 0x02ff88ce in QApplication::notify (this=0xbfa87ac0, receiver=0x91524d4, e=0xbfa8779c) at kernel/qapplication.cpp:3862
#29 0x08077a57 in kt::App::notify (this=0xbfa87ac0, receiver=0x91524d4, event=0xbfa8779c) at ../../ktorrent/app.cpp:97
#30 0x0836f0bb in QCoreApplication::notifyInternal (this=0xbfa87ac0, receiver=0x91524d4, event=0xbfa8779c) at kernel/qcoreapplication.cpp:731
#31 0x0839f1e4 in sendEvent (this=0x90b4874) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QTimerInfoList::activateTimers (this=0x90b4874) at kernel/qeventdispatcher_unix.cpp:604
#33 0x0839bdf4 in timerSourceDispatch (source=0x90b4840) at kernel/qeventdispatcher_glib.cpp:184
#34 0x0113eaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0x0113f270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0x0113f524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x0839c53c in QEventDispatcherGlib::processEvents (this=0x905daa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#38 0x030a7775 in QGuiEventDispatcherGlib::processEvents (this=0x905daa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x0836e289 in QEventLoop::processEvents (this=0xbfa87a34, flags=...) at kernel/qeventloop.cpp:149
#40 0x0836e522 in QEventLoop::exec (this=0xbfa87a34, flags=...) at kernel/qeventloop.cpp:201
#41 0x08372ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#42 0x02ff18e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#43 0x08067221 in main (argc=) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 274114, bug 273789, bug 273240, bug 272937, bug 272289.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-05-27 18:05:02 UTC

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