Bug 241628

Summary: KTorrent crashed while downloading
Product: [Applications] ktorrent Reporter: Leonardo La Malfa <leonardo.la.malfa>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Leonardo La Malfa 2010-06-13 10:11:21 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
It was downloading minimised in the system tray, when I saw DrKonqi requesting to report this bug. I've browsed the list of reported bugs, but those I checked where all reported as fixed, so instead of adding this one as a duplicate I'm reporting it as new. Sorry if it's a known issue.

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

Thread 5 (Thread 0xb59ffb70 (LWP 1630)):
#0  0x00afb422 in __kernel_vsyscall ()
#1  0x04174971 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x00d93aac in dht::RPCServerThread::run (this=0x8932e18) at ../../libbtcore/dht/rpcserver.cpp:107
#3  0x0473a97e in QThreadPrivate::start (arg=0x8932e18) at thread/qthread_unix.cpp:248
#4  0x009df96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x0417ba4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb4da6b70 (LWP 1674)):
#0  0x041376d6 in gettimeofday () from /lib/tls/i686/cmov/libc.so.6
#1  0x00d1bbd6 in bt::Now () at ../../libbtcore/util/functions.cpp:171
#2  0x00d30a7a in net::DownloadThread::update (this=0x8910ff8) at ../../libbtcore/net/downloadthread.cpp:65
#3  0x00d316b8 in net::NetworkThread::run (this=0x8910ff8) at ../../libbtcore/net/networkthread.cpp:48
#4  0x0473a97e in QThreadPrivate::start (arg=0x8910ff8) at thread/qthread_unix.cpp:248
#5  0x009df96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0x0417ba4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb3da4b70 (LWP 1675)):
#0  0x00afb422 in __kernel_vsyscall ()
#1  0x009e4015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0473b997 in QWaitConditionPrivate::wait (this=0x8911390, mutex=0x8911394, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x8911390, mutex=0x8911394, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00d303a9 in net::UploadThread::update (this=0x8911358) at ../../libbtcore/net/uploadthread.cpp:73
#5  0x00d316b8 in net::NetworkThread::run (this=0x8911358) at ../../libbtcore/net/networkthread.cpp:48
#6  0x0473a97e in QThreadPrivate::start (arg=0x8911358) at thread/qthread_unix.cpp:248
#7  0x009df96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0417ba4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb6332b70 (LWP 1676)):
#0  0x00afb422 in __kernel_vsyscall ()
#1  0x009e4015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0473b997 in QWaitConditionPrivate::wait (this=0x9225db4, mutex=0x9225db0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9225db4, mutex=0x9225db0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00d34baa in net::ReverseResolverThread::run (this=0x9225da8) at ../../libbtcore/net/reverseresolver.cpp:123
#5  0x0473a97e in QThreadPrivate::start (arg=0x9225da8) at thread/qthread_unix.cpp:248
#6  0x009df96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x0417ba4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7885aa0 (LWP 1628)):
[KCrash Handler]
#6  0x04122fe1 in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0x0579f016 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x057b6167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x00d1a18f in bt::SHA1HashGen::update (this=0x96669e8, 
    data=0xb5b23a39 "\206M=p\264`\266+!\254-\")\265\f\021\034\272\224\333 F\331\363\063=Z\254\351j\216M1Ssinve\377C\312\275\233\217\325b\275UY\352\244l\311\273\314\005MC\031p\024\005\032\025]Q\004\004\210", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:240
