Bug 238377

Summary: Unexpected Crash
Product: [Applications] ktorrent Reporter: Dave Gordon <davesama>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dave Gordon 2010-05-21 11:29:42 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32.12-115.fc12.x86_64 x86_64
Distribution (Platform): RedHat RPMs

-- Information about the crash:
KTorrent crashed over night whilst I was not watching. No screen saver or power saving options are enabled.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fba715f6840 (LWP 4090))]

Thread 5 (Thread 0x7fba69160710 (LWP 4092)):
#0  0x000000333b6d7393 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x000000334cea13ee in dht::RPCServerThread::run (this=0x16ca230) at /usr/src/debug/ktorrent-3.3.4/libbtcore/dht/rpcserver.cpp:107
#2  0x0000003346e709a5 in QThreadPrivate::start (arg=0x16ca230) at thread/qthread_unix.cpp:248
#3  0x000000333be06a3a in start_thread (arg=0x7fba69160710) at pthread_create.c:297
#4  0x000000333b6de62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fba450e5710 (LWP 4112)):
#0  0x000000334ce54bbd in net::NetworkThread::run (this=0x15d9200) at /usr/src/debug/ktorrent-3.3.4/libbtcore/net/networkthread.cpp:47
#1  0x0000003346e709a5 in QThreadPrivate::start (arg=0x15d9200) at thread/qthread_unix.cpp:248
#2  0x000000333be06a3a in start_thread (arg=0x7fba450e5710) at pthread_create.c:297
#3  0x000000333b6de62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fba37fff710 (LWP 4113)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003346e7189b in wait (this=<value optimized out>, mutex=0x15d97d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x15d97d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x000000334ce53d3c in net::UploadThread::update (this=0x15d9760) at /usr/src/debug/ktorrent-3.3.4/libbtcore/net/uploadthread.cpp:73
#4  0x000000334ce54bb9 in net::NetworkThread::run (this=0x15d9760) at /usr/src/debug/ktorrent-3.3.4/libbtcore/net/networkthread.cpp:48
#5  0x0000003346e709a5 in QThreadPrivate::start (arg=0x15d9760) at thread/qthread_unix.cpp:248
#6  0x000000333be06a3a in start_thread (arg=0x7fba37fff710) at pthread_create.c:297
#7  0x000000333b6de62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fba375fe710 (LWP 4114)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003346e7189b in wait (this=<value optimized out>, mutex=0x1b55ba0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1b55ba0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x000000334ce5701a in net::ReverseResolverThread::run (this=0x1b55b90) at /usr/src/debug/ktorrent-3.3.4/libbtcore/net/reverseresolver.cpp:123
#4  0x0000003346e709a5 in QThreadPrivate::start (arg=0x1b55b90) at thread/qthread_unix.cpp:248
#5  0x000000333be06a3a in start_thread (arg=0x7fba375fe710) at pthread_create.c:297
#6  0x000000333b6de62d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fba715f6840 (LWP 4090)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#6  0x0000003354a70d56 in Private (this=0x7ffffd03fa80, from=...) at /usr/include/bits/string3.h:52
#7  QCA::MemoryRegion::MemoryRegion (this=0x7ffffd03fa80, from=...) at qca_tools.cpp:445
#8  0x0000003354a88375 in QCA::Hash::update (this=0x2170380, a=...) at qca_basic.cpp:215
#9  0x000000334ce420eb in bt::SHA1HashGen::update (this=0x2123720, data=0x7fba6985fff0 "\220G\240d\212_\367sT(\252N\244", len=16384)
    at /usr/src/debug/ktorrent-3.3.4/libbtcore/util/sha1hashgen.cpp:240
