Bug 253849 - KTorrent crashes while downloading
Summary: KTorrent crashes while downloading
Status: RESOLVED DUPLICATE of bug 247984
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-11 16:42 UTC by rele
Modified: 2010-10-11 18:45 UTC (History)
0 users

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 rele 2010-10-11 16:42:01 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.4.5 (KDE 4.4.5) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.35-gentoo-r10 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
No user interaction, KTorrent crashes in the background while downloading

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

Thread 4 (Thread 0x7f98b150c710 (LWP 4586)):
#0  0x00007f98ba579ec3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f98bdde4a62 in dht::RPCServerThread::run (this=0x1df37b0) at /mnt/bigdata/ebuild/working/portage/net-libs/libktorrent-1.0.3/work/libktorrent-1.0.3/src/dht/rpcserver.cpp:107
#2  0x00007f98bbef00d5 in QThreadPrivate::start (arg=0x1df37b0) at thread/qthread_unix.cpp:248
#3  0x00007f98bbc60a1c in start_thread () from /lib/libpthread.so.0
#4  0x00007f98ba58131d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f98abfff710 (LWP 4696)):
#0  0x00007f98ba577923 in poll () from /lib/libc.so.6
#1  0x00007f98bdd882fc in net::Poll::poll (this=0x1d2b1a0, timeout=<value optimized out>) at /mnt/bigdata/ebuild/working/portage/net-libs/libktorrent-1.0.3/work/libktorrent-1.0.3/src/net/poll.cpp:99
#2  0x00007f98bdd842e8 in net::DownloadThread::waitForSocketReady (this=0x1d2b190)
    at /mnt/bigdata/ebuild/working/portage/net-libs/libktorrent-1.0.3/work/libktorrent-1.0.3/src/net/downloadthread.cpp:128
#3  0x00007f98bdd843d6 in net::DownloadThread::update (this=0x775c440) at /mnt/bigdata/ebuild/working/portage/net-libs/libktorrent-1.0.3/work/libktorrent-1.0.3/src/net/downloadthread.cpp:48
#4  0x00007f98bdd84e69 in net::NetworkThread::run (this=0x1d2b190) at /mnt/bigdata/ebuild/working/portage/net-libs/libktorrent-1.0.3/work/libktorrent-1.0.3/src/net/networkthread.cpp:48
#5  0x00007f98bbef00d5 in QThreadPrivate::start (arg=0x1d2b190) at thread/qthread_unix.cpp:248
#6  0x00007f98bbc60a1c in start_thread () from /lib/libpthread.so.0
#7  0x00007f98ba58131d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f98ab7fe710 (LWP 4697)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f98bbeefa5a in thread_sleep (ti=0x7f98ab7fddd0) at thread/qthread_unix.cpp:398
#2  0x00007f98bbeefbb0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f98bdd83bbd in net::UploadThread::update (this=0x1d2b7e0) at /mnt/bigdata/ebuild/working/portage/net-libs/libktorrent-1.0.3/work/libktorrent-1.0.3/src/net/uploadthread.cpp:89
#4  0x00007f98bdd84e69 in net::NetworkThread::run (this=0x1d2b7e0) at /mnt/bigdata/ebuild/working/portage/net-libs/libktorrent-1.0.3/work/libktorrent-1.0.3/src/net/networkthread.cpp:48
#5  0x00007f98bbef00d5 in QThreadPrivate::start (arg=0x1d2b7e0) at thread/qthread_unix.cpp:248
#6  0x00007f98bbc60a1c in start_thread () from /lib/libpthread.so.0
#7  0x00007f98ba58131d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f98be264760 (LWP 4584)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007f98b9fa3087 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib64/qca2/libqca.so.2
#7  0x00007f98b9fb949a in QCA::Hash::update(QByteArray const&) () from /usr/lib64/qca2/libqca.so.2
#8  0x00007f98bdd6d917 in bt::SHA1HashGen::update (this=0x988ad90, 
    data=0x7f98b1b1ce19 ")\223\036\353<G\226\372]\340\241\356{\240Cl\021W\371\024\224\236&D\313\tt\btUT\271\251\200\272\307\310\242E\261\026\323\006 \t\374\303\037vr\275\300\030\374\255\070\234z=\025\314[\271\344\203\200\316\222\211\335T\257\003[\371\333\272\302\tnt\304\251W\316\340m\272F\246\351\025\355\340)\210\322\025w\027*\357\a\f\327\362\275L8\311\331w\221\fd\332R\314\302\035\214y\035\323\321ic\245\f\217M\371\364\020\020k\300%\364\200\005\342l\373\"\036\066\n\370;\032~V\r\365/.\327\267Tv\314\331\034\001\236\016j\335\242I\372\227\316,~\032\210\224\357\344\365\251|\016\213\273\372\006\326\t\236\226\342\016\226\240\230\375t"..., len=16384) at /mnt/bigdata/ebuild/working/portage/net-libs/libktorrent-1.0.3/work/libktorrent-1.0.3/src/util/sha1hashgen.cpp:240
#9  0x00007f98bdda7603 in bt::ChunkDownload::updateHash (this=0x988acd0) at /mnt/bigdata/ebuild/working/portage/net-libs/libktorrent-1.0.3/work/libktorrent-1.0.3/src/download/chunkdownload.cpp:555
#10 0x00007f98bdda8fde in bt::ChunkDownload::piece (this=0x988acd0, p=..., ok=<value optimized out>)
    at /mnt/bigdata/ebuild/working/portage/net-libs/libktorrent-1.0.3/work/libktorrent-1.0.3/src/download/chunkdownload.cpp:127
