Bug 213307 - ktorrent crashed in memcpy
Summary: ktorrent crashed in memcpy
Status: RESOLVED DUPLICATE of bug 186621
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:
: 223561 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-05 20:13 UTC by Thomas Fjellstrom
Modified: 2010-01-20 12:35 UTC (History)
2 users (show)

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 Thomas Fjellstrom 2009-11-05 20:13:57 UTC
Application that crashed: ktorrent
Version of the application: 3.3rc1
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31-1-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f4637b85750 (LWP 4616))]

Thread 9 (Thread 0x7f462aed5910 (LWP 4618)):
#0  0x00007f4633becbe2 in select () from /lib/libc.so.6
#1  0x00007f46378035a9 in dht::RPCServerThread::run (this=0x1d49f80) at ../../libbtcore/dht/rpcserver.cpp:107
#2  0x00007f463529c4a5 in QThreadPrivate::start (arg=0x1d49f80) at thread/qthread_unix.cpp:188
#3  0x00007f4630f7273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f4633bf32fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f46235f3910 (LWP 4625)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f463529d499 in QWaitConditionPrivate::wait (this=0x7f4627240600, mutex=0x7f46272405f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x7f4627240600, mutex=0x7f46272405f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f46362993b4 in QHostInfoAgent::run (this=0x7f46272405e0) at kernel/qhostinfo.cpp:260
#4  0x00007f463529c4a5 in QThreadPrivate::start (arg=0x7f46272405e0) at thread/qthread_unix.cpp:188
#5  0x00007f4630f7273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f4633bf32fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f462b6d6910 (LWP 4629)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f4617274ce1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f4630f7273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f4633bf32fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 6 (Thread 0x7f46289b0910 (LWP 4630)):
#0  __pthread_mutex_lock (mutex=0x227b848) at pthread_mutex_lock.c:51
#1  0x00007f46306c9785 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f46306c9b3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f46353aa3b6 in QEventDispatcherGlib::processEvents (this=0x227b760, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007f4635380562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4635380934 in QEventLoop::exec (this=0x7f46289b0000, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f46352995a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f46174cfaec in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f463529c4a5 in QThreadPrivate::start (arg=0x2315690) at thread/qthread_unix.cpp:188
#9  0x00007f4630f7273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f4633bf32fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f46299b2910 (LWP 4634)):
#0  0x00007f4633be83a3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4611363899 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007f4630f7273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f4633bf32fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 4 (Thread 0x7f462a1b3910 (LWP 4635)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f4617285c53 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f4630f7273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f4633bf32fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4609f31910 (LWP 4641)):
#0  0x00007f4633be83a3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f46377aa5e1 in net::DownloadThread::waitForSocketReady (this=0x1d0e120) at ../../libbtcore/net/downloadthread.cpp:188
#2  0x00007f46377aa686 in net::DownloadThread::update (this=0x7f4604075ab0) at ../../libbtcore/net/downloadthread.cpp:53
#3  0x00007f46377ab0c9 in net::NetworkThread::run (this=0x1d0e120) at ../../libbtcore/net/networkthread.cpp:48
#4  0x00007f463529c4a5 in QThreadPrivate::start (arg=0x1d0e120) at thread/qthread_unix.cpp:188
#5  0x00007f4630f7273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f4633bf32fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 2 (Thread 0x7f4609730910 (LWP 4642)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f463529d499 in QWaitConditionPrivate::wait (this=0x1d0e6d8, mutex=0x1d0e6e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x1d0e6d8, mutex=0x1d0e6e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f46377a9fa4 in net::UploadThread::update (this=0x1d0e670) at ../../libbtcore/net/uploadthread.cpp:73
#4  0x00007f46377ab0c9 in net::NetworkThread::run (this=0x1d0e670) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007f463529c4a5 in QThreadPrivate::start (arg=0x1d0e670) at thread/qthread_unix.cpp:188
#6  0x00007f4630f7273a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f4633bf32fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 1 (Thread 0x7f4637b85750 (LWP 4616)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007f463529e85e in QByteArray (this=0x7fffc09dff60, data=0x7f4628a03000 "\330\237\377w\a\222\325\366\344^\333\245\207", size=16384) at tools/qbytearray.cpp:1273
#7  0x00007f4637795b0d in bt::SHA1HashGen::update (this=0x7f46272d7fe0, data=0x7f4628a03000 "\330\237\377w\a\222\325\366\344^\333\245\207", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:238
#8  0x00007f46377c85de in bt::ChunkDownload::updateHash (this=0x7f46272d7f20) at ../../libbtcore/download/chunkdownload.cpp:568
#9  0x00007f46377c9d4a in bt::ChunkDownload::piece (this=0x7f46272d7f20, p=..., ok=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:139
#10 0x00007f46377d0e4d in bt::Downloader::pieceReceived (this=0x7f4625f50570, p=...) at ../../libbtcore/download/downloader.cpp:136
#11 0x00007f46377b7f0b in bt::Peer::packetReady (this=0x7f460c535ee0, packet=0x7f46040d68b0 "\a", len=<value optimized out>) at ../../libbtcore/peer/peer.cpp:268
#12 0x00007f46377c13c8 in bt::PacketReader::update (this=0x7f462738e850) at ../../libbtcore/peer/packetreader.cpp:141
#13 0x00007f46377b7915 in bt::Peer::update (this=0x7f460c535ee0) at ../../libbtcore/peer/peer.cpp:462
#14 0x00007f46377bb6d5 in bt::PeerManager::update (this=0x7f4625f49fc0) at ../../libbtcore/peer/peermanager.cpp:119
#15 0x00007f46377e946a in bt::TorrentControl::update (this=0x7f4625f48f80) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#16 0x00000000004308d8 in kt::Core::update (this=0x7f4624004290) at ../../ktorrent/core.cpp:853
#17 0x0000000000436b1d in kt::Core::qt_metacall (this=0x7f4624004290, _c=QMetaObject::InvokeMetaMethod, _id=39760936, _a=0x7fffc09e0440) at ./core.moc:147
#18 0x00007f4635396df2 in QMetaObject::activate (sender=0x7f46240042b8, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x600) at kernel/qobject.cpp:3112
#19 0x00007f4635391353 in QObject::event (this=0x7f46240042b8, e=0x7f4628a04000) at kernel/qobject.cpp:1074
#20 0x00007f46347fb01d in QApplicationPrivate::notify_helper (this=0x1d3d0f0, receiver=0x7f46240042b8, e=0x7fffc09e0af0) at kernel/qapplication.cpp:4065
#21 0x00007f463480307a in QApplication::notify (this=0x7fffc09e0e40, receiver=0x7f46240042b8, e=0x7fffc09e0af0) at kernel/qapplication.cpp:4030
#22 0x00007f463696a0db in KApplication::notify (this=0x7fffc09e0e40, receiver=0x7f46240042b8, event=0x7fffc09e0af0) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x00007f4635381c9c in QCoreApplication::notifyInternal (this=0x7fffc09e0e40, receiver=0x7f46240042b8, event=0x7fffc09e0af0) at kernel/qcoreapplication.cpp:610
#24 0x00007f46353ae2c6 in QCoreApplication::sendEvent (this=0x1d39940) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#25 QTimerInfoList::activateTimers (this=0x1d39940) at kernel/qeventdispatcher_unix.cpp:580
#26 0x00007f46353aa658 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#27 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#28 0x00007f46306c612a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x00007f46306c9988 in ?? () from /lib/libglib-2.0.so.0
#30 0x00007f46306c9b3c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x00007f46353aa39c in QEventDispatcherGlib::processEvents (this=0x1d0ad40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#32 0x00007f4634891f1f in QGuiEventDispatcherGlib::processEvents (this=0x25ec428, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#33 0x00007f4635380562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f4635380934 in QEventLoop::exec (this=0x7fffc09e0da0, flags=...) at kernel/qeventloop.cpp:201
#35 0x00007f4635382ba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#36 0x0000000000426f84 in main (argc=5, argv=0x7fffc09e1b28) at ../../ktorrent/main.cpp:172
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-06 01:58:35 UTC
Merging with bug 186621. Thanks

*** This bug has been marked as a duplicate of bug 186621 ***
Comment 2 PC LX 2010-01-20 12:35:39 UTC
*** Bug 223561 has been marked as a duplicate of this bug. ***