#10 0x000000334ce6da72 in bt::ChunkDownload::updateHash (this=0x2123660) at /usr/src/debug/ktorrent-3.3.4/libbtcore/download/chunkdownload.cpp:579
#11 0x000000334ce6ebb8 in bt::ChunkDownload::piece (this=0x2123660, p=..., ok=<value optimized out>) at /usr/src/debug/ktorrent-3.3.4/libbtcore/download/chunkdownload.cpp:145
#12 0x000000334ce7462e in bt::Downloader::pieceReceived (this=0x1913c40, p=...) at /usr/src/debug/ktorrent-3.3.4/libbtcore/download/downloader.cpp:126
#13 0x000000334ce5f8e9 in bt::Peer::packetReady (this=0x2325b50, packet=0x7fba2c024a20 "\a", len=<value optimized out>) at /usr/src/debug/ktorrent-3.3.4/libbtcore/peer/peer.cpp:268
#14 0x000000334ce67578 in bt::PacketReader::update (this=0x2044d00) at /usr/src/debug/ktorrent-3.3.4/libbtcore/peer/packetreader.cpp:141
#15 0x000000334ce5f645 in bt::Peer::update (this=0x2325b50) at /usr/src/debug/ktorrent-3.3.4/libbtcore/peer/peer.cpp:462
#16 0x000000334ce629a0 in bt::PeerManager::update (this=0x18a5a10) at /usr/src/debug/ktorrent-3.3.4/libbtcore/peer/peermanager.cpp:119
#17 0x000000334ce8930a in bt::TorrentControl::update (this=0x18a0010) at /usr/src/debug/ktorrent-3.3.4/libbtcore/torrent/torrentcontrol.cpp:150
#18 0x000000000042df4b in kt::Core::update (this=0x16b1560) at /usr/src/debug/ktorrent-3.3.4/ktorrent/core.cpp:849
#19 0x0000000000434aa6 in kt::Core::qt_metacall (this=0x16b1560, _c=InvokeMetaMethod, _id=11, _a=0x7ffffd03ffc0) at /usr/src/debug/ktorrent-3.3.4/x86_64-redhat-linux-gnu/ktorrent/core.moc:149
#20 0x0000003346f6a2af in QMetaObject::activate (sender=0x16b1588, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#21 0x0000003346f6663e in QObject::event (this=0x16b1588, e=0x7ffffd040710) at kernel/qobject.cpp:1212
#22 0x0000003348daa9dc in QApplicationPrivate::notify_helper (this=0x16055f0, receiver=0x16b1588, e=0x7ffffd040710) at kernel/qapplication.cpp:4300
#23 0x0000003348db0aab in QApplication::notify (this=<value optimized out>, receiver=0x16b1588, e=0x7ffffd040710) at kernel/qapplication.cpp:4183
#24 0x000000334aa06856 in KApplication::notify (this=0x7ffffd040a40, receiver=0x16b1588, event=0x7ffffd040710) at /usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#25 0x0000003346f5774c in QCoreApplication::notifyInternal (this=0x7ffffd040a40, receiver=0x16b1588, event=0x7ffffd040710) at kernel/qcoreapplication.cpp:704
#26 0x0000003346f7fe02 in sendEvent (this=0x1610240) at kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0x1610240) at kernel/qeventdispatcher_unix.cpp:603
#28 0x0000003346f7d398 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#29 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#30 0x000000333de3923e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#31 0x000000333de3cc28 in ?? () from /lib64/libglib-2.0.so.0
#32 0x000000333de3cd4a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#33 0x0000003346f7d063 in QEventDispatcherGlib::processEvents (this=0x15d71f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#34 0x0000003348e49a4e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x0000003346f56192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x0000003346f5645c in QEventLoop::exec (this=0x7ffffd0409b0, flags=...) at kernel/qeventloop.cpp:201
#37 0x0000003346f58749 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#38 0x0000000000424ba4 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/ktorrent-3.3.4/ktorrent/main.cpp:172

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

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

Reported using DrKonqi
Comment 1 Joris Guisson 2010-05-22 10:44:53 UTC

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