Bug 230768 - KTorrent (ktorrent), signal: Segmentation fault, while downloading on backgrund
Summary: KTorrent (ktorrent), signal: Segmentation fault, while downloading on backgrund
Status: RESOLVED DUPLICATE of bug 227400
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: 2010-03-14 22:00 UTC by mmm
Modified: 2010-03-14 22:22 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 mmm 2010-03-14 22:00:45 UTC
Application that crashed: ktorrent
Version of the application: 3.2.4
KDE Version: 4.3.5 (KDE 4.3.5)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-17-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Ktorrent crashes when downloading few torrents on background. There are few possible duplicates across the bug reports (e.g. mine one https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/538659)

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

Thread 3 (Thread 0xb1dffb70 (LWP 12292)):
#0  0x007b0422 in __kernel_vsyscall ()
#1  0x01d66142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x041dc8d4 in __pthread_cond_timedwait (cond=0xb1dff204, mutex=0xb1dff234, abstime=0xb1dff280) at forward.c:152
#3  0x00bd581e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:297
#4  0x00bd5973 in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:323
#5  0x00a99558 in net::DownloadThread::update (this=0x9bf4040) at ../../libbtcore/net/downloadthread.cpp:110
#6  0x00a99d38 in net::NetworkThread::run (this=0x9bf4040) at ../../libbtcore/net/networkthread.cpp:48
#7  0x00bd5e32 in QThreadPrivate::start (arg=0x9bf4040) at thread/qthread_unix.cpp:188
#8  0x01d6180e in start_thread (arg=0xb1dffb70) at pthread_create.c:300
#9  0x041cf8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb15feb70 (LWP 12293)):
#0  0x007b0422 in __kernel_vsyscall ()
#1  0x01d65e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x041dc87d in __pthread_cond_wait (cond=0x9bf45d0, mutex=0x9bf45b8) at forward.c:139
#3  0x00bd6e67 in QWaitConditionPrivate::wait (this=0x9bf4328, mutex=0x9bf432c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9bf4328, mutex=0x9bf432c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00a98a6d in net::UploadThread::update (this=0x9bf42f0) at ../../libbtcore/net/uploadthread.cpp:73
#6  0x00a99d38 in net::NetworkThread::run (this=0x9bf42f0) at ../../libbtcore/net/networkthread.cpp:48
#7  0x00bd5e32 in QThreadPrivate::start (arg=0x9bf42f0) at thread/qthread_unix.cpp:188
#8  0x01d6180e in start_thread (arg=0xb15feb70) at pthread_create.c:300
#9  0x041cf8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77c8700 (LWP 12289)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/i386/i686/memcpy.S:75
#7  0xbfddda4c in ?? ()
#8  0x01cd37bb in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#9  0x00a84594 in bt::SHA1HashGen::update (this=0xa008c2c, data=0xb58cf000 "E\201;s\242\255\307>?\230p\n{", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:238
#10 0x00ab9eb8 in bt::ChunkDownload::updateHash (this=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:562
#11 0x00abad30 in bt::ChunkDownload::piece (this=0xa008ba8, p=..., ok=@0xbfdddbef) at ../../libbtcore/download/chunkdownload.cpp:133
#12 0x00ac18ff in bt::Downloader::pieceReceived (this=0xaa5ae50, p=...) at ../../libbtcore/download/downloader.cpp:133
#13 0x00aa9b0f in bt::PeerManager::pieceReceived (this=0xa968e48, p=...) at ../../libbtcore/peer/peermanager.cpp:669
#14 0x00aa849f in bt::Peer::packetReady (this=0xaaaaba0, packet=0xacc7f08 "\a", len=16393) at ../../libbtcore/peer/peer.cpp:269
#15 0x00ab1f16 in bt::PacketReader::update (this=0xabde508) at ../../libbtcore/peer/packetreader.cpp:131
#16 0x00aa81d9 in bt::Peer::update (this=0xaaaaba0) at ../../libbtcore/peer/peer.cpp:474
#17 0x00aabf0e in bt::PeerManager::update (this=0xa968e48) at ../../libbtcore/peer/peermanager.cpp:117
#18 0x00ae13be in bt::TorrentControl::update (this=0xa86b990) at ../../libbtcore/torrent/torrentcontrol.cpp:178
#19 0x0806d1e7 in kt::Core::update (this=0x9cf3370) at ../../ktorrent/core.cpp:877
#20 0x08072c1d in kt::Core::qt_metacall (this=0x9cf3370, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfdddf6c) at ./core.moc:148
#21 0x00cdc263 in QMetaObject::activate (sender=0x9cf3384, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#22 0x00cdcec2 in QMetaObject::activate (sender=0x9cf3384, m=0xdb7904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#23 0x00d16667 in QTimer::timeout (this=0x9cf3384) at .moc/release-shared/moc_qtimer.cpp:128
#24 0x00ce19ae in QTimer::timerEvent (this=0x9cf3384, e=0xbfdde400) at kernel/qtimer.cpp:261
#25 0x00cd63bf in QObject::event (this=0x9cf3384, e=0xbfdde400) at kernel/qobject.cpp:1075
#26 0x013dcf54 in QApplicationPrivate::notify_helper (this=0x9c2e6a8, receiver=0x9cf3384, e=0xbfdde400) at kernel/qapplication.cpp:4056
#27 0x013e467c in QApplication::notify (this=0xbfdde754, receiver=0x9cf3384, e=0xbfdde400) at kernel/qapplication.cpp:3603
#28 0x010fc25a in KApplication::notify (this=0xbfdde754, receiver=0x9cf3384, event=0xbfdde400) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x00cc66cb in QCoreApplication::notifyInternal (this=0xbfdde754, receiver=0x9cf3384, event=0xbfdde400) at kernel/qcoreapplication.cpp:610
#30 0x00cf37ce in QCoreApplication::sendEvent (this=0x9c17f9c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#31 QTimerInfoList::activateTimers (this=0x9c17f9c) at kernel/qeventdispatcher_unix.cpp:572
#32 0x00cf10e0 in timerSourceDispatch (source=0x9c17f68) at kernel/qeventdispatcher_glib.cpp:165
#33 0x07eade88 in g_main_dispatch (context=0x9c17698) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#34 IA__g_main_context_dispatch (context=0x9c17698) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#35 0x07eb1730 in g_main_context_iterate (context=0x9c17698, block=<value optimized out>, dispatch=1, self=0x9c15470) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#36 0x07eb1863 in IA__g_main_context_iteration (context=0x9c17698, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#37 0x00cf102c in QEventDispatcherGlib::processEvents (this=0x9bf1ee8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#38 0x0147dbe5 in QGuiEventDispatcherGlib::processEvents (this=0x9bf1ee8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#39 0x00cc4c79 in QEventLoop::processEvents (this=0xbfdde6c4, flags=) at kernel/qeventloop.cpp:149
#40 0x00cc50ca in QEventLoop::exec (this=0xbfdde6c4, flags=...) at kernel/qeventloop.cpp:201
#41 0x00cc753f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#42 0x013dcdd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#43 0x08065b98 in main (argc=5, argv=0xbfddeb14) at ../../ktorrent/main.cpp:171

Reported using DrKonqi
Comment 1 Joris Guisson 2010-03-14 22:22:38 UTC

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