Bug 277490 - ktorrent
Summary: ktorrent
Status: RESOLVED DUPLICATE of bug 268162
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: 2011-07-10 18:40 UTC by nadia
Modified: 2011-07-10 19:30 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 nadia 2011-07-10 18:40:20 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.5 (KDE 4.4.5) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-32-generic x86_64
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
ktorrent suddenly crashes for no reason and doesn't download

The crash can be reproduced some of the time.

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

Thread 6 (Thread 0x7f07712d3700 (LWP 6881)):
#0  0x00007f077a37bff3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f077e2e368e in dht::RPCServerThread::run (this=0x15beb00) at ../../libbtcore/dht/rpcserver.cpp:107
#2  0x00007f077bcfb775 in QThreadPrivate::start (arg=0x15beb00) at thread/qthread_unix.cpp:248
#3  0x00007f077ba6b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f077a38370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f0771ad4700 (LWP 6903)):
#0  0x00007f077a376f93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0776a084a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f0776a088fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f077be19566 in QEventDispatcherGlib::processEvents (this=0x22979b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f077bdee992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f077bdeed6c in QEventLoop::exec (this=0x7f0771ad3db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f077bcf8d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f077bdcf178 in QInotifyFileSystemWatcherEngine::run (this=0x1f329f0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f077bcfb775 in QThreadPrivate::start (arg=0x1f329f0) at thread/qthread_unix.cpp:248
#9  0x00007f077ba6b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f077a38370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f0770067700 (LWP 6904)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f077bcfb0e5 in thread_sleep (ti=0x7f0770066db0) at thread/qthread_unix.cpp:398
#2  0x00007f077bcfb250 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f077e289da7 in net::DownloadThread::update (this=0x14ba950) at ../../libbtcore/net/downloadthread.cpp:110
#4  0x00007f077e28a6e9 in net::NetworkThread::run (this=0x14ba950) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007f077bcfb775 in QThreadPrivate::start (arg=0x14ba950) at thread/qthread_unix.cpp:248
#6  0x00007f077ba6b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f077a38370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f076f866700 (LWP 6905)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f077bcfc72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x14baf20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x14baf20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f077e28960c in net::UploadThread::update (this=0x14baeb0) at ../../libbtcore/net/uploadthread.cpp:73
#4  0x00007f077e28a6e9 in net::NetworkThread::run (this=0x14baeb0) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007f077bcfb775 in QThreadPrivate::start (arg=0x14baeb0) at thread/qthread_unix.cpp:248
#6  0x00007f077ba6b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f077a38370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f075bb68700 (LWP 6906)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f077bcfc72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1efbec0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1efbec0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f077e28d342 in net::ReverseResolverThread::run (this=0x1efbeb0) at ../../libbtcore/net/reverseresolver.cpp:123
#4  0x00007f077bcfb775 in QThreadPrivate::start (arg=0x1efbeb0) at thread/qthread_unix.cpp:248
#5  0x00007f077ba6b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f077a38370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f077e755760 (LWP 6877)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007f0779d9e0b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#7  0x00007f0779db44c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007f077e2757bb in bt::SHA1HashGen::update (this=0x25ec6b0, data=0x7f0773d431d8 "\247", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:240
#9  0x00007f077e2a8072 in bt::ChunkDownload::updateHash (this=0x25ec5f0) at ../../libbtcore/download/chunkdownload.cpp:579
#10 0x00007f077e2a98f8 in bt::ChunkDownload::piece (this=0x25ec5f0, p=..., ok=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:145
#11 0x00007f077e2afd3e in bt::Downloader::pieceReceived (this=0x1b226f0, p=...) at ../../libbtcore/download/downloader.cpp:126
#12 0x00007f077e297681 in bt::Peer::packetReady (this=0x234ab50, packet=0x21de6f0 "\a", len=<value optimized out>) at ../../libbtcore/peer/peer.cpp:268
#13 0x00007f077e2a0c78 in bt::PacketReader::update (this=0x1d82490) at ../../libbtcore/peer/packetreader.cpp:141
#14 0x00007f077e297045 in bt::Peer::update (this=0x234ab50) at ../../libbtcore/peer/peer.cpp:462
#15 0x00007f077e29b0d0 in bt::PeerManager::update (this=0x1b26e00) at ../../libbtcore/peer/peermanager.cpp:119
#16 0x00007f077e2c925a in bt::TorrentControl::update (this=0x1b1e0b0) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#17 0x0000000000430d9b in kt::Core::update (this=0x15ab980) at ../../ktorrent/core.cpp:849
#18 0x0000000000436926 in kt::Core::qt_metacall (this=0x15ab980, _c=QMetaObject::InvokeMetaMethod, _id=62428456, _a=0x7fff71cea6c0) at ./core.moc:155
#19 0x00007f077be02e3f in QMetaObject::activate (sender=0x15ab9a8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x63b) at kernel/qobject.cpp:3293
#20 0x00007f077bdffa63 in QObject::event (this=0x15ab9a8, e=0x7fff71ceae10) at kernel/qobject.cpp:1212
#21 0x00007f077af8c22c in QApplicationPrivate::notify_helper (this=0x14ec130, receiver=0x15ab9a8, e=0x7fff71ceae10) at kernel/qapplication.cpp:4300
#22 0x00007f077af926fb in QApplication::notify (this=0x7fff71ceb140, receiver=0x15ab9a8, e=0x7fff71ceae10) at kernel/qapplication.cpp:4183
#23 0x00007f077d436a16 in KApplication::notify (this=0x7fff71ceb140, receiver=0x15ab9a8, event=0x7fff71ceae10) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007f077bdf006c in QCoreApplication::notifyInternal (this=0x7fff71ceb140, receiver=0x15ab9a8, event=0x7fff71ceae10) at kernel/qcoreapplication.cpp:704
#25 0x00007f077be1cd42 in QCoreApplication::sendEvent (this=0x14f9820) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0x14f9820) at kernel/qeventdispatcher_unix.cpp:603
#27 0x00007f077be19848 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 0x00007f0776a048c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007f0776a08748 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007f0776a088fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007f077be19513 in QEventDispatcherGlib::processEvents (this=0x14b8980, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#33 0x00007f077b03c46e in QGuiEventDispatcherGlib::processEvents (this=0x3b8a350, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f077bdee992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007f077bdeed6c in QEventLoop::exec (this=0x7fff71ceb0b0, flags=) at kernel/qeventloop.cpp:201
#36 0x00007f077bdf2aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#37 0x0000000000427294 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:172

Possible duplicates by query: bug 274602, bug 273240, bug 272289, bug 271116, bug 268333.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-07-10 19:30:09 UTC

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