Bug 219205 - ktorrent crashes seemingly without reason
Summary: ktorrent crashes seemingly without reason
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-12-18 17:10 UTC by josemaria1
Modified: 2009-12-18 17:55 UTC (History)
0 users

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 josemaria1 2009-12-18 17:10:41 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:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7705700 (LWP 3041))]

Thread 3 (Thread 0xb5580b70 (LWP 3047)):
#0  net::DownloadThread::waitForSocketReady (this=0x9991040, timeout=50) at /usr/include/c++/4.4/bits/stl_list.h:708
#1  0x00b4c309 in net::DownloadThread::update (this=0x9991040) at ../../libbtcore/net/downloadthread.cpp:53
#2  0x00b4cd38 in net::NetworkThread::run (this=0x9991040) at ../../libbtcore/net/networkthread.cpp:48
#3  0x0101ae32 in QThreadPrivate::start (arg=0x9991040) at thread/qthread_unix.cpp:188
#4  0x00a8b80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x055e57ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb4d7fb70 (LWP 3048)):
#0  0x00aa7422 in __kernel_vsyscall ()
#1  0x00a8fe15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x055f278d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0101be67 in QWaitConditionPrivate::wait (this=0x9991328, mutex=0x999132c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9991328, mutex=0x999132c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00b4ba6d in net::UploadThread::update (this=0x99912f0) at ../../libbtcore/net/uploadthread.cpp:73
#6  0x00b4cd38 in net::NetworkThread::run (this=0x99912f0) at ../../libbtcore/net/networkthread.cpp:48
#7  0x0101ae32 in QThreadPrivate::start (arg=0x99912f0) at thread/qthread_unix.cpp:188
#8  0x00a8b80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x055e57ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7705700 (LWP 3041)):
[KCrash Handler]
#6  0x0558e006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
#7  0xbf98f8fc in ?? ()
#8  0x030ef7bb in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#9  0x00b37594 in bt::SHA1HashGen::update (this=0x9d8a3c4, data=0xb558b000 "\241\265\020Z\210\264\343v\240\206U\354\330", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:238
#10 0x00b6ceb8 in bt::ChunkDownload::updateHash (this=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:562
#11 0x00b6dd30 in bt::ChunkDownload::piece (this=0x9d8a340, p=..., ok=@0xbf98fa9f) at ../../libbtcore/download/chunkdownload.cpp:133
#12 0x00b748ff in bt::Downloader::pieceReceived (this=0x9ce4d60, p=...) at ../../libbtcore/download/downloader.cpp:133
#13 0x00b5cb0f in bt::PeerManager::pieceReceived (this=0x9ccf360, p=...) at ../../libbtcore/peer/peermanager.cpp:669
#14 0x00b5b49f in bt::Peer::packetReady (this=0xa230020, packet=0xb447c8d0 "\a", len=16393) at ../../libbtcore/peer/peer.cpp:269
#15 0x00b64f16 in bt::PacketReader::update (this=0x9f3eb98) at ../../libbtcore/peer/packetreader.cpp:131
#16 0x00b5b1d9 in bt::Peer::update (this=0xa230020) at ../../libbtcore/peer/peer.cpp:474
#17 0x00b5ef0e in bt::PeerManager::update (this=0x9ccf360) at ../../libbtcore/peer/peermanager.cpp:117
#18 0x00b943be in bt::TorrentControl::update (this=0x9ccb2a0) at ../../libbtcore/torrent/torrentcontrol.cpp:178
#19 0x0806d1e7 in kt::Core::update (this=0x9a7e5a8) at ../../ktorrent/core.cpp:877
#20 0x08072c1d in kt::Core::qt_metacall (this=0x9a7e5a8, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbf98fe1c) at ./core.moc:148
#21 0x01121263 in QMetaObject::activate (sender=0x9a7e5bc, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#22 0x01121ec2 in QMetaObject::activate (sender=0x9a7e5bc, m=0x11fc904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#23 0x0115b667 in QTimer::timeout (this=0x9a7e5bc) at .moc/release-shared/moc_qtimer.cpp:128
#24 0x011269ae in QTimer::timerEvent (this=0x9a7e5bc, e=0xbf9902b0) at kernel/qtimer.cpp:261
#25 0x0111b3bf in QObject::event (this=0x9a7e5bc, e=0xbf9902b0) at kernel/qobject.cpp:1075
#26 0x05b7bf54 in QApplicationPrivate::notify_helper (this=0x99b7918, receiver=0x9a7e5bc, e=0xbf9902b0) at kernel/qapplication.cpp:4056
#27 0x05b8367c in QApplication::notify (this=0xbf990604, receiver=0x9a7e5bc, e=0xbf9902b0) at kernel/qapplication.cpp:3603
#28 0x00e0cbfa in KApplication::notify (this=0xbf990604, receiver=0x9a7e5bc, event=0xbf9902b0) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x0110b6cb in QCoreApplication::notifyInternal (this=0xbf990604, receiver=0x9a7e5bc, event=0xbf9902b0) at kernel/qcoreapplication.cpp:610
#30 0x011387ce in QCoreApplication::sendEvent (this=0x99b44b4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#31 QTimerInfoList::activateTimers (this=0x99b44b4) at kernel/qeventdispatcher_unix.cpp:572
#32 0x011360e0 in timerSourceDispatch (source=0x99b4480) at kernel/qeventdispatcher_glib.cpp:165
#33 0x07497e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x0749b720 in ?? () from /lib/libglib-2.0.so.0
#35 0x0749b853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x0113602c in QEventDispatcherGlib::processEvents (this=0x998eee8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#37 0x05c1cbe5 in QGuiEventDispatcherGlib::processEvents (this=0x998eee8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x01109c79 in QEventLoop::processEvents (this=0xbf990574, flags=) at kernel/qeventloop.cpp:149
#39 0x0110a0ca in QEventLoop::exec (this=0xbf990574, flags=...) at kernel/qeventloop.cpp:201
#40 0x0110c53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0x05b7bdd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#42 0x08065b98 in main (argc=5, argv=0xbf9909c4) at ../../ktorrent/main.cpp:171


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

