Bug 216171

Summary: ktorrent crash unknown reason
Product: [Applications] ktorrent Reporter: Ron Katzir <ophilar>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ron Katzir 2009-11-25 23:10:53 UTC
Application that crashed: ktorrent
Version of the application: 3.2.4
KDE Version: 4.3.3 (KDE 4.3.3)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I left KTorrent working for 2 days, and I saw it crashed when I returned. I guess it's under normal use, but I still don't know what state it was in when it crashed

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

Thread 3 (Thread 0xb4ff5b70 (LWP 2663)):
#0  0x0016a422 in __kernel_vsyscall ()
#1  0x00833142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x088077e4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x07ab681e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:297
#4  0x07ab6973 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:323
#5  0x00a1a558 in net::DownloadThread::update (this=0x9132040) at ../../libbtcore/net/downloadthread.cpp:110
#6  0x00a1ad38 in net::NetworkThread::run (this=0x9132040) at ../../libbtcore/net/networkthread.cpp:48
#7  0x07ab6e32 in QThreadPrivate::start (arg=0x9132040) at thread/qthread_unix.cpp:188
#8  0x0082e80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x087fa7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb47f4b70 (LWP 2664)):
#0  0x0016a422 in __kernel_vsyscall ()
#1  0x00832e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0880778d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x07ab7e67 in QWaitConditionPrivate::wait (this=0x9132328, mutex=0x913232c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9132328, mutex=0x913232c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00a19a6d in net::UploadThread::update (this=0x91322f0) at ../../libbtcore/net/uploadthread.cpp:73
#6  0x00a1ad38 in net::NetworkThread::run (this=0x91322f0) at ../../libbtcore/net/networkthread.cpp:48
#7  0x07ab6e32 in QThreadPrivate::start (arg=0x91322f0) at thread/qthread_unix.cpp:188
#8  0x0082e80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x087fa7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb77c5700 (LWP 2637)):
[KCrash Handler]
#6  0x087a3006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
#7  0xbf91a9bc in ?? ()
#8  0x07dff7bb in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#9  0x00a05594 in bt::SHA1HashGen::update (this=0x99f683c, data=0xb3ff3000 "\255ZA\241\177%\f\270c\361\032\367\275", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:238
#10 0x00a3aeb8 in bt::ChunkDownload::updateHash (this=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:562
#11 0x00a3bd30 in bt::ChunkDownload::piece (this=0x99f67b8, p=..., ok=@0xbf91ab5f) at ../../libbtcore/download/chunkdownload.cpp:133
#12 0x00a428ff in bt::Downloader::pieceReceived (this=0x964b488, p=...) at ../../libbtcore/download/downloader.cpp:133
#13 0x00a2ab0f in bt::PeerManager::pieceReceived (this=0x9658a48, p=...) at ../../libbtcore/peer/peermanager.cpp:669
#14 0x00a2949f in bt::Peer::packetReady (this=0x98d8988, packet=0xb3e40748 "\a", len=22) at ../../libbtcore/peer/peer.cpp:269
#15 0x00a32f16 in bt::PacketReader::update (this=0x95f5498) at ../../libbtcore/peer/packetreader.cpp:131
#16 0x00a291d9 in bt::Peer::update (this=0x98d8988) at ../../libbtcore/peer/peer.cpp:474
#17 0x00a2cf0e in bt::PeerManager::update (this=0x9658a48) at ../../libbtcore/peer/peermanager.cpp:117
#18 0x00a623be in bt::TorrentControl::update (this=0x96427b8) at ../../libbtcore/torrent/torrentcontrol.cpp:178
#19 0x0806d1e7 in kt::Core::update (this=0x922f4a0) at ../../ktorrent/core.cpp:877
#20 0x08072c1d in kt::Core::qt_metacall (this=0x922f4a0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbf91aedc) at ./core.moc:148
#21 0x07bbd263 in QMetaObject::activate (sender=0x922f4b4, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#22 0x07bbdec2 in QMetaObject::activate (sender=0x922f4b4, m=0x7c98904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#23 0x07bf7667 in QTimer::timeout (this=0x922f4b4) at .moc/release-shared/moc_qtimer.cpp:128
#24 0x07bc29ae in QTimer::timerEvent (this=0x922f4b4, e=0xbf91b370) at kernel/qtimer.cpp:261
#25 0x07bb73bf in QObject::event (this=0x922f4b4, e=0xbf91b370) at kernel/qobject.cpp:1075
#26 0x05e95f54 in QApplicationPrivate::notify_helper (this=0x91581d8, receiver=0x922f4b4, e=0xbf91b370) at kernel/qapplication.cpp:4056
#27 0x05e9d67c in QApplication::notify (this=0xbf91b6c4, receiver=0x922f4b4, e=0xbf91b370) at kernel/qapplication.cpp:3603
#28 0x00cdb14a in KApplication::notify (this=0xbf91b6c4, receiver=0x922f4b4, event=0xbf91b370) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x07ba76cb in QCoreApplication::notifyInternal (this=0xbf91b6c4, receiver=0x922f4b4, event=0xbf91b370) at kernel/qcoreapplication.cpp:610
#30 0x07bd47ce in QCoreApplication::sendEvent (this=0x91537b4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#31 QTimerInfoList::activateTimers (this=0x91537b4) at kernel/qeventdispatcher_unix.cpp:572
#32 0x07bd20e0 in timerSourceDispatch (source=0x9153780) at kernel/qeventdispatcher_glib.cpp:165
#33 0x024e8e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x024ec720 in ?? () from /lib/libglib-2.0.so.0
#35 0x024ec853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x07bd202c in QEventDispatcherGlib::processEvents (this=0x912fee8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#37 0x05f36be5 in QGuiEventDispatcherGlib::processEvents (this=0x912fee8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x07ba5c79 in QEventLoop::processEvents (this=0xbf91b634, flags=) at kernel/qeventloop.cpp:149
#39 0x07ba60ca in QEventLoop::exec (this=0xbf91b634, flags=...) at kernel/qeventloop.cpp:201
#40 0x07ba853f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0x05e95dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#42 0x08065b98 in main (argc=6, argv=0xbf91ba84) at ../../ktorrent/main.cpp:171

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-26 00:12:50 UTC
Fixed already

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