Bug 209068

Summary: KTorrent crashed clicling on systray icon
Product: [Applications] ktorrent Reporter: boldak <boldak.prasek>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, finex
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description boldak 2009-10-01 08:27:45 UTC
Application that crashed: ktorrent
Version of the application: 3.2.1
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-15-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
My KTorrent start with my desktop. I left click on ktorrent icon in systray and ktorrent crashed.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 0 (LWP 4007)]

Thread 3 (Thread 0x7f5804010950 (LWP 4060)):
#0  0xffffffffff6001bb in ?? ()
#1  0x00007f580400ffd0 in ?? ()
#2  0x00007fff191ff551 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f57fb7ea950 (LWP 4061)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f580e842d19 in QWaitCondition::wait (this=0x16e6cd8, mutex=0x16e6ce0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f5810cdb254 in net::UploadThread::update (this=0x16e6c70) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/uploadthread.cpp:73
#3  0x00007f5810cdc399 in net::NetworkThread::run (this=0x16e6c70) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/networkthread.cpp:48
#4  0x00007f580e841d35 in QThreadPrivate::start (arg=0x16e6c70) at thread/qthread_unix.cpp:188
#5  0x00007f58098323ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f580d1d1fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f58111a2750 (LWP 4007)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007f580cc0c8cd in QCA::MemoryRegion::MemoryRegion () from /usr/lib/libqca.so.2
#7  0x00007f580cc23d15 in QCA::Hash::update () from /usr/lib/libqca.so.2
#8  0x00007f580cc23d9e in QCA::Hash::update () from /usr/lib/libqca.so.2
#9  0x00007f5810cf948e in bt::ChunkDownload::updateHash (this=0x2f97530) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/download/chunkdownload.cpp:562
#10 0x00007f5810cfa1bd in bt::ChunkDownload::piece (this=0x2f97530, p=@0x7fff191df930, ok=<value optimized out>) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/download/chunkdownload.cpp:133
#11 0x00007f5810d01612 in bt::Downloader::pieceReceived (this=0x1fba140, p=@0x7fff191df930) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/download/downloader.cpp:133
#12 0x00007f5810ce8c9d in bt::Peer::packetReady (this=0x46f0330, packet=0x7f57f4070dc0 "\a", len=<value optimized out>) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/peer/peer.cpp:269
#13 0x00007f5810cf1f5d in bt::PacketReader::update (this=0x34307c0) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/peer/packetreader.cpp:131
#14 0x00007f5810ce8675 in bt::Peer::update (this=0x46f0330) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/peer/peer.cpp:474
#15 0x00007f5810cec285 in bt::PeerManager::update (this=0x1fb4c00) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/peer/peermanager.cpp:117
#16 0x00007f5810d1db7e in bt::TorrentControl::update (this=0x1fb3fe0) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/torrent/torrentcontrol.cpp:174
#17 0x000000000042b04a in kt::Core::update (this=0x181be30) at /build/buildd/ktorrent-3.2.1+dfsg.1/ktorrent/core.cpp:868
#18 0x000000000043159e in kt::Core::qt_metacall (this=0x181be30, _c=QMetaObject::InvokeMetaMethod, _id=251, _a=0x7fff191dfcf0)
    at /build/buildd/ktorrent-3.2.1+dfsg.1/obj-x86_64-linux-gnu/ktorrent/core.moc:148
#19 0x00007f580e940ea2 in QMetaObject::activate (sender=0x181be58, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x4c5) at kernel/qobject.cpp:3113
#20 0x00007f580e93b263 in QObject::event (this=0x181be58, e=0x7f5804857000) at kernel/qobject.cpp:1075
#21 0x00007f580dda8f4d in QApplicationPrivate::notify_helper (this=0x17116e0, receiver=0x181be58, e=0x7fff191e03a0) at kernel/qapplication.cpp:4056
#22 0x00007f580ddb118a in QApplication::notify (this=0x7fff191e06f0, receiver=0x181be58, e=0x7fff191e03a0) at kernel/qapplication.cpp:4021
#23 0x00007f580fee9deb in KApplication::notify (this=0x7fff191e06f0, receiver=0x181be58, event=0x7fff191e03a0) at /build/buildd/kde4libs-4.3.1/kdeui/kernel/kapplication.cpp:302
#24 0x00007f580e92b6ac in QCoreApplication::notifyInternal (this=0x7fff191e06f0, receiver=0x181be58, event=0x7fff191e03a0) at kernel/qcoreapplication.cpp:610
#25 0x00007f580e958516 in QTimerInfoList::activateTimers (this=0x17140a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#26 0x00007f580e954b2d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#27 0x00007f5808b6620a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007f5808b698e0 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007f5808b69a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007f580e954a8f in QEventDispatcherGlib::processEvents (this=0x16e2f40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#31 0x00007f580de41bdf in QGuiEventDispatcherGlib::processEvents (this=0x5bcb161, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#32 0x00007f580e929f42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 421398032}) at kernel/qeventloop.cpp:149
#33 0x00007f580e92a314 in QEventLoop::exec (this=0x7fff191e0650, flags={i = 421398112}) at kernel/qeventloop.cpp:201
#34 0x00007f580e92c5e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#35 0x0000000000424023 in main (argc=3, argv=0x7fff191e1348) at /build/buildd/ktorrent-3.2.1+dfsg.1/ktorrent/main.cpp:170

Reported using DrKonqi
Comment 1 Dario Andres 2009-10-02 00:07:00 UTC
Merging with bug 186621. 
- Can you reproduce the crash at will ?
Thanks

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