Bug 251303 - Ktorrent crash
Summary: Ktorrent crash
Status: RESOLVED DUPLICATE of bug 247984
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-15 12:37 UTC by thanosk
Modified: 2010-09-16 19:54 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 thanosk 2010-09-15 12:37:41 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.34.6-54.fc13.i686.PAE i686
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
Ktorrent crashed while downloading. It was running for over 3 days

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

Thread 4 (Thread 0xb55ffb70 (LWP 9553)):
#0  0x00766424 in __kernel_vsyscall ()
#1  0x00464091 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x0686b8d5 in dht::RPCServerThread::run (this=0x9728998) at /usr/src/debug/libktorrent-1.0.3/src/dht/rpcserver.cpp:107
#3  0x071a474f in QThreadPrivate::start (arg=0x9728998) at thread/qthread_unix.cpp:248
#4  0x00529919 in start_thread (arg=0xb55ffb70) at pthread_create.c:301
#5  0x0046bcbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xab07eb70 (LWP 9576)):
#0  net::DownloadThread::waitForSocketReady (this=0x966b8c0) at /usr/src/debug/libktorrent-1.0.3/src/net/downloadthread.cpp:121
#1  0x0680f060 in net::DownloadThread::update (this=0x966b8c0) at /usr/src/debug/libktorrent-1.0.3/src/net/downloadthread.cpp:48
#2  0x0680fa18 in net::NetworkThread::run (this=0x966b8c0) at /usr/src/debug/libktorrent-1.0.3/src/net/networkthread.cpp:48
#3  0x071a474f in QThreadPrivate::start (arg=0x966b8c0) at thread/qthread_unix.cpp:248
#4  0x00529919 in start_thread (arg=0xab07eb70) at pthread_create.c:301
#5  0x0046bcbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xaa67db70 (LWP 9577)):
#0  0x00766424 in __kernel_vsyscall ()
#1  0x0052d5d4 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:236
#2  0x071a400f in thread_sleep (ti=<value optimized out>) at thread/qthread_unix.cpp:398
#3  0x071a4164 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:424
#4  0x0680ea32 in net::UploadThread::update (this=0x966bcc8) at /usr/src/debug/libktorrent-1.0.3/src/net/uploadthread.cpp:89
#5  0x0680fa18 in net::NetworkThread::run (this=0x966bcc8) at /usr/src/debug/libktorrent-1.0.3/src/net/networkthread.cpp:48
#6  0x071a474f in QThreadPrivate::start (arg=0x966bcc8) at thread/qthread_unix.cpp:248
#7  0x00529919 in start_thread (arg=0xaa67db70) at pthread_create.c:301
#8  0x0046bcbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb76de780 (LWP 9550)):
[KCrash Handler]
#6  __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:730
#7  0x03a400a6 in Private (this=0xbfe7d7a8, from=...) at /usr/include/bits/string3.h:52
#8  QCA::MemoryRegion::MemoryRegion (this=0xbfe7d7a8, from=...) at qca_tools.cpp:445
#9  0x03a58347 in QCA::Hash::update (this=0xaf7f340, a=...) at qca_basic.cpp:215
#10 0x067f8e11 in bt::SHA1HashGen::update (this=0xa818f18, 
    data=0xb4813d10 "(\353\227P\203\315\311\315\300\202\204\r\037\231GRv\366|\226Xv1[|\006\241K!\032\200\346\023l\f\256C\031\032\334z\332\340\224~[IR\302\266\316\310P.\274\025`\217\240", len=16384)
    at /usr/src/debug/libktorrent-1.0.3/src/util/sha1hashgen.cpp:240
