Bug 237235

Summary: ktorrent crash
Product: [Applications] ktorrent Reporter: borge.johannessen
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description borge.johannessen 2010-05-11 12:36:32 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
ktorrent crashed suddenly after several hours, only surfing the web with firefox, used virtualbox earlier but the program was closed long time before crash.

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

Thread 5 (Thread 0x7fdec71c6710 (LWP 2540)):
#0  0x00007fded8daffb3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fdedcd1568e in dht::RPCServerThread::run (this=0x1470040) at ../../libbtcore/dht/rpcserver.cpp:107
#2  0x00007fdeda72e775 in QThreadPrivate::start (arg=0x1470040) at thread/qthread_unix.cpp:248
#3  0x00007fdeda49e9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fded8db769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fdec59c3710 (LWP 2595)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fdeda72e0e5 in thread_sleep (ti=0x7fdec59c2db0) at thread/qthread_unix.cpp:398
#2  0x00007fdeda72e250 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007fdedccbbda7 in net::DownloadThread::update (this=0x143e580) at ../../libbtcore/net/downloadthread.cpp:110
#4  0x00007fdedccbc6e9 in net::NetworkThread::run (this=0x143e580) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007fdeda72e775 in QThreadPrivate::start (arg=0x143e580) at thread/qthread_unix.cpp:248
#6  0x00007fdeda49e9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007fded8db769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fdec79c7710 (LWP 2596)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fdeda72f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x143eb50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x143eb50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fdedccbb60c in net::UploadThread::update (this=0x143eae0) at ../../libbtcore/net/uploadthread.cpp:73
#4  0x00007fdedccbc6e9 in net::NetworkThread::run (this=0x143eae0) at ../../libbtcore/net/networkthread.cpp:48
#5  0x00007fdeda72e775 in QThreadPrivate::start (arg=0x143eae0) at thread/qthread_unix.cpp:248
#6  0x00007fdeda49e9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007fded8db769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fdeb1e33710 (LWP 2597)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fdeda72f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7fdec0885840, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7fdec0885840, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fdedccbf342 in net::ReverseResolverThread::run (this=0x7fdec0885830) at ../../libbtcore/net/reverseresolver.cpp:123
#4  0x00007fdeda72e775 in QThreadPrivate::start (arg=0x7fdec0885830) at thread/qthread_unix.cpp:248
#5  0x00007fdeda49e9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fded8db769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdedd189760 (LWP 2536)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x00007fded87d20b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#7  0x00007fded87e84c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007fdedcca77bb in bt::SHA1HashGen::update (this=0x7fdec126bde0, data=0x7fdec40a0a82 "\031B\336\323mmF\325\037yMr", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:240
#9  0x00007fdedccda072 in bt::ChunkDownload::updateHash (this=0x7fdec126bd20) at ../../libbtcore/download/chunkdownload.cpp:579
#10 0x00007fdedccdb8f8 in bt::ChunkDownload::piece (this=0x7fdec126bd20, p=..., ok=<value optimized out>) at ../../libbtcore/download/chunkdownload.cpp:145
#11 0x00007fdedcce1d3e in bt::Downloader::pieceReceived (this=0x1b7ab20, p=...) at ../../libbtcore/download/downloader.cpp:126
#12 0x00007fdedccc9681 in bt::Peer::packetReady (this=0x7fdec0490860, packet=0x17dcb50 "\a", len=<value optimized out>) at ../../libbtcore/peer/peer.cpp:268
#13 0x00007fdedccd2c78 in bt::PacketReader::update (this=0x7fdec1295a40) at ../../libbtcore/peer/packetreader.cpp:141
#14 0x00007fdedccc9045 in bt::Peer::update (this=0x7fdec0490860) at ../../libbtcore/peer/peer.cpp:462
#15 0x00007fdedcccd0d0 in bt::PeerManager::update (this=0x1911c60) at ../../libbtcore/peer/peermanager.cpp:119
#16 0x00007fdedccfb25a in bt::TorrentControl::update (this=0x1bc6ad0) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#17 0x0000000000430d9b in kt::Core::update (this=0x7fdec0003e10) at ../../ktorrent/core.cpp:849
#18 0x0000000000436926 in kt::Core::qt_metacall (this=0x7fdec0003e10, _c=QMetaObject::InvokeMetaMethod, _id=109, _a=0x7ffffc5b75d0) at ./core.moc:155
#19 0x00007fdeda835e3f in QMetaObject::activate (sender=0x7fdec0003e38, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x150) at kernel/qobject.cpp:3293
#20 0x00007fdeda832a63 in QObject::event (this=0x7fdec0003e38, e=0x7ffffc5b7d20) at kernel/qobject.cpp:1212
#21 0x00007fded99bf22c in QApplicationPrivate::notify_helper (this=0x146b9e0, receiver=0x7fdec0003e38, e=0x7ffffc5b7d20) at kernel/qapplication.cpp:4300
#22 0x00007fded99c56fb in QApplication::notify (this=0x7ffffc5b8050, receiver=0x7fdec0003e38, e=0x7ffffc5b7d20) at kernel/qapplication.cpp:4183
#23 0x00007fdedbe69526 in KApplication::notify (this=0x7ffffc5b8050, receiver=0x7fdec0003e38, event=0x7ffffc5b7d20) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007fdeda82306c in QCoreApplication::notifyInternal (this=0x7ffffc5b8050, receiver=0x7fdec0003e38, event=0x7ffffc5b7d20) at kernel/qcoreapplication.cpp:704
#25 0x00007fdeda84fd42 in QCoreApplication::sendEvent (this=0x1475920) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QTimerInfoList::activateTimers (this=0x1475920) at kernel/qeventdispatcher_unix.cpp:603
#27 0x00007fdeda84c848 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 0x00007fded543a8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007fded543e748 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007fded543e8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007fdeda84c513 in QEventDispatcherGlib::processEvents (this=0x143c5b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#33 0x00007fded9a6f46e in QGuiEventDispatcherGlib::processEvents (this=0x7fdec1516736, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007fdeda821992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007fdeda821d6c in QEventLoop::exec (this=0x7ffffc5b7fc0, flags=) at kernel/qeventloop.cpp:201
#36 0x00007fdeda825aab 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

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

Possible duplicates by query: bug 236130, bug 235055, bug 231758, bug 227400, bug 226374.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-05-12 19:09:44 UTC

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