Bug 223241

Summary: kTorrent long run unidentified kcrash
Product: [Applications] ktorrent Reporter: aka <dr_anonymous>
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 aka 2010-01-18 06:50:57 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-17-generic x86_64
Distribution: Ubuntu 9.10

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f9430623750 (LWP 10841))]

Thread 3 (Thread 0x7f940fb74910 (LWP 10848)):
#0  net::DownloadThread::update (this=0xc9a530) at ../../libbtcore/net/downloadthread.cpp:74
#1  0x00007f9430165c89 in net::NetworkThread::run (this=0xc9a530) at ../../libbtcore/net/networkthread.cpp:48
#2  0x00007f942e39f445 in QThreadPrivate::start (arg=0xc9a530) at thread/qthread_unix.cpp:188
#3  0x00007f94299d2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f942cd5280d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f940f373910 (LWP 10849)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f942e3a04fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0xc9aeb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xc9aeb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f9430164b88 in net::UploadThread::update (this=0xc9ae40) at ../../libbtcore/net/uploadthread.cpp:73
#4  0x00007f9430165c89 in net::NetworkThread::run (this=0xc9ae40) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007f942e39f445 in QThreadPrivate::start (arg=0xc9ae40) at thread/qthread_unix.cpp:188
#6  0x00007f94299d2a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f942cd5280d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()
The current source language is "auto; currently c++".

Thread 1 (Thread 0x7f9430623750 (LWP 10841)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007f942c772276 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#7  0x00007f942c7899d4 in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#8  0x00007f94301822d2 in bt::ChunkDownload::updateHash (this=0xab36e30) at ../../libbtcore/download/chunkdownload.cpp:562
#9  0x00007f9430183055 in bt::ChunkDownload::piece (this=0xab36e30, p=..., ok=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:133
#10 0x00007f94301898be in bt::Downloader::pieceReceived (this=0x798ec80, p=...) at ../../libbtcore/download/downloader.cpp:133
#11 0x00007f9430172091 in bt::Peer::packetReady (this=0xad0b0d0, packet=0x7f94080419b0 "\a", len=<value optimized out>) at ../../libbtcore/peer/peer.cpp:269
#12 0x00007f943017af95 in bt::PacketReader::update (this=0xb4693e0) at ../../libbtcore/peer/packetreader.cpp:131
#13 0x00007f9430171dd5 in bt::Peer::update (this=0xad0b0d0) at ../../libbtcore/peer/peer.cpp:474
#14 0x00007f94301757c0 in bt::PeerManager::update (this=0x776fb20) at ../../libbtcore/peer/peermanager.cpp:117
#15 0x00007f94301a64cc in bt::TorrentControl::update (this=0xe04d30) at ../../libbtcore/torrent/torrentcontrol.cpp:178
#16 0x000000000042c1c2 in kt::Core::update (this=0xfad810) at ../../ktorrent/core.cpp:877
#17 0x0000000000431d2c in kt::Core::qt_metacall (this=0xfad810, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff46d65800) at ./core.moc:148
#18 0x00007f942e49addc in QMetaObject::activate (sender=0xfad838, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x788) at kernel/qobject.cpp:3113
#19 0x00007f942e494d83 in QObject::event (this=0xfad838, e=0x7f9410190000) at kernel/qobject.cpp:1075
#20 0x00007f942d92defc in QApplicationPrivate::notify_helper (this=0xcdb380, receiver=0xfad838, e=0x7fff46d65e00) at kernel/qapplication.cpp:4056
#21 0x00007f942d9351ce in QApplication::notify (this=0x7fff46d66130, receiver=0xfad838, e=0x7fff46d65e00) at kernel/qapplication.cpp:4021
#22 0x00007f942f357ab6 in KApplication::notify (this=0x7fff46d66130, receiver=0xfad838, event=0x7fff46d65e00) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x00007f942e485c2c in QCoreApplication::notifyInternal (this=0x7fff46d66130, receiver=0xfad838, event=0x7fff46d65e00) at kernel/qcoreapplication.cpp:610
#24 0x00007f942e4b0862 in QCoreApplication::sendEvent (this=0xcd9200) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#25 QTimerInfoList::activateTimers (this=0xcd9200) at kernel/qeventdispatcher_unix.cpp:572
#26 0x00007f942e4ae25d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#27 0x00007f9428cfdbce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x00007f9428d01598 in ?? () from /lib/libglib-2.0.so.0
#29 0x00007f9428d016c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x00007f942e4ae1a6 in QEventDispatcherGlib::processEvents (this=0xc97530, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#31 0x00007f942d9c24be in QGuiEventDispatcherGlib::processEvents (this=0xb3e24d3, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#32 0x00007f942e484532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007f942e484904 in QEventLoop::exec (this=0x7fff46d660a0, flags=) at kernel/qeventloop.cpp:201
#34 0x00007f942e486ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#35 0x0000000000424ef2 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:171
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

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

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-18 12:35:10 UTC
This is fixed in KTorrent 3.3 Regards

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