Bug 235702

Summary: sudden, never before, after update, repeatedly
Product: [Applications] ktorrent Reporter: Rick <stuff>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rick 2010-04-29 11:43:24 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-20-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I updated some packages but did not pay attention to it. After returning to the computer an hour later, ktorrent has crashed. 30 Minutes after restarting the application, it crashed again. And once again after a few minutes.

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

Thread 3 (Thread 0xaf450b70 (LWP 3794)):
#0  0x00b8a422 in __kernel_vsyscall ()
#1  0x00cf3142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00ad08d4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x004f881e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:297
#4  0x004f8973 in QThread::msleep (msecs=49) at thread/qthread_unix.cpp:323
#5  0x00d5f558 in net::DownloadThread::update (this=0x9d05040) at ../../libbtcore/net/downloadthread.cpp:110
#6  0x00d5fd38 in net::NetworkThread::run (this=0x9d05040) at ../../libbtcore/net/networkthread.cpp:48
#7  0x004f8e32 in QThreadPrivate::start (arg=0x9d05040) at thread/qthread_unix.cpp:188
#8  0x00cee80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x00ac38de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xaec4fb70 (LWP 3795)):
#0  0x00b8a422 in __kernel_vsyscall ()
#1  0x00cf2e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00ad087d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x004f9e67 in QWaitConditionPrivate::wait (this=0x9d05328, mutex=0x9d0532c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9d05328, mutex=0x9d0532c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00d5ea6d in net::UploadThread::update (this=0x9d052f0) at ../../libbtcore/net/uploadthread.cpp:73
#6  0x00d5fd38 in net::NetworkThread::run (this=0x9d052f0) at ../../libbtcore/net/networkthread.cpp:48
#7  0x004f8e32 in QThreadPrivate::start (arg=0x9d052f0) at thread/qthread_unix.cpp:188
#8  0x00cee80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x00ac38de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7725700 (LWP 3788)):
[KCrash Handler]
#6  0x00a6c056 in memcpy () from /lib/tls/i686/cmov/libc.so.6
#7  0xbfc2e43c in ?? ()
#8  0x030097bb in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#9  0x00d4a594 in bt::SHA1HashGen::update (this=0xb0d3c74, data=0xb59dc000 "\277\341(\337>", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:238
#10 0x00d7feb8 in bt::ChunkDownload::updateHash (this=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:562
#11 0x00d80d30 in bt::ChunkDownload::piece (this=0xb0d3bf0, p=..., ok=@0xbfc2e5df) at ../../libbtcore/download/chunkdownload.cpp:133
#12 0x00d878ff in bt::Downloader::pieceReceived (this=0xb538ebd0, p=...) at ../../libbtcore/download/downloader.cpp:133
#13 0x00d6fb0f in bt::PeerManager::pieceReceived (this=0xb53263b0, p=...) at ../../libbtcore/peer/peermanager.cpp:669
#14 0x00d6e49f in bt::Peer::packetReady (this=0xac087c8, packet=0xb1f5aae0 "\a", len=14) at ../../libbtcore/peer/peer.cpp:269
#15 0x00d77f16 in bt::PacketReader::update (this=0xa7afae0) at ../../libbtcore/peer/packetreader.cpp:131
#16 0x00d6e1d9 in bt::Peer::update (this=0xac087c8) at ../../libbtcore/peer/peer.cpp:474
#17 0x00d71f0e in bt::PeerManager::update (this=0xb53263b0) at ../../libbtcore/peer/peermanager.cpp:117
#18 0x00da73be in bt::TorrentControl::update (this=0xb5323380) at ../../libbtcore/torrent/torrentcontrol.cpp:178
#19 0x0806d1e7 in kt::Core::update (this=0xb5805900) at ../../ktorrent/core.cpp:877
#20 0x08072c1d in kt::Core::qt_metacall (this=0xb5805900, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfc2e95c) at ./core.moc:148
#21 0x005ff263 in QMetaObject::activate (sender=0xb5805914, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#22 0x005ffec2 in QMetaObject::activate (sender=0xb5805914, m=0x6da904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#23 0x00639667 in QTimer::timeout (this=0xb5805914) at .moc/release-shared/moc_qtimer.cpp:128
#24 0x006049ae in QTimer::timerEvent (this=0xb5805914, e=0xbfc2edf0) at kernel/qtimer.cpp:261
#25 0x005f93bf in QObject::event (this=0xb5805914, e=0xbfc2edf0) at kernel/qobject.cpp:1075
#26 0x08a59f54 in QApplicationPrivate::notify_helper (this=0x9d361c8, receiver=0xb5805914, e=0xbfc2edf0) at kernel/qapplication.cpp:4056
#27 0x08a6167c in QApplication::notify (this=0xbfc2f144, receiver=0xb5805914, e=0xbfc2edf0) at kernel/qapplication.cpp:3603
#28 0x0101fbfa in KApplication::notify (this=0xbfc2f144, receiver=0xb5805914, event=0xbfc2edf0) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x005e96cb in QCoreApplication::notifyInternal (this=0xbfc2f144, receiver=0xb5805914, event=0xbfc2edf0) at kernel/qcoreapplication.cpp:610
#30 0x006167ce in QCoreApplication::sendEvent (this=0x9d28334) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#31 QTimerInfoList::activateTimers (this=0x9d28334) at kernel/qeventdispatcher_unix.cpp:572
#32 0x006140e0 in timerSourceDispatch (source=0x9d28300) at kernel/qeventdispatcher_glib.cpp:165
#33 0x05d7de88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x05d81730 in ?? () from /lib/libglib-2.0.so.0
#35 0x05d81863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x0061402c in QEventDispatcherGlib::processEvents (this=0x9d02ee8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#37 0x08afabe5 in QGuiEventDispatcherGlib::processEvents (this=0x9d02ee8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x005e7c79 in QEventLoop::processEvents (this=0xbfc2f0b4, flags=) at kernel/qeventloop.cpp:149
#39 0x005e80ca in QEventLoop::exec (this=0xbfc2f0b4, flags=...) at kernel/qeventloop.cpp:201
#40 0x005ea53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0x08a59dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#42 0x08065b98 in main (argc=1, argv=0xbfc2f504) at ../../ktorrent/main.cpp:171

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

Reported using DrKonqi
Comment 1 Joris Guisson 2010-04-29 17:55:31 UTC

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