#11 0x00007f98bddaf92e in bt::Downloader::pieceReceived (this=0x9ab7800, p=...)
    at /mnt/bigdata/ebuild/working/portage/net-libs/libktorrent-1.0.3/work/libktorrent-1.0.3/src/download/downloader.cpp:134
#12 0x00007f98bdd93b55 in bt::Peer::packetReady (this=0x9e27500, packet=0x7f98951d11b0 "\a", len=<value optimized out>)
    at /mnt/bigdata/ebuild/working/portage/net-libs/libktorrent-1.0.3/work/libktorrent-1.0.3/src/peer/peer.cpp:283
#13 0x00007f98bdd9e348 in bt::PacketReader::update (this=0x9f61dc0) at /mnt/bigdata/ebuild/working/portage/net-libs/libktorrent-1.0.3/work/libktorrent-1.0.3/src/peer/packetreader.cpp:141
#14 0x00007f98bdd92c1d in bt::Peer::update (this=0x9e27500) at /mnt/bigdata/ebuild/working/portage/net-libs/libktorrent-1.0.3/work/libktorrent-1.0.3/src/peer/peer.cpp:538
#15 0x00007f98bdd981ce in bt::PeerManager::update (this=0x2ae0d60) at /mnt/bigdata/ebuild/working/portage/net-libs/libktorrent-1.0.3/work/libktorrent-1.0.3/src/peer/peermanager.cpp:144
#16 0x00007f98bddc8f5d in bt::TorrentControl::update (this=0x97bc940) at /mnt/bigdata/ebuild/working/portage/net-libs/libktorrent-1.0.3/work/libktorrent-1.0.3/src/torrent/torrentcontrol.cpp:163
#17 0x000000000042b7ab in kt::Core::update (this=0x1de5bb0) at /mnt/bigdata/ebuild/working/portage/net-p2p/ktorrent-4.0.3/work/ktorrent-4.0.3/ktorrent/core.cpp:1030
#18 0x0000000000432fd1 in kt::Core::qt_metacall (this=0x1de5bb0, _c=QMetaObject::InvokeMetaMethod, _id=150, _a=0x7fff69786730)
    at /mnt/bigdata/ebuild/working/portage/net-p2p/ktorrent-4.0.3/work/ktorrent-4.0.3_build/ktorrent/core.moc:167
#19 0x00007f98bbff0fc6 in QMetaObject::activate (sender=0x1de5bd8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x5c3) at kernel/qobject.cpp:3287
#20 0x00007f98bbfed876 in QObject::event (this=0x1de5bd8, e=0x7f98b1b1e000) at kernel/qobject.cpp:1204
#21 0x00007f98bb186c0c in QApplicationPrivate::notify_helper (this=0x1d5bc00, receiver=0x1de5bd8, e=0x7fff69786e70) at kernel/qapplication.cpp:4302
#22 0x00007f98bb18d20b in QApplication::notify (this=0x7fff697871c0, receiver=0x1de5bd8, e=0x7fff69786e70) at kernel/qapplication.cpp:4185
#23 0x0000000000439ff2 in kt::App::notify (this=0x9f5eabf, receiver=0x7f98b1b1e000, event=0x3ff9) at /mnt/bigdata/ebuild/working/portage/net-p2p/ktorrent-4.0.3/work/ktorrent-4.0.3/ktorrent/app.cpp:97
#24 0x00007f98bbfddd2b in QCoreApplication::notifyInternal (this=0x7fff697871c0, receiver=0x1de5bd8, event=0x7fff69786e70) at kernel/qcoreapplication.cpp:726
#25 0x00007f98bc00a87a in QCoreApplication::sendEvent (this=0x1d58bc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0x1d58bc0) at kernel/qeventdispatcher_unix.cpp:603
#27 0x00007f98bc007618 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#28 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#29 0x00007f98b608e13b in g_main_dispatch (context=0x1d57d20) at gmain.c:1960
#30 IA__g_main_context_dispatch (context=0x1d57d20) at gmain.c:2513
#31 0x00007f98b6091ec8 in g_main_context_iterate (context=0x1d57d20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#32 0x00007f98b6092082 in IA__g_main_context_iteration (context=0x1d57d20, may_block=1) at gmain.c:2654
#33 0x00007f98bc0072be in QEventDispatcherGlib::processEvents (this=0x1d55dd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#34 0x00007f98bb2357c6 in QGuiEventDispatcherGlib::processEvents (this=0x9f5eabf, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f98bbfdc652 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#36 0x00007f98bbfdca1d in QEventLoop::exec (this=0x7fff69787120, flags=) at kernel/qeventloop.cpp:201
#37 0x00007f98bbfe165b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#38 0x00000000004290a2 in main (argc=<value optimized out>, argv=<value optimized out>) at /mnt/bigdata/ebuild/working/portage/net-p2p/ktorrent-4.0.3/work/ktorrent-4.0.3/ktorrent/main.cpp:176

This bug may be a duplicate of or related to bug 247984.

Possible duplicates by query: bug 251826, bug 251738, bug 251303, bug 250492, bug 247984.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-10-11 18:45:58 UTC

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