#10 0x00d52b7e in bt::ChunkDownload::updateHash (this=0x9666978) at ../../libbtcore/download/chunkdownload.cpp:579
#11 0x00d5440d in bt::ChunkDownload::piece (this=0x9666978, p=..., ok=@0xbfb07aaf) at ../../libbtcore/download/chunkdownload.cpp:145
#12 0x00d5aaf9 in bt::Downloader::pieceReceived (this=0x89b0a30, p=...) at ../../libbtcore/download/downloader.cpp:126
#13 0x00d4241f in bt::PeerManager::pieceReceived (this=0x89a2490, p=...) at ../../libbtcore/peer/peermanager.cpp:677
#14 0x00d40abf in bt::Peer::packetReady (this=0x975f238, packet=0xb2c93df8 "\a", len=16393) at ../../libbtcore/peer/peer.cpp:268
#15 0x00d4aba9 in bt::PacketReader::update (this=0x9645c78) at ../../libbtcore/peer/packetreader.cpp:141
#16 0x00d40409 in bt::Peer::update (this=0x975f238) at ../../libbtcore/peer/peer.cpp:462
#17 0x00d44886 in bt::PeerManager::update (this=0x89a2490) at ../../libbtcore/peer/peermanager.cpp:119
#18 0x00d7697d in bt::TorrentControl::update (this=0x8994cf8) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#19 0x08071a63 in kt::Core::update (this=0x89303b8) at ../../ktorrent/core.cpp:849
#20 0x08077308 in kt::Core::qt_metacall (this=0x89303b8, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfb07e2c) at ./core.moc:155
#21 0x0483d47a in QMetaObject::metacall (object=0x89303b8, cl=3727, idx=21, argv=0xbfb07e2c) at kernel/qmetaobject.cpp:237
#22 0x0484bfbb in QMetaObject::activate (sender=0x89303cc, m=0x494d5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3295
#23 0x0489e327 in QTimer::timeout (this=0x89303cc) at .moc/release-shared/moc_qtimer.cpp:134
#24 0x04853e4e in QTimer::timerEvent (this=0x89303cc, e=0xbfb08360) at kernel/qtimer.cpp:271
#25 0x04848a64 in QObject::event (this=0x89303cc, e=0x974b1a8) at kernel/qobject.cpp:1212
#26 0x01989e8c in QApplicationPrivate::notify_helper (this=0x8933238, receiver=0x89303cc, e=0xbfb08360) at kernel/qapplication.cpp:4302
#27 0x01990a0e in QApplication::notify (this=0xbfb086b4, receiver=0x89303cc, e=0xbfb08360) at kernel/qapplication.cpp:3706
#28 0x00788ffa in KApplication::notify (this=0xbfb086b4, receiver=0x89303cc, event=0xbfb08360) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x0483813b in QCoreApplication::notifyInternal (this=0xbfb086b4, receiver=0x89303cc, event=0xbfb08360) at kernel/qcoreapplication.cpp:726
#30 0x048675c6 in QCoreApplication::sendEvent (this=0x8936034) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QTimerInfoList::activateTimers (this=0x8936034) at kernel/qeventdispatcher_unix.cpp:603
#32 0x04864177 in timerSourceDispatch (source=0x8936068) at kernel/qeventdispatcher_glib.cpp:184
#33 idleTimerSourceDispatch (source=0x8936068) at kernel/qeventdispatcher_glib.cpp:231
#34 0x042ca5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x042ce2d8 in ?? () from /lib/libglib-2.0.so.0
#36 0x042ce4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#37 0x04863e35 in QEventDispatcherGlib::processEvents (this=0x890fe78, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#38 0x01a49e15 in QGuiEventDispatcherGlib::processEvents (this=0x890fe78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x04836759 in QEventLoop::processEvents (this=0xbfb08624, flags=) at kernel/qeventloop.cpp:149
#40 0x04836baa in QEventLoop::exec (this=0xbfb08624, flags=...) at kernel/qeventloop.cpp:201
#41 0x0483be3f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#42 0x01989f27 in QApplication::exec () at kernel/qapplication.cpp:3581
#43 0x08067a51 in main (argc=5, argv=0xbfb08a84) at ../../ktorrent/main.cpp:172

Possible duplicates by query: bug 241253, bug 240923, bug 239065, bug 238377, bug 237235.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-06-13 11:31:23 UTC

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