Bug 231758

Summary: ktorrent crashes unexpectedly all on a sudden
Product: [Applications] ktorrent Reporter: tubul <mukhsm>
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 tubul 2010-03-22 13:09:18 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: Linux Mint 8 Helena - Main Edition

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

Thread 3 (Thread 0xb50ffb70 (LWP 4121)):
#0  0x00338422 in __kernel_vsyscall ()
#1  0x00810142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00c918d4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x04fa981e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:297
#4  0x04fa9973 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:323
#5  0x00d97558 in net::DownloadThread::update (this=0x8e6f380) at ../../libbtcore/net/downloadthread.cpp:110
#6  0x00d97d38 in net::NetworkThread::run (this=0x8e6f380) at ../../libbtcore/net/networkthread.cpp:48
#7  0x04fa9e32 in QThreadPrivate::start (arg=0x8e6f380) at thread/qthread_unix.cpp:188
#8  0x0080b80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x00c848de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb48feb70 (LWP 4122)):
#0  0x00338422 in __kernel_vsyscall ()
#1  0x0080fe15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00c9187d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x04faae67 in QWaitConditionPrivate::wait (this=0x8e6f668, mutex=0x8e6f66c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x8e6f668, mutex=0x8e6f66c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00d96a6d in net::UploadThread::update (this=0x8e6f630) at ../../libbtcore/net/uploadthread.cpp:73
#6  0x00d97d38 in net::NetworkThread::run (this=0x8e6f630) at ../../libbtcore/net/networkthread.cpp:48
#7  0x04fa9e32 in QThreadPrivate::start (arg=0x8e6f630) at thread/qthread_unix.cpp:188
#8  0x0080b80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x00c848de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb781a700 (LWP 4116)):
[KCrash Handler]
#6  0x00c2d071 in memcpy () from /lib/tls/i686/cmov/libc.so.6
#7  0x02d59456 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x02d717bb in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#9  0x00d82594 in bt::SHA1HashGen::update (this=0x90fc8ac, data=0xb5a04efb "\317~\\\302\202", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:238
#10 0x00db7eb8 in bt::ChunkDownload::updateHash (this=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:562
#11 0x00db8d30 in bt::ChunkDownload::piece (this=0x90fc828, p=..., ok=@0xbfeecb8f) at ../../libbtcore/download/chunkdownload.cpp:133
#12 0x00dbf8ff in bt::Downloader::pieceReceived (this=0xb5561dd8, p=...) at ../../libbtcore/download/downloader.cpp:133
#13 0x00da7b0f in bt::PeerManager::pieceReceived (this=0xb59d4650, p=...) at ../../libbtcore/peer/peermanager.cpp:669
#14 0x00da649f in bt::Peer::packetReady (this=0xb5936f58, packet=0x9180010 "\a", len=16393) at ../../libbtcore/peer/peer.cpp:269
#15 0x00daff16 in bt::PacketReader::update (this=0xb53b7860) at ../../libbtcore/peer/packetreader.cpp:131
#16 0x00da61d9 in bt::Peer::update (this=0xb5936f58) at ../../libbtcore/peer/peer.cpp:474
#17 0x00da9f0e in bt::PeerManager::update (this=0xb59d4650) at ../../libbtcore/peer/peermanager.cpp:117
#18 0x00ddf3be in bt::TorrentControl::update (this=0xb59d66f8) at ../../libbtcore/torrent/torrentcontrol.cpp:178
#19 0x0806d1e7 in kt::Core::update (this=0xb5905360) at ../../ktorrent/core.cpp:877
#20 0x08072c1d in kt::Core::qt_metacall (this=0xb5905360, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfeecf0c) at ./core.moc:148
#21 0x050b0263 in QMetaObject::activate (sender=0xb5905374, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#22 0x050b0ec2 in QMetaObject::activate (sender=0xb5905374, m=0x518b904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#23 0x050ea667 in QTimer::timeout (this=0xb5905374) at .moc/release-shared/moc_qtimer.cpp:128
#24 0x050b59ae in QTimer::timerEvent (this=0xb5905374, e=0xbfeed3a0) at kernel/qtimer.cpp:261
#25 0x050aa3bf in QObject::event (this=0xb5905374, e=0xbfeed3a0) at kernel/qobject.cpp:1075
#26 0x022d1f54 in QApplicationPrivate::notify_helper (this=0x8e990a0, receiver=0xb5905374, e=0xbfeed3a0) at kernel/qapplication.cpp:4056
#27 0x022d967c in QApplication::notify (this=0xbfeed6f4, receiver=0xb5905374, e=0xbfeed3a0) at kernel/qapplication.cpp:3603
#28 0x009f8bfa in KApplication::notify (this=0xbfeed6f4, receiver=0xb5905374, event=0xbfeed3a0) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x0509a6cb in QCoreApplication::notifyInternal (this=0xbfeed6f4, receiver=0xb5905374, event=0xbfeed3a0) at kernel/qcoreapplication.cpp:610
#30 0x050c77ce in QCoreApplication::sendEvent (this=0x8e92534) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#31 QTimerInfoList::activateTimers (this=0x8e92534) at kernel/qeventdispatcher_unix.cpp:572
#32 0x050c50e0 in timerSourceDispatch (source=0x8e92500) at kernel/qeventdispatcher_glib.cpp:165
#33 0x012f7e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x012fb730 in ?? () from /lib/libglib-2.0.so.0
#35 0x012fb863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x050c502c in QEventDispatcherGlib::processEvents (this=0x8e6d168, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#37 0x02372be5 in QGuiEventDispatcherGlib::processEvents (this=0x8e6d168, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x05098c79 in QEventLoop::processEvents (this=0xbfeed664, flags=) at kernel/qeventloop.cpp:149
#39 0x050990ca in QEventLoop::exec (this=0xbfeed664, flags=...) at kernel/qeventloop.cpp:201
#40 0x0509b53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0x022d1dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#42 0x08065b98 in main (argc=1, argv=0xbfeedab4) at ../../ktorrent/main.cpp:171

Reported using DrKonqi
Comment 1 Joris Guisson 2010-03-22 18:04:26 UTC

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