Bug 223634

Summary: Crashing and report a bug
Product: [Applications] ktorrent Reporter: NeowiN <neowin>
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 NeowiN 2010-01-21 02:22:47 UTC
Application that crashed: ktorrent
Version of the application: 3.2.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-18-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Ktorrent is stopping totaly. And it is crashing, Then it is coming with the bug site. Where i can report the bug or restart application

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

Thread 3 (Thread 0xb0b4eb70 (LWP 20358)):
#0  net::DownloadThread::update (this=0x9470040) at ../../libbtcore/net/downloadthread.cpp:70
#1  0x00151d38 in net::NetworkThread::run (this=0x9470040) at ../../libbtcore/net/networkthread.cpp:48
#2  0x0104de32 in QThreadPrivate::start (arg=0x9470040) at thread/qthread_unix.cpp:188
#3  0x00f5a80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0x03c578de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb034db70 (LWP 20359)):
#0  0x006b0422 in __kernel_vsyscall ()
#1  0x00f5ee15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x03c6487d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0104ee67 in QWaitConditionPrivate::wait (this=0x9470328, mutex=0x947032c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9470328, mutex=0x947032c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00150a6d in net::UploadThread::update (this=0x94702f0) at ../../libbtcore/net/uploadthread.cpp:73
#6  0x00151d38 in net::NetworkThread::run (this=0x94702f0) at ../../libbtcore/net/networkthread.cpp:48
#7  0x0104de32 in QThreadPrivate::start (arg=0x94702f0) at thread/qthread_unix.cpp:188
#8  0x00f5a80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x03c578de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7875700 (LWP 20119)):
[KCrash Handler]
#6  0x03c00071 in memcpy () from /lib/tls/i686/cmov/libc.so.6
#7  0x068b0456 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x068c87bb in QCA::Hash::update(char const*, int) () from /usr/lib/libqca.so.2
#9  0x0013c594 in bt::SHA1HashGen::update (this=0xaa20974, 
    data=0xb591ae9b "\030k{\322\066\340\231\365\352x\017\354!\324\366\207\243\026z\310{\256Da\003\324\314W$\303\300S\273E\373\334\331\266\314\071\304\261\337\022\236%\357\347\316=\302\255\317\021\031\271\316x\272/\023\356s\330\241\034\213s\234\275\227\006C\tY\303\356U9\343\310\200\240<\367\035D\005\001\347\323\357H\a \343\300,\352\373\316\251@2\207\302\204\322/\217{\225\343\317\201\262\302\033M\337\003\034\030\341j\027\024W:\342\233\343\263\356\314", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:238
#10 0x00171eb8 in bt::ChunkDownload::updateHash (this=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:562
#11 0x00172d30 in bt::ChunkDownload::piece (this=0xaa208f0, p=..., ok=@0xbfdd39cf) at ../../libbtcore/download/chunkdownload.cpp:133
#12 0x001798ff in bt::Downloader::pieceReceived (this=0xa4f2830, p=...) at ../../libbtcore/download/downloader.cpp:133
#13 0x00161b0f in bt::PeerManager::pieceReceived (this=0x99894c8, p=...) at ../../libbtcore/peer/peermanager.cpp:669
#14 0x0016049f in bt::Peer::packetReady (this=0xaab4fa0, packet=0xadf4c518 "\a", len=208) at ../../libbtcore/peer/peer.cpp:269
#15 0x00169f16 in bt::PacketReader::update (this=0xa6911c8) at ../../libbtcore/peer/packetreader.cpp:131
#16 0x001601d9 in bt::Peer::update (this=0xaab4fa0) at ../../libbtcore/peer/peer.cpp:474
#17 0x00163f0e in bt::PeerManager::update (this=0x99894c8) at ../../libbtcore/peer/peermanager.cpp:117
#18 0x001993be in bt::TorrentControl::update (this=0x9959b70) at ../../libbtcore/torrent/torrentcontrol.cpp:178
#19 0x0806d1e7 in kt::Core::update (this=0x964ba80) at ../../ktorrent/core.cpp:877
#20 0x08072c1d in kt::Core::qt_metacall (this=0x964ba80, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfdd3d4c) at ./core.moc:148
#21 0x01154263 in QMetaObject::activate (sender=0x964ba94, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#22 0x01154ec2 in QMetaObject::activate (sender=0x964ba94, m=0x122f904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#23 0x0118e667 in QTimer::timeout (this=0x964ba94) at .moc/release-shared/moc_qtimer.cpp:128
#24 0x011599ae in QTimer::timerEvent (this=0x964ba94, e=0xbfdd41e0) at kernel/qtimer.cpp:261
#25 0x0114e3bf in QObject::event (this=0x964ba94, e=0xbfdd41e0) at kernel/qobject.cpp:1075
#26 0x028b5f54 in QApplicationPrivate::notify_helper (this=0x9491ad0, receiver=0x964ba94, e=0xbfdd41e0) at kernel/qapplication.cpp:4056
#27 0x028bd67c in QApplication::notify (this=0xbfdd4534, receiver=0x964ba94, e=0xbfdd41e0) at kernel/qapplication.cpp:3603
#28 0x008841aa in KApplication::notify (this=0xbfdd4534, receiver=0x964ba94, event=0xbfdd41e0) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x0113e6cb in QCoreApplication::notifyInternal (this=0xbfdd4534, receiver=0x964ba94, event=0xbfdd41e0) at kernel/qcoreapplication.cpp:610
#30 0x0116b7ce in QCoreApplication::sendEvent (this=0x9494874) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#31 QTimerInfoList::activateTimers (this=0x9494874) at kernel/qeventdispatcher_unix.cpp:572
#32 0x011690e0 in timerSourceDispatch (source=0x9494840) at kernel/qeventdispatcher_glib.cpp:165
#33 0x05e74e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x05e78730 in ?? () from /lib/libglib-2.0.so.0
#35 0x05e78863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x0116902c in QEventDispatcherGlib::processEvents (this=0x946dee8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#37 0x02956be5 in QGuiEventDispatcherGlib::processEvents (this=0x946dee8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#38 0x0113cc79 in QEventLoop::processEvents (this=0xbfdd44a4, flags=) at kernel/qeventloop.cpp:149
#39 0x0113d0ca in QEventLoop::exec (this=0xbfdd44a4, flags=...) at kernel/qeventloop.cpp:201
#40 0x0113f53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#41 0x028b5dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#42 0x08065b98 in main (argc=5, argv=0xbfdd48f4) at ../../ktorrent/main.cpp:171

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-21 13:28:16 UTC
This is fixed in KTorrent 3.3
Regards

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