Bug 212247 - ktorrent segfault
Summary: ktorrent segfault
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-10-29 00:34 UTC by killerisation
Modified: 2009-10-29 14:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description killerisation 2009-10-29 00:34:06 UTC
Application that crashed: ktorrent
Version of the application: 3.2.1
KDE Version: 4.3.2 (KDE 4.3.2)
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:
ktorrent segfaulted when running in background and pc was idle

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

Thread 3 (Thread 0x7f959dfe6950 (LWP 1100)):
#0  0x00007f95af2fa496 in *__GI___poll (fds=0x22d3760, nfds=122, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f95b2e0e891 in net::DownloadThread::waitForSocketReady (this=0x154d360, timeout=<value optimized out>) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/downloadthread.cpp:188
#2  0x00007f95b2e0e94c in net::DownloadThread::update (this=0x22d3760) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/downloadthread.cpp:53
#3  0x00007f95b2e0f399 in net::NetworkThread::run (this=0x154d360) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/networkthread.cpp:48
#4  0x00007f95b0973d35 in QThreadPrivate::start (arg=0x154d360) at thread/qthread_unix.cpp:188
#5  0x00007f95ab9643ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f95af303fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f959d7e5950 (LWP 1101)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f95b0974d19 in QWaitCondition::wait (this=0x154dcd8, mutex=0x154dce0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f95b2e0e254 in net::UploadThread::update (this=0x154dc70) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/uploadthread.cpp:73
#3  0x00007f95b2e0f399 in net::NetworkThread::run (this=0x154dc70) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/networkthread.cpp:48
#4  0x00007f95b0973d35 in QThreadPrivate::start (arg=0x154dc70) at thread/qthread_unix.cpp:188
#5  0x00007f95ab9643ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f95af303fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f95b32ce750 (LWP 4524)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007f95aed3e8cd in QCA::MemoryRegion::MemoryRegion () from /usr/lib/libqca.so.2
#7  0x00007f95aed55d15 in QCA::Hash::update () from /usr/lib/libqca.so.2
#8  0x00007f95aed55d9e in QCA::Hash::update () from /usr/lib/libqca.so.2
#9  0x00007f95b2e2c48e in bt::ChunkDownload::updateHash (this=0x21edc00) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/download/chunkdownload.cpp:562
#10 0x00007f95b2e2d1bd in bt::ChunkDownload::piece (this=0x21edc00, p=@0x7fffbb3116a0, ok=<value optimized out>) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/download/chunkdownload.cpp:133
#11 0x00007f95b2e34612 in bt::Downloader::pieceReceived (this=0x1b427b0, p=@0x7fffbb3116a0) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/download/downloader.cpp:133
#12 0x00007f95b2e1bc9d in bt::Peer::packetReady (this=0x2522bf0, packet=0x21cdd40 "\a", len=<value optimized out>) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/peer/peer.cpp:269
#13 0x00007f95b2e24f5d in bt::PacketReader::update (this=0x23bc730) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/peer/packetreader.cpp:131
#14 0x00007f95b2e1b675 in bt::Peer::update (this=0x2522bf0) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/peer/peer.cpp:474
#15 0x00007f95b2e1f285 in bt::PeerManager::update (this=0x1b9dfb0) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/peer/peermanager.cpp:117
#16 0x00007f95b2e50b7e in bt::TorrentControl::update (this=0x1b36310) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/torrent/torrentcontrol.cpp:174
#17 0x000000000042b04a in kt::Core::update (this=0x169ce80) at /build/buildd/ktorrent-3.2.1+dfsg.1/ktorrent/core.cpp:868
#18 0x000000000043159e in kt::Core::qt_metacall (this=0x169ce80, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffbb311a60)
    at /build/buildd/ktorrent-3.2.1+dfsg.1/obj-x86_64-linux-gnu/ktorrent/core.moc:148
#19 0x00007f95b0a72ea2 in QMetaObject::activate (sender=0x169cea8, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x7ed) at kernel/qobject.cpp:3113
#20 0x00007f95b0a6d263 in QObject::event (this=0x169cea8, e=0x7f95a4b57000) at kernel/qobject.cpp:1075
#21 0x00007f95afedaf4d in QApplicationPrivate::notify_helper (this=0x158bff0, receiver=0x169cea8, e=0x7fffbb312110) at kernel/qapplication.cpp:4056
#22 0x00007f95afee318a in QApplication::notify (this=0x7fffbb312460, receiver=0x169cea8, e=0x7fffbb312110) at kernel/qapplication.cpp:4021
#23 0x00007f95b201cabb in KApplication::notify (this=0x7fffbb312460, receiver=0x169cea8, event=0x7fffbb312110) at /build/buildd/kde4libs-4.3.2/kdeui/kernel/kapplication.cpp:302
#24 0x00007f95b0a5d6ac in QCoreApplication::notifyInternal (this=0x7fffbb312460, receiver=0x169cea8, event=0x7fffbb312110) at kernel/qcoreapplication.cpp:610
#25 0x00007f95b0a8a516 in QTimerInfoList::activateTimers (this=0x15912e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#26 0x00007f95b0a86b2d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#27 0x00007f95aac9820a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007f95aac9b8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007f95aac9ba7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007f95b0a86a8f in QEventDispatcherGlib::processEvents (this=0x1549f40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#31 0x00007f95aff73bdf in QGuiEventDispatcherGlib::processEvents (this=0x21a5551, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#32 0x00007f95b0a5bf42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1154407552}) at kernel/qeventloop.cpp:149
#33 0x00007f95b0a5c314 in QEventLoop::exec (this=0x7fffbb3123c0, flags={i = -1154407472}) at kernel/qeventloop.cpp:201
#34 0x00007f95b0a5e5e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#35 0x0000000000424023 in main (argc=3, argv=0x7fffbb3130b8) at /build/buildd/ktorrent-3.2.1+dfsg.1/ktorrent/main.cpp:170

Reported using DrKonqi
Comment 1 Dario Andres 2009-10-29 14:13:51 UTC
Merging with bug 186621. Thanks

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