Bug 209735 - ktorrent crash while downloading (segfault)
Summary: ktorrent crash while downloading (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-07 12:37 UTC by tankyuushin
Modified: 2009-10-09 01:20 UTC (History)
1 user (show)

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 tankyuushin 2009-10-07 12:37:32 UTC
Application that crashed: ktorrent
Version of the application: 3.2.4
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.3
Operating System: Linux 2.6.31-gentoo-r1 x86_64

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

Thread 3 (Thread 0x7fa3d71aa910 (LWP 3996)):
#0  net::DownloadThread::waitForSocketReady (this=0x19ab060, timeout=<value optimized out>) at /var/tmp/portage/net-p2p/ktorrent-3.2.4/work/ktorrent-3.2.4/libbtcore/net/downloadthread.cpp:157
#1  0x00007fa3e1b4048c in net::DownloadThread::update (this=0x7fa3e1e04ac0) at /var/tmp/portage/net-p2p/ktorrent-3.2.4/work/ktorrent-3.2.4/libbtcore/net/downloadthread.cpp:53
#2  0x00007fa3e1b40e59 in net::NetworkThread::run (this=0x19ab060) at /var/tmp/portage/net-p2p/ktorrent-3.2.4/work/ktorrent-3.2.4/libbtcore/net/networkthread.cpp:48
#3  0x00007fa3df6f5693 in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:188
#4  0x00007fa3df484624 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007fa3ddfa256d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa3ceb52910 (LWP 3997)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fa3df6f646b in QWaitCondition::wait (this=<value optimized out>, mutex=0x19ab620, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fa3e1b3fd57 in net::UploadThread::update (this=0x19ab5b0) at /var/tmp/portage/net-p2p/ktorrent-3.2.4/work/ktorrent-3.2.4/libbtcore/net/uploadthread.cpp:73
#3  0x00007fa3e1b40e59 in net::NetworkThread::run (this=0x19ab5b0) at /var/tmp/portage/net-p2p/ktorrent-3.2.4/work/ktorrent-3.2.4/libbtcore/net/networkthread.cpp:48
#4  0x00007fa3df6f5693 in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:188
#5  0x00007fa3df484624 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007fa3ddfa256d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa3e1ff0750 (LWP 3929)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007fa3ddc38136 in MemoryRegion (this=0x7fffa7f7deb0, from=@0x7fffa7f7dec0) at /usr/include/bits/string3.h:52
#7  0x00007fa3ddc4f874 in QCA::Hash::update (this=0x7fa3d07f4bc0, data=<value optimized out>, len=<value optimized out>) at qca_basic.cpp:225
#8  0x00007fa3e1b5d0d2 in bt::ChunkDownload::updateHash (this=0x7fa3d10c31f0) at /var/tmp/portage/net-p2p/ktorrent-3.2.4/work/ktorrent-3.2.4/libbtcore/download/chunkdownload.cpp:562
#9  0x00007fa3e1b5de34 in bt::ChunkDownload::piece (this=0x7fa3d10c31f0, p=@0x7fffa7f7e010, ok=<value optimized out>)
    at /var/tmp/portage/net-p2p/ktorrent-3.2.4/work/ktorrent-3.2.4/libbtcore/download/chunkdownload.cpp:133
#10 0x00007fa3e1b6462e in bt::Downloader::pieceReceived (this=0x7fa3d02c8520, p=@0x7fffa7f7e010) at /var/tmp/portage/net-p2p/ktorrent-3.2.4/work/ktorrent-3.2.4/libbtcore/download/downloader.cpp:133
#11 0x00007fa3e1b4cee1 in bt::Peer::packetReady (this=0x7fa3d0f2cde0, packet=0x7fa3d0da7260 "\a", len=<value optimized out>)
    at /var/tmp/portage/net-p2p/ktorrent-3.2.4/work/ktorrent-3.2.4/libbtcore/peer/peer.cpp:269
#12 0x00007fa3e1b55db5 in bt::PacketReader::update (this=0x7fa3d096d890) at /var/tmp/portage/net-p2p/ktorrent-3.2.4/work/ktorrent-3.2.4/libbtcore/peer/packetreader.cpp:131
#13 0x00007fa3e1b4cc25 in bt::Peer::update (this=0x7fa3d0f2cde0) at /var/tmp/portage/net-p2p/ktorrent-3.2.4/work/ktorrent-3.2.4/libbtcore/peer/peer.cpp:474
#14 0x00007fa3e1b505e0 in bt::PeerManager::update (this=0x7fa3d02cbec0) at /var/tmp/portage/net-p2p/ktorrent-3.2.4/work/ktorrent-3.2.4/libbtcore/peer/peermanager.cpp:117
#15 0x00007fa3e1b8118c in bt::TorrentControl::update (this=0x7fa3d02a8270) at /var/tmp/portage/net-p2p/ktorrent-3.2.4/work/ktorrent-3.2.4/libbtcore/torrent/torrentcontrol.cpp:178
#16 0x000000000042cad2 in kt::Core::update (this=0x1a9d060) at /var/tmp/portage/net-p2p/ktorrent-3.2.4/work/ktorrent-3.2.4/ktorrent/core.cpp:877
#17 0x00000000004325bc in kt::Core::qt_metacall (this=0x1a9d060, _c=QMetaObject::InvokeMetaMethod, _id=-797877960, _a=0x7fffa7f7e3c0)
    at /var/tmp/portage/net-p2p/ktorrent-3.2.4/work/ktorrent-3.2.4_build/ktorrent/core.moc:148
#18 0x00007fa3df7d9fc4 in QMetaObject::activate (sender=<value optimized out>, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x600) at kernel/qobject.cpp:3101
#19 0x00007fa3df7d6883 in QObject::event (this=0x1a9d088, e=0x7fa3d79fe000) at kernel/qobject.cpp:1066
#20 0x00007fa3deb6d2cc in QApplicationPrivate::notify_helper (this=0x19ea7e0, receiver=0x1a9d088, e=0x7fffa7f7e9e0) at kernel/qapplication.cpp:4065
#21 0x00007fa3deb72b78 in QApplication::notify (this=0x7fffa7f7ed10, receiver=0x1a9d088, e=0x7fffa7f7e9e0) at kernel/qapplication.cpp:4030
#22 0x00007fa3e0d33656 in KApplication::notify (this=0x7fffa7f7ed10, receiver=0x1a9d088, event=0x7fffa7f7e9e0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.1/work/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#23 0x00007fa3df7c88fb in QCoreApplication::notifyInternal (this=0x7fffa7f7ed10, receiver=0x1a9d088, event=0x7fffa7f7e9e0) at kernel/qcoreapplication.cpp:606
#24 0x00007fa3df7ef62a in QTimerInfoList::activateTimers (this=0x19d8c00) at kernel/qcoreapplication.h:213
#25 0x00007fa3df7ed09d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#26 0x00007fa3db710b2d in IA__g_main_context_dispatch (context=0x19d7d20) at gmain.c:1824
#27 0x00007fa3db7142d8 in g_main_context_iterate (context=0x19d7d20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2455
#28 0x00007fa3db714400 in IA__g_main_context_iteration (context=0x19d7d20, may_block=1) at gmain.c:2518
#29 0x00007fa3df7ecfe6 in QEventDispatcherGlib::processEvents (this=0x19deff0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:328
#30 0x00007fa3debf22fe in QGuiEventDispatcherGlib::processEvents (this=0x7fa3d0716938, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#31 0x00007fa3df7c7322 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007fa3df7c74bd in QEventLoop::exec (this=0x7fffa7f7ec80, flags=) at kernel/qeventloop.cpp:197
#33 0x00007fa3df7c92a9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#34 0x00000000004257f2 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/net-p2p/ktorrent-3.2.4/work/ktorrent-3.2.4/ktorrent/main.cpp:171

Reported using DrKonqi
Comment 1 Dario Andres 2009-10-09 01:20:11 UTC
QCA crash reported at bug 186621. Thanks

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