Bug 218548

Summary: crashed in my absence
Product: [Applications] ktorrent Reporter: Hugh Parker <hcp>
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 Hugh Parker 2009-12-13 18:38:34 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-16-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I was away for the weekend, and came back to a crash report dialog.  There were about ten torrents seeding, none leeching.

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

Thread 3 (Thread 0xb42feb70 (LWP 1559)):
#0  0x002c7422 in __kernel_vsyscall ()
#1  0x01268ba6 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x00af7236 in net::DownloadThread::waitForSocketReady (this=0x8408040, timeout=1) at ../../libbtcore/net/downloadthread.cpp:188
#3  0x00af7309 in net::DownloadThread::update (this=0x8408040) at ../../libbtcore/net/downloadthread.cpp:53
#4  0x00af7d38 in net::NetworkThread::run (this=0x8408040) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00fc5e32 in QThreadPrivate::start (arg=0x8408040) at thread/qthread_unix.cpp:188
#6  0x0134680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x012767ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb3afdb70 (LWP 1560)):
#0  0x002c7422 in __kernel_vsyscall ()
#1  0x0134ae15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0128378d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00fc6e67 in QWaitConditionPrivate::wait (this=0x8408328, mutex=0x840832c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x8408328, mutex=0x840832c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00af6a6d in net::UploadThread::update (this=0x84082f0) at ../../libbtcore/net/uploadthread.cpp:73
#6  0x00af7d38 in net::NetworkThread::run (this=0x84082f0) at ../../libbtcore/net/networkthread.cpp:48
#7  0x00fc5e32 in QThreadPrivate::start (arg=0x84082f0) at thread/qthread_unix.cpp:188
#8  0x0134680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x012767ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb77e1700 (LWP 1555)):
[KCrash Handler]
#6  0x0121f021 in memcpy () from /lib/tls/i686/cmov/libc.so.6
#7  0x059f8456 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x05a107bb in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#9  0x00ae2594 in bt::SHA1HashGen::update (this=0xb4b2bc2c, data=0xb5a458e1 "x\036\200`\020\236\345\030p\200\211\n\216", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:238
#10 0x00b17eb8 in bt::ChunkDownload::updateHash (this=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:562
#11 0x00b18d30 in bt::ChunkDownload::piece (this=0xb4b2bba8, p=..., ok=@0xbf97510f) at ../../libbtcore/download/chunkdownload.cpp:133
#12 0x00b1f8ff in bt::Downloader::pieceReceived (this=0x87859c8, p=...) at ../../libbtcore/download/downloader.cpp:133
#13 0x00b07b0f in bt::PeerManager::pieceReceived (this=0x845eb40, p=...) at ../../libbtcore/peer/peermanager.cpp:669
#14 0x00b0649f in bt::Peer::packetReady (this=0xb54224d0, packet=0xb054ba28 "\a", len=22) at ../../libbtcore/peer/peer.cpp:269
#15 0x00b0ff16 in bt::PacketReader::update (this=0xb31430b0) at ../../libbtcore/peer/packetreader.cpp:131
#16 0x00b061d9 in bt::Peer::update (this=0xb54224d0) at ../../libbtcore/peer/peer.cpp:474
#17 0x00b09f0e in bt::PeerManager::update (this=0x845eb40) at ../../libbtcore/peer/peermanager.cpp:117
#18 0x00b3f3be in bt::TorrentControl::update (this=0x8797138) at ../../libbtcore/torrent/torrentcontrol.cpp:178
#19 0x0806d1e7 in kt::Core::update (this=0xb5905270) at ../../ktorrent/core.cpp:877
#20 0x08072c1d in kt::Core::qt_metacall (this=0xb5905270, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbf97548c) at ./core.moc:148
#21 0x010cc263 in QMetaObject::activate (sender=0xb5905284, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#22 0x010ccec2 in QMetaObject::activate (sender=0xb5905284, m=0x11a7904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#23 0x01106667 in QTimer::timeout (this=0xb5905284) at .moc/release-shared/moc_qtimer.cpp:128
#24 0x010d19ae in QTimer::timerEvent (this=0xb5905284, e=0xbf975920) at kernel/qtimer.cpp:261
#25 0x010c63bf in QObject::event (this=0xb5905284, e=0xbf975920) at kernel/qobject.cpp:1075
#26 0x04d19f54 in QApplicationPrivate::notify_helper (this=0x8433920, receiver=0xb5905284, e=0xbf975920) at kernel/qapplication.cpp:4056
#27 0x04d2167c in QApplication::notify (this=0xbf975c74, receiver=0xb5905284, e=0xbf975920) at kernel/qapplication.cpp:3603
#28 0x00db7bfa in KApplication::notify (this=0xbf975c74, receiver=0xb5905284, event=0xbf975920) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x010b66cb in QCoreApplication::notifyInternal (this=0xbf975c74, receiver=0xb5905284, event=0xbf975920) at kernel/qcoreapplication.cpp:610
#30 0x010e37ce in QCoreApplication::sendEvent (this=0x842b394) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#31 QTimerInfoList::activateTimers (this=0x842b394) at kernel/qeventdispatcher_unix.cpp:572
#32 0x010e10e0 in timerSourceDispatch (source=0x842b360) at kernel/qeventdispatcher_glib.cpp:165
#33 0x02164e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x02168720 in ?? () from /lib/libglib-2.0.so.0
#35 0x02168853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x010e102c in QEventDispatcherGlib::processEvents (this=0x8405ee8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#37 0x04dbabe5 in QGuiEventDispatcherGlib::processEvents (this=0x8405ee8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x010b4c79 in QEventLoop::processEvents (this=0xbf975be4, flags=) at kernel/qeventloop.cpp:149
#39 0x010b50ca in QEventLoop::exec (this=0xbf975be4, flags=...) at kernel/qeventloop.cpp:201
#40 0x010b753f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0x04d19dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#42 0x08065b98 in main (argc=5, argv=0xbf976034) at ../../ktorrent/main.cpp:171

Reported using DrKonqi
Comment 1 Hugh Parker 2009-12-13 18:39:39 UTC
Correction - 17 seeding, 1 leeching.
Comment 2 Dario Andres 2009-12-13 23:40:22 UTC
This is fixed in KTorrent 3.3 Thanks

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