Bug 213866 - KTorrent crashes in QCA::update (ultimately in memcpy)
Summary: KTorrent crashes in QCA::update (ultimately 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:
Depends on:
Blocks:
 
Reported: 2009-11-09 17:57 UTC by dimitri
Modified: 2009-11-09 19:42 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 dimitri 2009-11-09 17:57:14 UTC
Application that crashed: ktorrent
Version of the application: 3.2.4
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
happens while unattended downloads are in progress (started after upgrade to Karmic Koala)

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

Thread 3 (Thread 0xb405ab70 (LWP 3044)):
#0  0x00151172 in net::DownloadThread::waitForSocketReady (this=0x95a2040, timeout=50) at ../../libbtcore/net/downloadthread.cpp:159
#1  0x00151309 in net::DownloadThread::update (this=0x95a2040) at ../../libbtcore/net/downloadthread.cpp:53
#2  0x00151d38 in net::NetworkThread::run (this=0x95a2040) at ../../libbtcore/net/networkthread.cpp:48
#3  0x00862e32 in QThreadPrivate::start (arg=0x95a2040) at thread/qthread_unix.cpp:188
#4  0x0066f80e in start_thread (arg=0xb405ab70) at pthread_create.c:300
#5  0x052747ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb3859b70 (LWP 3045)):
#0  0x0044d422 in __kernel_vsyscall ()
#1  0x00673e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x0528178d in __pthread_cond_wait (cond=0x95a25d0, mutex=0x95a25b8) at forward.c:139
#3  0x00863e67 in QWaitConditionPrivate::wait (this=0x95a2328, mutex=0x95a232c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x95a2328, mutex=0x95a232c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00150a6d in net::UploadThread::update (this=0x95a22f0) at ../../libbtcore/net/uploadthread.cpp:73
#6  0x00151d38 in net::NetworkThread::run (this=0x95a22f0) at ../../libbtcore/net/networkthread.cpp:48
#7  0x00862e32 in QThreadPrivate::start (arg=0x95a22f0) at thread/qthread_unix.cpp:188
#8  0x0066f80e in start_thread (arg=0xb3859b70) at pthread_create.c:300
#9  0x052747ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7822700 (LWP 3018)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/i386/i686/memcpy.S:75
#7  0xbfb1373c in ?? ()
#8  0x01ef97bb in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#9  0x0013c594 in bt::SHA1HashGen::update (this=0xa019e64, data=0xb5a26000 "\375\362@~NE\\\001\257\233\224Y\022", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:238
#10 0x00171eb8 in bt::ChunkDownload::updateHash (this=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:562
#11 0x00172d30 in bt::ChunkDownload::piece (this=0xa019de0, p=..., ok=@0xbfb138df) at ../../libbtcore/download/chunkdownload.cpp:133
#12 0x001798ff in bt::Downloader::pieceReceived (this=0x9a8a188, p=...) at ../../libbtcore/download/downloader.cpp:133
#13 0x00161b0f in bt::PeerManager::pieceReceived (this=0x9a5e3a8, p=...) at ../../libbtcore/peer/peermanager.cpp:669
#14 0x0016049f in bt::Peer::packetReady (this=0x9d09410, packet=0xb59024b8 "\a", len=22) at ../../libbtcore/peer/peer.cpp:269
#15 0x00169f16 in bt::PacketReader::update (this=0x9b214c0) at ../../libbtcore/peer/packetreader.cpp:131
#16 0x001601d9 in bt::Peer::update (this=0x9d09410) at ../../libbtcore/peer/peer.cpp:474
#17 0x00163f0e in bt::PeerManager::update (this=0x9a5e3a8) at ../../libbtcore/peer/peermanager.cpp:117
#18 0x001993be in bt::TorrentControl::update (this=0x9a6bf58) at ../../libbtcore/torrent/torrentcontrol.cpp:178
#19 0x0806d1e7 in kt::Core::update (this=0x971bd78) at ../../ktorrent/core.cpp:877
#20 0x08072c1d in kt::Core::qt_metacall (this=0x971bd78, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfb13c5c) at ./core.moc:148
#21 0x00969263 in QMetaObject::activate (sender=0x971bd8c, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#22 0x00969ec2 in QMetaObject::activate (sender=0x971bd8c, m=0xa44904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#23 0x009a3667 in QTimer::timeout (this=0x971bd8c) at .moc/release-shared/moc_qtimer.cpp:128
#24 0x0096e9ae in QTimer::timerEvent (this=0x971bd8c, e=0xbfb140f0) at kernel/qtimer.cpp:261
#25 0x009633bf in QObject::event (this=0x971bd8c, e=0xbfb140f0) at kernel/qobject.cpp:1075
#26 0x03414f54 in QApplicationPrivate::notify_helper (this=0x95c39d0, receiver=0x971bd8c, e=0xbfb140f0) at kernel/qapplication.cpp:4056
#27 0x0341c67c in QApplication::notify (this=0xbfb14444, receiver=0x971bd8c, e=0xbfb140f0) at kernel/qapplication.cpp:3603
#28 0x00f92bfa in KApplication::notify (this=0xbfb14444, receiver=0x971bd8c, event=0xbfb140f0) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x009536cb in QCoreApplication::notifyInternal (this=0xbfb14444, receiver=0x971bd8c, event=0xbfb140f0) at kernel/qcoreapplication.cpp:610
#30 0x009807ce in QCoreApplication::sendEvent (this=0x95c5a84) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#31 QTimerInfoList::activateTimers (this=0x95c5a84) at kernel/qeventdispatcher_unix.cpp:572
#32 0x0097e0e0 in timerSourceDispatch (source=0x95c5a50) at kernel/qeventdispatcher_glib.cpp:165
#33 0x08992e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x08996720 in ?? () from /lib/libglib-2.0.so.0
#35 0x08996853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x0097e02c in QEventDispatcherGlib::processEvents (this=0x959fee8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#37 0x034b5be5 in QGuiEventDispatcherGlib::processEvents (this=0x959fee8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x00951c79 in QEventLoop::processEvents (this=0xbfb143b4, flags=) at kernel/qeventloop.cpp:149
#39 0x009520ca in QEventLoop::exec (this=0xbfb143b4, flags=...) at kernel/qeventloop.cpp:201
#40 0x0095453f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0x03414dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#42 0x08065b98 in main (argc=5, argv=0xbfb14804) at ../../ktorrent/main.cpp:171

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

Reported using DrKonqi
Comment 1 Joris Guisson 2009-11-09 19:42:27 UTC

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