#11 0x0683110d in bt::ChunkDownload::updateHash (this=0xa818ea8) at /usr/src/debug/libktorrent-1.0.3/src/download/chunkdownload.cpp:555
#12 0x068324a4 in bt::ChunkDownload::piece (this=0xa818ea8, p=..., ok=@0xbfe7d95f) at /usr/src/debug/libktorrent-1.0.3/src/download/chunkdownload.cpp:127
#13 0x068386a1 in bt::Downloader::pieceReceived (this=0x9c3bbe0, p=...) at /usr/src/debug/libktorrent-1.0.3/src/download/downloader.cpp:134
#14 0x0681fe50 in bt::PeerManager::pieceReceived (this=0x9a98e90, p=...) at /usr/src/debug/libktorrent-1.0.3/src/peer/peermanager.cpp:674
#15 0x0681e7d2 in bt::Peer::packetReady (this=0xb073208, packet=0xb074e8b0 "\a", len=16393) at /usr/src/debug/libktorrent-1.0.3/src/peer/peer.cpp:283
#16 0x06827f09 in bt::PacketReader::update (this=0xacde758) at /usr/src/debug/libktorrent-1.0.3/src/peer/packetreader.cpp:141
#17 0x0681d421 in bt::Peer::update (this=0xb073208) at /usr/src/debug/libktorrent-1.0.3/src/peer/peer.cpp:538
#18 0x06822600 in bt::PeerManager::update (this=0x9a98e90) at /usr/src/debug/libktorrent-1.0.3/src/peer/peermanager.cpp:144
#19 0x0685035e in bt::TorrentControl::update (this=0x9a975e0) at /usr/src/debug/libktorrent-1.0.3/src/torrent/torrentcontrol.cpp:163
#20 0x08068f34 in kt::Core::update (this=0x971f400) at /usr/src/debug/ktorrent-4.0.3/ktorrent/core.cpp:1030
#21 0x0807103d in kt::Core::qt_metacall (this=0x971f400, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfe7dcfc) at /usr/src/debug/ktorrent-4.0.3/i686-redhat-linux-gnu/ktorrent/core.moc:167
#22 0x0729abcb in QMetaObject::metacall (object=0x971f400, cl=QMetaObject::InvokeMetaMethod, idx=22, argv=0xbfe7dcfc) at kernel/qmetaobject.cpp:237
#23 0x072a9a75 in QMetaObject::activate (sender=0x971f414, m=0x73aba44, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3295
#24 0x072f2918 in QTimer::timeout (this=0x971f414) at .moc/release-shared/moc_qtimer.cpp:134
#25 0x072af96e in QTimer::timerEvent (this=0x971f414, e=0xbfe7e200) at kernel/qtimer.cpp:271
#26 0x072a5ee4 in QObject::event (this=0x971f414, e=0xbfe7e200) at kernel/qobject.cpp:1212
#27 0x0557977c in QApplicationPrivate::notify_helper (this=0x968e630, receiver=0x971f414, e=0xbfe7e200) at kernel/qapplication.cpp:4306
#28 0x055801d6 in QApplication::notify (this=0xbfe7e550, receiver=0x971f414, e=0xbfe7e200) at kernel/qapplication.cpp:3710
#29 0x08076fcd in kt::App::notify (this=0xbfe7e550, receiver=0x971f414, event=0xbfe7e200) at /usr/src/debug/ktorrent-4.0.3/ktorrent/app.cpp:97
#30 0x07296133 in QCoreApplication::notifyInternal (this=0xbfe7e550, receiver=0x971f414, event=0xbfe7e200) at kernel/qcoreapplication.cpp:726
#31 0x072c11fe in sendEvent (this=0x9693834) at kernel/qcoreapplication.h:215
#32 QTimerInfoList::activateTimers (this=0x9693834) at kernel/qeventdispatcher_unix.cpp:603
#33 0x072be788 in timerSourceDispatch (source=0x9693868) at kernel/qeventdispatcher_glib.cpp:184
#34 idleTimerSourceDispatch (source=0x9693868) at kernel/qeventdispatcher_glib.cpp:231
#35 0x005e5525 in g_main_dispatch (context=0x9692a90) at gmain.c:1960
#36 IA__g_main_context_dispatch (context=0x9692a90) at gmain.c:2513
#37 0x005e9268 in g_main_context_iterate (context=0x52c490, block=1, dispatch=1, self=0x9690f80) at gmain.c:2591
#38 0x005e9449 in IA__g_main_context_iteration (context=0x9692a90, may_block=1) at gmain.c:2654
#39 0x072be446 in QEventDispatcherGlib::processEvents (this=0x966a650, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#40 0x05628336 in QGuiEventDispatcherGlib::processEvents (this=0x966a650, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x0729480a in QEventLoop::processEvents (this=0xbfe7e4c4, flags=...) at kernel/qeventloop.cpp:149
#42 0x07294b4a in QEventLoop::exec (this=0xbfe7e4c4, flags=...) at kernel/qeventloop.cpp:201
#43 0x07298807 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#44 0x05579828 in QApplication::exec () at kernel/qapplication.cpp:3585
#45 0x08066e88 in main (argc=) at /usr/src/debug/ktorrent-4.0.3/ktorrent/main.cpp:176

Reported using DrKonqi
Comment 1 Joris Guisson 2010-09-16 19:54:32 UTC

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