Bug 215572 - ktorrent segmentation fault bittorrent
Summary: ktorrent segmentation fault bittorrent
Status: RESOLVED DUPLICATE of bug 186621
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-21 17:31 UTC by Chaddaï Fouché
Modified: 2009-11-21 17:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chaddaï Fouché 2009-11-21 17:31:10 UTC
Application that crashed: ktorrent
Version of the application: 3.2.5
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
It choked twice on (probably) the same torrent.

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

Thread 3 (Thread 0xb4dffb70 (LWP 14856)):
#0  0x00d49422 in __kernel_vsyscall ()
#1  0x008c9ba6 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x003902c6 in net::DownloadThread::waitForSocketReady (this=0x81d3040, timeout=50) at ../../libbtcore/net/downloadthread.cpp:188
#3  0x00390399 in net::DownloadThread::update (this=0x81d3040) at ../../libbtcore/net/downloadthread.cpp:53
#4  0x00390dc8 in net::NetworkThread::run (this=0x81d3040) at ../../libbtcore/net/networkthread.cpp:48
#5  0x061d3e32 in QThreadPrivate::start (arg=0x81d3040) at thread/qthread_unix.cpp:188
#6  0x0650d80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x008d77ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb3dffb70 (LWP 14857)):
#0  0x00d49422 in __kernel_vsyscall ()
#1  0x06511e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x008e478d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x061d4e67 in QWaitConditionPrivate::wait (this=0x81d3328, mutex=0x81d332c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x81d3328, mutex=0x81d332c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x0038fafd in net::UploadThread::update (this=0x81d32f0) at ../../libbtcore/net/uploadthread.cpp:73
#6  0x00390dc8 in net::NetworkThread::run (this=0x81d32f0) at ../../libbtcore/net/networkthread.cpp:48
#7  0x061d3e32 in QThreadPrivate::start (arg=0x81d32f0) at thread/qthread_unix.cpp:188
#8  0x0650d80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x008d77ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb77de700 (LWP 14848)):
[KCrash Handler]
#6  0x00880006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
#7  0xbfa57e2c in ?? ()
#8  0x0734d7bb in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#9  0x0037b624 in bt::SHA1HashGen::update (this=0xafbdde14, data=0xb595e000 "\\\001\276Q:", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:238
#10 0x003b0f48 in bt::ChunkDownload::updateHash (this=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:562
#11 0x003b1dc0 in bt::ChunkDownload::piece (this=0xafbddd90, p=..., ok=@0xbfa57fcf) at ../../libbtcore/download/chunkdownload.cpp:133
#12 0x003b898f in bt::Downloader::pieceReceived (this=0x8239360, p=...) at ../../libbtcore/download/downloader.cpp:133
#13 0x003a0b9f in bt::PeerManager::pieceReceived (this=0x88d83c8, p=...) at ../../libbtcore/peer/peermanager.cpp:669
#14 0x0039f52f in bt::Peer::packetReady (this=0xafa1d6f8, packet=0xae933fa0 "\a", len=14) at ../../libbtcore/peer/peer.cpp:269
#15 0x003a8fa6 in bt::PacketReader::update (this=0xb4e9e6c8) at ../../libbtcore/peer/packetreader.cpp:131
#16 0x0039f269 in bt::Peer::update (this=0xafa1d6f8) at ../../libbtcore/peer/peer.cpp:474
#17 0x003a2f9e in bt::PeerManager::update (this=0x88d83c8) at ../../libbtcore/peer/peermanager.cpp:117
#18 0x003d844e in bt::TorrentControl::update (this=0x89e9988) at ../../libbtcore/torrent/torrentcontrol.cpp:178
#19 0x0806d1e7 in kt::Core::update (this=0xb5805198) at ../../ktorrent/core.cpp:877
#20 0x08072c1d in kt::Core::qt_metacall (this=0xb5805198, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfa5834c) at ./core.moc:148
#21 0x062da263 in QMetaObject::activate (sender=0xb58051ac, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#22 0x062daec2 in QMetaObject::activate (sender=0xb58051ac, m=0x63b5904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#23 0x06314667 in QTimer::timeout (this=0xb58051ac) at .moc/release-shared/moc_qtimer.cpp:128
#24 0x062df9ae in QTimer::timerEvent (this=0xb58051ac, e=0xbfa587e0) at kernel/qtimer.cpp:261
#25 0x062d43bf in QObject::event (this=0xb58051ac, e=0xbfa587e0) at kernel/qobject.cpp:1075
#26 0x011fcf54 in QApplicationPrivate::notify_helper (this=0x8203968, receiver=0xb58051ac, e=0xbfa587e0) at kernel/qapplication.cpp:4056
#27 0x0120467c in QApplication::notify (this=0xbfa58b34, receiver=0xb58051ac, e=0xbfa587e0) at kernel/qapplication.cpp:3603
#28 0x00f1cbfa in KApplication::notify (this=0xbfa58b34, receiver=0xb58051ac, event=0xbfa587e0) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x062c46cb in QCoreApplication::notifyInternal (this=0xbfa58b34, receiver=0xb58051ac, event=0xbfa587e0) at kernel/qcoreapplication.cpp:610
#30 0x062f17ce in QCoreApplication::sendEvent (this=0x81fd934) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#31 QTimerInfoList::activateTimers (this=0x81fd934) at kernel/qeventdispatcher_unix.cpp:572
#32 0x062ef0e0 in timerSourceDispatch (source=0x81fd900) at kernel/qeventdispatcher_glib.cpp:165
#33 0x01b00e78 in g_main_dispatch (context=0x81fc4f0) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960
#34 IA__g_main_context_dispatch (context=0x81fc4f0) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513
#35 0x01b04720 in g_main_context_iterate (context=0x81fc4f0, block=<value optimized out>, dispatch=1, self=0x81f3a38) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591
#36 0x01b04853 in IA__g_main_context_iteration (context=0x81fc4f0, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#37 0x062ef02c in QEventDispatcherGlib::processEvents (this=0x81d0ee8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#38 0x0129dbe5 in QGuiEventDispatcherGlib::processEvents (this=0x81d0ee8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#39 0x062c2c79 in QEventLoop::processEvents (this=0xbfa58aa4, flags=) at kernel/qeventloop.cpp:149
#40 0x062c30ca in QEventLoop::exec (this=0xbfa58aa4, flags=...) at kernel/qeventloop.cpp:201
#41 0x062c553f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#42 0x011fcdd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#43 0x08065b98 in main (argc=5, argv=0xbfa58ef4) at ../../ktorrent/main.cpp:171

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-21 17:44:33 UTC
Fixed in 3.3. Thanks

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