Bug 216252 - Ktorrent crash for no reason
Summary: Ktorrent crash for no 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-11-26 14:01 UTC by aymeric.rateau
Modified: 2009-11-26 18:33 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 aymeric.rateau 2009-11-26 14:01:04 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: Ubuntu 9.10

What I was doing when the application crashed:
I honestly do not know why ktorrent crashes. Impossible to know trigger, random time, enough harddrive space.

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

Thread 3 (Thread 0xb48feb70 (LWP 13435)):
#0  0x006c7422 in __kernel_vsyscall ()
#1  0x006b0142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x00b737e4 in __pthread_cond_timedwait (cond=0xb48fe204, mutex=0xb48fe234, abstime=0xb48fe280) at forward.c:152
#3  0x0417081e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:297
#4  0x04170973 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:323
#5  0x00450558 in net::DownloadThread::update (this=0x9fc1040) at ../../libbtcore/net/downloadthread.cpp:110
#6  0x00450d38 in net::NetworkThread::run (this=0x9fc1040) at ../../libbtcore/net/networkthread.cpp:48
#7  0x04170e32 in QThreadPrivate::start (arg=0x9fc1040) at thread/qthread_unix.cpp:188
#8  0x006ab80e in start_thread (arg=0xb48feb70) at pthread_create.c:300
#9  0x00b667ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb40fdb70 (LWP 13436)):
#0  0x006c7422 in __kernel_vsyscall ()
#1  0x006afe15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00b7378d in __pthread_cond_wait (cond=0x9fc15d0, mutex=0x9fc15b8) at forward.c:139
#3  0x04171e67 in QWaitConditionPrivate::wait (this=0x9fc1328, mutex=0x9fc132c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9fc1328, mutex=0x9fc132c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x0044fa6d in net::UploadThread::update (this=0x9fc12f0) at ../../libbtcore/net/uploadthread.cpp:73
#6  0x00450d38 in net::NetworkThread::run (this=0x9fc12f0) at ../../libbtcore/net/networkthread.cpp:48
#7  0x04170e32 in QThreadPrivate::start (arg=0x9fc12f0) at thread/qthread_unix.cpp:188
#8  0x006ab80e in start_thread (arg=0xb40fdb70) at pthread_create.c:300
#9  0x00b667ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb777c700 (LWP 13406)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/i386/i686/memcpy.S:100
#7  0x04eda456 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x04ef27bb in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#9  0x0043b594 in bt::SHA1HashGen::update (this=0xb2a81a2c, data=0xb565e102 "", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:238
#10 0x00470eb8 in bt::ChunkDownload::updateHash (this=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:562
#11 0x00471d30 in bt::ChunkDownload::piece (this=0xb2a819a8, p=..., ok=@0xbfb544af) at ../../libbtcore/download/chunkdownload.cpp:133
#12 0x004788ff in bt::Downloader::pieceReceived (this=0xa401e88, p=...) at ../../libbtcore/download/downloader.cpp:133
#13 0x00460b0f in bt::PeerManager::pieceReceived (this=0xa2cd480, p=...) at ../../libbtcore/peer/peermanager.cpp:669
#14 0x0045f49f in bt::Peer::packetReady (this=0xb33e4690, packet=0xa3e6f28 "\a", len=9) at ../../libbtcore/peer/peer.cpp:269
#15 0x00468f16 in bt::PacketReader::update (this=0xb32cdd98) at ../../libbtcore/peer/packetreader.cpp:131
#16 0x0045f1d9 in bt::Peer::update (this=0xb33e4690) at ../../libbtcore/peer/peer.cpp:474
#17 0x00462f0e in bt::PeerManager::update (this=0xa2cd480) at ../../libbtcore/peer/peermanager.cpp:117
#18 0x004983be in bt::TorrentControl::update (this=0xa3a10b8) at ../../libbtcore/torrent/torrentcontrol.cpp:178
#19 0x0806d1e7 in kt::Core::update (this=0xb5705b68) at ../../ktorrent/core.cpp:877
#20 0x08072c1d in kt::Core::qt_metacall (this=0xb5705b68, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfb5482c) at ./core.moc:148
#21 0x04277263 in QMetaObject::activate (sender=0xb5705b7c, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#22 0x04277ec2 in QMetaObject::activate (sender=0xb5705b7c, m=0x4352904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#23 0x042b1667 in QTimer::timeout (this=0xb5705b7c) at .moc/release-shared/moc_qtimer.cpp:128
#24 0x0427c9ae in QTimer::timerEvent (this=0xb5705b7c, e=0xbfb54cc0) at kernel/qtimer.cpp:261
#25 0x042713bf in QObject::event (this=0xb5705b7c, e=0xbfb54cc0) at kernel/qobject.cpp:1075
#26 0x05cb6f54 in QApplicationPrivate::notify_helper (this=0x9fefc58, receiver=0xb5705b7c, e=0xbfb54cc0) at kernel/qapplication.cpp:4056
#27 0x05cbe67c in QApplication::notify (this=0xbfb55014, receiver=0xb5705b7c, e=0xbfb54cc0) at kernel/qapplication.cpp:3603
#28 0x00f3abfa in KApplication::notify (this=0xbfb55014, receiver=0xb5705b7c, event=0xbfb54cc0) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x042616cb in QCoreApplication::notifyInternal (this=0xbfb55014, receiver=0xb5705b7c, event=0xbfb54cc0) at kernel/qcoreapplication.cpp:610
#30 0x0428e7ce in QCoreApplication::sendEvent (this=0x9fe3b34) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#31 QTimerInfoList::activateTimers (this=0x9fe3b34) at kernel/qeventdispatcher_unix.cpp:572
#32 0x0428c0e0 in timerSourceDispatch (source=0x9fe3b00) at kernel/qeventdispatcher_glib.cpp:165
#33 0x048dee78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x048e2720 in ?? () from /lib/libglib-2.0.so.0
#35 0x048e2853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x0428c02c in QEventDispatcherGlib::processEvents (this=0x9fbeee8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#37 0x05d57be5 in QGuiEventDispatcherGlib::processEvents (this=0x9fbeee8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x0425fc79 in QEventLoop::processEvents (this=0xbfb54f84, flags=) at kernel/qeventloop.cpp:149
#39 0x042600ca in QEventLoop::exec (this=0xbfb54f84, flags=...) at kernel/qeventloop.cpp:201
#40 0x0426253f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0x05cb6dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#42 0x08065b98 in main (argc=5, argv=0xbfb553d4) at ../../ktorrent/main.cpp:171

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

Reported using DrKonqi
Comment 1 Joris Guisson 2009-11-26 18:33:05 UTC
Upgrade to 3.3.1, this has been fixed

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