Bug 223561 - ktorrent crashed while downloading [memcpy - QByteArray - bt::SHA1HashGen::update ]
Summary: ktorrent crashed while downloading [memcpy - QByteArray - bt::SHA1HashGen::up...
Status: RESOLVED DUPLICATE of bug 213307
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-20 12:33 UTC by PC LX
Modified: 2010-01-20 12:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PC LX 2010-01-20 12:33:39 UTC
Application that crashed: ktorrent
Version of the application: 3.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.6-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.0"

What I was doing when the application crashed:
ktorrent was downloading files when it crashed. No ktorrent windows where open and there was only the icon in the panel.

It is the first time ktorrent has crashed on me like this and I don't know how to reproduce it.

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

Thread 6 (Thread 0x7ffce8792910 (LWP 3447)):
#0  0x00007ffcf2c98fc2 in select () from /lib64/libc.so.6
#1  0x00007ffcf6308a19 in dht::RPCServerThread::run (this=0x1aa0100) at /usr/src/debug/ktorrent-3.3.2/libbtcore/dht/rpcserver.cpp:107
#2  0x00007ffcf44dfca5 in QThreadPrivate::start (arg=0x1aa0100) at thread/qthread_unix.cpp:188
#3  0x00007ffcf42717cd in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffcf2ca037d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ffcd9edc910 (LWP 3623)):
#0  0x00007ffcf2c967f3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ffced4fd88f in poll_func (ufds=0x1c3a750, nfds=1, timeout=-1, userdata=0x3242860) at pulse/thread-mainloop.c:75
#2  0x00007ffced4edb76 in pa_mainloop_poll (m=0x3242750) at pulse/mainloop.c:879
#3  0x00007ffced4eef59 in pa_mainloop_iterate (m=0x3242750, block=<value optimized out>, retval=0x0) at pulse/mainloop.c:961
#4  0x00007ffced4ef010 in pa_mainloop_run (m=0x3242750, retval=0x0) at pulse/mainloop.c:979
#5  0x00007ffced4fd79b in thread (userdata=0x3242680) at pulse/thread-mainloop.c:94
#6  0x00007ffceca7f158 in internal_thread_func (userdata=0x3242920) at pulsecore/thread-posix.c:72
#7  0x00007ffcf42717cd in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffcf2ca037d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ffce6b37910 (LWP 3697)):
#0  0x00007ffcf42760dd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffcf44df735 in thread_sleep (ti=0x7ffce6b37040) at thread/qthread_unix.cpp:297
#2  0x00007ffcf44df8a0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x00007ffcf62af9a3 in net::DownloadThread::update (this=0x1a5b930) at /usr/src/debug/ktorrent-3.3.2/libbtcore/net/downloadthread.cpp:110
#4  0x00007ffcf62b0139 in net::NetworkThread::run (this=0x1a5b930) at /usr/src/debug/ktorrent-3.3.2/libbtcore/net/networkthread.cpp:48
#5  0x00007ffcf44dfca5 in QThreadPrivate::start (arg=0x1a5b930) at thread/qthread_unix.cpp:188
#6  0x00007ffcf42717cd in start_thread () from /lib64/libpthread.so.0
#7  0x00007ffcf2ca037d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ffce8f93910 (LWP 3698)):
#0  0x00007ffcf4275e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffcf44e0d5b in QWaitCondition::wait (this=<value optimized out>, mutex=0x1a5bf10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007ffcf62af038 in net::UploadThread::update (this=0x1a5bea0) at /usr/src/debug/ktorrent-3.3.2/libbtcore/net/uploadthread.cpp:73
#3  0x00007ffcf62b0139 in net::NetworkThread::run (this=0x1a5bea0) at /usr/src/debug/ktorrent-3.3.2/libbtcore/net/networkthread.cpp:48
#4  0x00007ffcf44dfca5 in QThreadPrivate::start (arg=0x1a5bea0) at thread/qthread_unix.cpp:188
#5  0x00007ffcf42717cd in start_thread () from /lib64/libpthread.so.0
#6  0x00007ffcf2ca037d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffce7338910 (LWP 3699)):
#0  0x00007ffcf4275e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffcf44e0d5b in QWaitCondition::wait (this=<value optimized out>, mutex=0x2b86370, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007ffcf62b2d92 in net::ReverseResolverThread::run (this=0x2b86360) at /usr/src/debug/ktorrent-3.3.2/libbtcore/net/reverseresolver.cpp:120
#3  0x00007ffcf44dfca5 in QThreadPrivate::start (arg=0x2b86360) at thread/qthread_unix.cpp:188
#4  0x00007ffcf42717cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007ffcf2ca037d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffcf6775710 (LWP 3444)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007ffcf44e207f in QByteArray (this=0x7fff459d9a20, data=0x7ffce5b35504 "�`)��\vy�~�\206\234\0320��fS�\203E!�\a", size=16384) at /usr/include/bits/string3.h:52
#7  0x00007ffcf629a9dd in bt::SHA1HashGen::update (this=0x4273f00, data=0x7ffce5b36000 "", len=16384) at /usr/src/debug/ktorrent-3.3.2/libbtcore/util/sha1hashgen.cpp:238
#8  0x00007ffcf62cd632 in bt::ChunkDownload::updateHash (this=0x4273e40) at /usr/src/debug/ktorrent-3.3.2/libbtcore/download/chunkdownload.cpp:572
#9  0x00007ffcf62ce4a3 in bt::ChunkDownload::piece (this=0x4273e40, p=@0x7fff459d9b80, ok=<value optimized out>) at /usr/src/debug/ktorrent-3.3.2/libbtcore/download/chunkdownload.cpp:139
#10 0x00007ffcf62d52ee in bt::Downloader::pieceReceived (this=0x270a630, p=@0x7fff459d9b80) at /usr/src/debug/ktorrent-3.3.2/libbtcore/download/downloader.cpp:136
#11 0x00007ffcf62bcf91 in bt::Peer::packetReady (this=0x40dfe80, packet=0x442bb70 "\a", len=<value optimized out>) at /usr/src/debug/ktorrent-3.3.2/libbtcore/peer/peer.cpp:268
#12 0x00007ffcf62c6268 in bt::PacketReader::update (this=0x38e6530) at /usr/src/debug/ktorrent-3.3.2/libbtcore/peer/packetreader.cpp:141
#13 0x00007ffcf62bcce5 in bt::Peer::update (this=0x40dfe80) at /usr/src/debug/ktorrent-3.3.2/libbtcore/peer/peer.cpp:462
#14 0x00007ffcf62c0960 in bt::PeerManager::update (this=0x26f5790) at /usr/src/debug/ktorrent-3.3.2/libbtcore/peer/peermanager.cpp:119
#15 0x00007ffcf62ee33a in bt::TorrentControl::update (this=0x26f7310) at /usr/src/debug/ktorrent-3.3.2/libbtcore/torrent/torrentcontrol.cpp:150
#16 0x000000000042ea6b in kt::Core::update (this=0x1b25750) at /usr/src/debug/ktorrent-3.3.2/ktorrent/core.cpp:853
#17 0x000000000043490f in kt::Core::qt_metacall (this=0x1b25750, _c=QMetaObject::InvokeMetaMethod, _id=216, _a=0x7fff459d9f00) at /usr/src/debug/ktorrent-3.3.2/build/ktorrent/core.moc:147
#18 0x00007ffcf45da88c in QMetaObject::activate (sender=0x1b25778, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x6a0) at kernel/qobject.cpp:3112
#19 0x00007ffcf45d4833 in QObject::event (this=0x1b25778, e=0x7ffce5b36000) at kernel/qobject.cpp:1074
#20 0x00007ffcf385912c in QApplicationPrivate::notify_helper (this=0x1a9a1b0, receiver=0x1b25778, e=0x7fff459da500) at kernel/qapplication.cpp:4065
#21 0x00007ffcf38603fe in QApplication::notify (this=0x7fff459da830, receiver=0x1b25778, e=0x7fff459da500) at kernel/qapplication.cpp:4030
#22 0x00007ffcf547a2d6 in KApplication::notify (this=0x7fff459da830, receiver=0x1b25778, event=0x7fff459da500) at /usr/src/debug/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#23 0x00007ffcf45c56ac in QCoreApplication::notifyInternal (this=0x7fff459da830, receiver=0x1b25778, event=0x7fff459da500) at kernel/qcoreapplication.cpp:610
#24 0x00007ffcf45f04e2 in QTimerInfoList::activateTimers (this=0x1a95ab0) at ../../src/corelib/kernel/qcoreapplication.h:213
#25 0x00007ffcf45edf48 in idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#26 0x00007ffceec644ce in IA__g_main_context_dispatch (context=0x1a94930) at gmain.c:1960
#27 0x00007ffceec67e98 in g_main_context_iterate (context=0x1a94930, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#28 0x00007ffceec67fc0 in IA__g_main_context_iteration (context=0x1a94930, may_block=1) at gmain.c:2654
#29 0x00007ffcf45edc73 in QEventDispatcherGlib::processEvents (this=0x1a584d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:406
#30 0x00007ffcf38ec64e in QGuiEventDispatcherGlib::processEvents (this=0x403b1e4, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#31 0x00007ffcf45c3fe2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007ffcf45c43b4 in QEventLoop::exec (this=0x7fff459da7a0, flags=) at kernel/qeventloop.cpp:201
#33 0x00007ffcf45c6569 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#34 0x0000000000424bf4 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/ktorrent-3.3.2/ktorrent/main.cpp:172

This bug may be a duplicate of or related to bug 213307

Reported using DrKonqi
Comment 1 PC LX 2010-01-20 12:35:39 UTC

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