Thread 3 (Thread 0xb5580b70 (LWP 3047)):
#0  net::DownloadThread::waitForSocketReady (this=0x9991040, timeout=50) at /usr/include/c++/4.4/bits/stl_list.h:708
#1  0x00b4c309 in net::DownloadThread::update (this=0x9991040) at ../../libbtcore/net/downloadthread.cpp:53
#2  0x00b4cd38 in net::NetworkThread::run (this=0x9991040) at ../../libbtcore/net/networkthread.cpp:48
#3  0x0101ae32 in QThreadPrivate::start (arg=0x9991040) at thread/qthread_unix.cpp:188
#4  0x00a8b80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x055e57ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb4d7fb70 (LWP 3048)):
#0  0x00aa7422 in __kernel_vsyscall ()
#1  0x00a8fe15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x055f278d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0101be67 in QWaitConditionPrivate::wait (this=0x9991328, mutex=0x999132c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9991328, mutex=0x999132c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00b4ba6d in net::UploadThread::update (this=0x99912f0) at ../../libbtcore/net/uploadthread.cpp:73
#6  0x00b4cd38 in net::NetworkThread::run (this=0x99912f0) at ../../libbtcore/net/networkthread.cpp:48
#7  0x0101ae32 in QThreadPrivate::start (arg=0x99912f0) at thread/qthread_unix.cpp:188
#8  0x00a8b80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x055e57ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7705700 (LWP 3041)):
[KCrash Handler]
#6  0x0558e006 in memcpy () from /lib/tls/i686/cmov/libc.so.6
#7  0xbf98f8fc in ?? ()
#8  0x030ef7bb in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#9  0x00b37594 in bt::SHA1HashGen::update (this=0x9d8a3c4, data=0xb558b000 "\241\265\020Z\210\264\343v\240\206U\354\330", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:238
#10 0x00b6ceb8 in bt::ChunkDownload::updateHash (this=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:562
#11 0x00b6dd30 in bt::ChunkDownload::piece (this=0x9d8a340, p=..., ok=@0xbf98fa9f) at ../../libbtcore/download/chunkdownload.cpp:133
#12 0x00b748ff in bt::Downloader::pieceReceived (this=0x9ce4d60, p=...) at ../../libbtcore/download/downloader.cpp:133
#13 0x00b5cb0f in bt::PeerManager::pieceReceived (this=0x9ccf360, p=...) at ../../libbtcore/peer/peermanager.cpp:669
#14 0x00b5b49f in bt::Peer::packetReady (this=0xa230020, packet=0xb447c8d0 "\a", len=16393) at ../../libbtcore/peer/peer.cpp:269
#15 0x00b64f16 in bt::PacketReader::update (this=0x9f3eb98) at ../../libbtcore/peer/packetreader.cpp:131
#16 0x00b5b1d9 in bt::Peer::update (this=0xa230020) at ../../libbtcore/peer/peer.cpp:474
#17 0x00b5ef0e in bt::PeerManager::update (this=0x9ccf360) at ../../libbtcore/peer/peermanager.cpp:117
#18 0x00b943be in bt::TorrentControl::update (this=0x9ccb2a0) at ../../libbtcore/torrent/torrentcontrol.cpp:178
#19 0x0806d1e7 in kt::Core::update (this=0x9a7e5a8) at ../../ktorrent/core.cpp:877
#20 0x08072c1d in kt::Core::qt_metacall (this=0x9a7e5a8, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbf98fe1c) at ./core.moc:148
#21 0x01121263 in QMetaObject::activate (sender=0x9a7e5bc, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#22 0x01121ec2 in QMetaObject::activate (sender=0x9a7e5bc, m=0x11fc904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#23 0x0115b667 in QTimer::timeout (this=0x9a7e5bc) at .moc/release-shared/moc_qtimer.cpp:128
#24 0x011269ae in QTimer::timerEvent (this=0x9a7e5bc, e=0xbf9902b0) at kernel/qtimer.cpp:261
#25 0x0111b3bf in QObject::event (this=0x9a7e5bc, e=0xbf9902b0) at kernel/qobject.cpp:1075
#26 0x05b7bf54 in QApplicationPrivate::notify_helper (this=0x99b7918, receiver=0x9a7e5bc, e=0xbf9902b0) at kernel/qapplication.cpp:4056
#27 0x05b8367c in QApplication::notify (this=0xbf990604, receiver=0x9a7e5bc, e=0xbf9902b0) at kernel/qapplication.cpp:3603
#28 0x00e0cbfa in KApplication::notify (this=0xbf990604, receiver=0x9a7e5bc, event=0xbf9902b0) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x0110b6cb in QCoreApplication::notifyInternal (this=0xbf990604, receiver=0x9a7e5bc, event=0xbf9902b0) at kernel/qcoreapplication.cpp:610
#30 0x011387ce in QCoreApplication::sendEvent (this=0x99b44b4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#31 QTimerInfoList::activateTimers (this=0x99b44b4) at kernel/qeventdispatcher_unix.cpp:572
#32 0x011360e0 in timerSourceDispatch (source=0x99b4480) at kernel/qeventdispatcher_glib.cpp:165
#33 0x07497e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x0749b720 in ?? () from /lib/libglib-2.0.so.0
#35 0x0749b853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x0113602c in QEventDispatcherGlib::processEvents (this=0x998eee8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#37 0x05c1cbe5 in QGuiEventDispatcherGlib::processEvents (this=0x998eee8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x01109c79 in QEventLoop::processEvents (this=0xbf990574, flags=) at kernel/qeventloop.cpp:149
#39 0x0110a0ca in QEventLoop::exec (this=0xbf990574, flags=...) at kernel/qeventloop.cpp:201
#40 0x0110c53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0x05b7bdd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#42 0x08065b98 in main (argc=5, argv=0xbf9909c4) at ../../ktorrent/main.cpp:171

Reported using DrKonqi
Comment 1 Joris Guisson 2009-12-18 17:55:15 UTC

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