Bug 226374 - Ktorrent random unprovoked downloading
Summary: Ktorrent random unprovoked downloading
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: 2010-02-11 20:45 UTC by Will
Modified: 2010-02-11 23:51 UTC (History)
1 user (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 Will 2010-02-11 20:45:31 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-19-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Left KTorrent downloading for a while, when I came back it had crashed.
I had two torrents on the go, the program had been open for about an hour. Never happened before.

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

Thread 3 (Thread 0xb4e13b70 (LWP 2481)):
#0  std::vector<pollfd, std::allocator<pollfd> >::size (this=0x8b02040, timeout=50) at /usr/include/c++/4.4/bits/stl_vector.h:533
#1  net::DownloadThread::waitForSocketReady (this=0x8b02040, timeout=50) at ../../libbtcore/net/downloadthread.cpp:159
#2  0x00a68309 in net::DownloadThread::update (this=0x8b02040) at ../../libbtcore/net/downloadthread.cpp:53
#3  0x00a68d38 in net::NetworkThread::run (this=0x8b02040) at ../../libbtcore/net/networkthread.cpp:48
#4  0x0323ae32 in QThreadPrivate::start (arg=0x8b02040) at thread/qthread_unix.cpp:188
#5  0x00a0880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0x011fc8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb4612b70 (LWP 2482)):
#0  0x00254422 in __kernel_vsyscall ()
#1  0x00a0ce15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0120987d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0323be67 in QWaitConditionPrivate::wait (this=0x8b02328, mutex=0x8b0232c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x8b02328, mutex=0x8b0232c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00a67a6d in net::UploadThread::update (this=0x8b022f0) at ../../libbtcore/net/uploadthread.cpp:73
#6  0x00a68d38 in net::NetworkThread::run (this=0x8b022f0) at ../../libbtcore/net/networkthread.cpp:48
#7  0x0323ae32 in QThreadPrivate::start (arg=0x8b022f0) at thread/qthread_unix.cpp:188
#8  0x00a0880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x011fc8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb773a700 (LWP 2460)):
[KCrash Handler]
#6  0x011a5071 in memcpy () from /lib/tls/i686/cmov/libc.so.6
#7  0x012d6456 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x012ee7bb in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#9  0x00a53594 in bt::SHA1HashGen::update (this=0x97bc254, 
    data=0xb5973bcb "\351r\"A\201\360\024\003s\360\363\336(\030@[\373\222\n\235B\300\303\323\245W\377\321J(\211\017t\331$\237\067\070\002\207\321\343\340(\b`\271\016\235", len=16384)
    at ../../libbtcore/util/sha1hashgen.cpp:238
#10 0x00a88eb8 in bt::ChunkDownload::updateHash (this=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:562
#11 0x00a89d30 in bt::ChunkDownload::piece (this=0x97bc1d0, p=..., ok=@0xbfb2f46f) at ../../libbtcore/download/chunkdownload.cpp:133
#12 0x00a908ff in bt::Downloader::pieceReceived (this=0x91f5d60, p=...) at ../../libbtcore/download/downloader.cpp:133
#13 0x00a78b0f in bt::PeerManager::pieceReceived (this=0x91c4ef0, p=...) at ../../libbtcore/peer/peermanager.cpp:669
#14 0x00a7749f in bt::Peer::packetReady (this=0x9407190, packet=0xb32fa898 "\a", len=1293) at ../../libbtcore/peer/peer.cpp:269
#15 0x00a80f16 in bt::PacketReader::update (this=0x9340b38) at ../../libbtcore/peer/packetreader.cpp:131
#16 0x00a771d9 in bt::Peer::update (this=0x9407190) at ../../libbtcore/peer/peer.cpp:474
#17 0x00a7af0e in bt::PeerManager::update (this=0x91c4ef0) at ../../libbtcore/peer/peermanager.cpp:117
#18 0x00ab03be in bt::TorrentControl::update (this=0x91b3650) at ../../libbtcore/torrent/torrentcontrol.cpp:178
#19 0x0806d1e7 in kt::Core::update (this=0x8cc80e0) at ../../ktorrent/core.cpp:877
#20 0x08072c1d in kt::Core::qt_metacall (this=0x8cc80e0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfb2f7ec) at ./core.moc:148
#21 0x03341263 in QMetaObject::activate (sender=0x8cc80f4, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#22 0x03341ec2 in QMetaObject::activate (sender=0x8cc80f4, m=0x341c904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#23 0x0337b667 in QTimer::timeout (this=0x8cc80f4) at .moc/release-shared/moc_qtimer.cpp:128
#24 0x033469ae in QTimer::timerEvent (this=0x8cc80f4, e=0xbfb2fc80) at kernel/qtimer.cpp:261
#25 0x0333b3bf in QObject::event (this=0x8cc80f4, e=0xbfb2fc80) at kernel/qobject.cpp:1075
#26 0x02802f54 in QApplicationPrivate::notify_helper (this=0x8b2bb58, receiver=0x8cc80f4, e=0xbfb2fc80) at kernel/qapplication.cpp:4056
#27 0x0280a67c in QApplication::notify (this=0xbfb2ffd4, receiver=0x8cc80f4, e=0xbfb2fc80) at kernel/qapplication.cpp:3603
#28 0x00d28bfa in KApplication::notify (this=0xbfb2ffd4, receiver=0x8cc80f4, event=0xbfb2fc80) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x0332b6cb in QCoreApplication::notifyInternal (this=0xbfb2ffd4, receiver=0x8cc80f4, event=0xbfb2fc80) at kernel/qcoreapplication.cpp:610
#30 0x033587ce in QCoreApplication::sendEvent (this=0x8b25794) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#31 QTimerInfoList::activateTimers (this=0x8b25794) at kernel/qeventdispatcher_unix.cpp:572
#32 0x033560e0 in timerSourceDispatch (source=0x8b25760) at kernel/qeventdispatcher_glib.cpp:165
#33 0x06674e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x06678730 in ?? () from /lib/libglib-2.0.so.0
#35 0x06678863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x0335602c in QEventDispatcherGlib::processEvents (this=0x8affee8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#37 0x028a3be5 in QGuiEventDispatcherGlib::processEvents (this=0x8affee8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x03329c79 in QEventLoop::processEvents (this=0xbfb2ff44, flags=) at kernel/qeventloop.cpp:149
#39 0x0332a0ca in QEventLoop::exec (this=0xbfb2ff44, flags=...) at kernel/qeventloop.cpp:201
#40 0x0332c53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0x02802dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#42 0x08065b98 in main (argc=5, argv=0xbfb30394) at ../../ktorrent/main.cpp:171

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

Reported using DrKonqi
Comment 1 Dario Andres 2010-02-11 23:51:09 UTC
Fixed in KTorrent 3.3. Regards

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