Bug 271638

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

Description xpubuntu 2011-04-24 18:50:36 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-31-generic i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
Do not know what happen.
Was away from computer when it was downloading.
When i came back it had crashed.

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

Thread 5 (Thread 0xb612bb70 (LWP 13654)):
#0  0x00ed7422 in __kernel_vsyscall ()
#1  0x01788971 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x001b8aac in dht::RPCServerThread::run (this=0xb580b1b8) at ../../libbtcore/dht/rpcserver.cpp:107
#3  0x0767532e in QThreadPrivate::start (arg=0xb580b1b8) at thread/qthread_unix.cpp:248
#4  0x006f296e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x0178fa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb0b04b70 (LWP 13951)):
#0  0x00ed7422 in __kernel_vsyscall ()
#1  0x006f7342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x07674c1e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:398
#3  0x07674d73 in QThread::msleep (msecs=42) at thread/qthread_unix.cpp:424
#4  0x00155cb3 in net::DownloadThread::update (this=0x8719000) at ../../libbtcore/net/downloadthread.cpp:110
#5  0x001566b8 in net::NetworkThread::run (this=0x8719000) at ../../libbtcore/net/networkthread.cpp:48
#6  0x0767532e in QThreadPrivate::start (arg=0x8719000) at thread/qthread_unix.cpp:248
#7  0x006f296e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0178fa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb0303b70 (LWP 13952)):
#0  0x00ed7422 in __kernel_vsyscall ()
#1  0x006f7015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x07676287 in QWaitConditionPrivate::wait (this=0x8719398, mutex=0x871939c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x8719398, mutex=0x871939c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x001553a9 in net::UploadThread::update (this=0x8719360) at ../../libbtcore/net/uploadthread.cpp:73
#5  0x001566b8 in net::NetworkThread::run (this=0x8719360) at ../../libbtcore/net/networkthread.cpp:48
#6  0x0767532e in QThreadPrivate::start (arg=0x8719360) at thread/qthread_unix.cpp:248
#7  0x006f296e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0178fa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xafb02b70 (LWP 13953)):
#0  0x00ed7422 in __kernel_vsyscall ()
#1  0x006f7015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x07676287 in QWaitConditionPrivate::wait (this=0x8ece76c, mutex=0x8ece768, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x8ece76c, mutex=0x8ece768, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00159baa in net::ReverseResolverThread::run (this=0x8ece760) at ../../libbtcore/net/reverseresolver.cpp:123
#5  0x0767532e in QThreadPrivate::start (arg=0x8ece760) at thread/qthread_unix.cpp:248
#6  0x006f296e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x0178fa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7731aa0 (LWP 13648)):
[KCrash Handler]
#6  0x01736fe1 in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0x07d1c016 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x07d33167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x0013f18f in bt::SHA1HashGen::update (this=0x9678aa0, 
    data=0xb5929d06 "\037%\353\335\f\227\353\222\256\256\230\225i\t_Z\306\356}\367\337G\337\064^\222\flh\274\030\212\023\276.\334\322b\207\267\247\332\262v5E\302\063\237+\375\300c\033\233\302\267\332\336\267\202\061\v]8\217.\234\377\374B\253", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:240
#10 0x00177b7e in bt::ChunkDownload::updateHash (this=0x9678a30) at ../../libbtcore/download/chunkdownload.cpp:579
#11 0x0017940d in bt::ChunkDownload::piece (this=0x9678a30, p=..., ok=@0xbfae326f) at ../../libbtcore/download/chunkdownload.cpp:145
#12 0x0017faf9 in bt::Downloader::pieceReceived (this=0x92c2800, p=...) at ../../libbtcore/download/downloader.cpp:126
#13 0x0016741f in bt::PeerManager::pieceReceived (this=0x9218c78, p=...) at ../../libbtcore/peer/peermanager.cpp:677
#14 0x00165abf in bt::Peer::packetReady (this=0x9035bc8, packet=0xb5813c40 "\a", len=1293) at ../../libbtcore/peer/peer.cpp:268
#15 0x0016fba9 in bt::PacketReader::update (this=0x95091c8) at ../../libbtcore/peer/packetreader.cpp:141
#16 0x00165409 in bt::Peer::update (this=0x9035bc8) at ../../libbtcore/peer/peer.cpp:462
#17 0x00169886 in bt::PeerManager::update (this=0x9218c78) at ../../libbtcore/peer/peermanager.cpp:119
#18 0x0019b97d in bt::TorrentControl::update (this=0x918b780) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#19 0x08071a63 in kt::Core::update (this=0x886c440) at ../../ktorrent/core.cpp:849
#20 0x08077308 in kt::Core::qt_metacall (this=0x886c440, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfae35ec) at ./core.moc:155
#21 0x0777cc9a in QMetaObject::metacall (object=0x886c440, cl=2882, idx=21, argv=0xbfae35ec) at kernel/qmetaobject.cpp:237
#22 0x0778b3d5 in QMetaObject::activate (sender=0x886c454, m=0x788b5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#23 0x077dcaa7 in QTimer::timeout (this=0x886c454) at .moc/release-shared/moc_qtimer.cpp:134
#24 0x0779360e in QTimer::timerEvent (this=0x886c454, e=0xbfae3b20) at kernel/qtimer.cpp:271
#25 0x07788254 in QObject::event (this=0x886c454, e=0x92c70b0) at kernel/qobject.cpp:1212
#26 0x022b94dc in QApplicationPrivate::notify_helper (this=0x873b740, receiver=0x886c454, e=0xbfae3b20) at kernel/qapplication.cpp:4300
#27 0x022c005e in QApplication::notify (this=0xbfae3e74, receiver=0x886c454, e=0xbfae3b20) at kernel/qapplication.cpp:3704
#28 0x0051540a in KApplication::notify (this=0xbfae3e74, receiver=0x886c454, event=0xbfae3b20) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x07777a3b in QCoreApplication::notifyInternal (this=0xbfae3e74, receiver=0x886c454, event=0xbfae3b20) at kernel/qcoreapplication.cpp:704
#30 0x077a6d66 in QCoreApplication::sendEvent (this=0x8740f4c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QTimerInfoList::activateTimers (this=0x8740f4c) at kernel/qeventdispatcher_unix.cpp:603
#32 0x077a3917 in timerSourceDispatch (source=0x8740f80) at kernel/qeventdispatcher_glib.cpp:184
#33 idleTimerSourceDispatch (source=0x8740f80) at kernel/qeventdispatcher_glib.cpp:231
#34 0x05d4c5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x05d502d8 in ?? () from /lib/libglib-2.0.so.0
#36 0x05d504b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#37 0x077a35d5 in QEventDispatcherGlib::processEvents (this=0x8717e78, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#38 0x02379135 in QGuiEventDispatcherGlib::processEvents (this=0x8717e78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x07776059 in QEventLoop::processEvents (this=0xbfae3de4, flags=) at kernel/qeventloop.cpp:149
#40 0x077764aa in QEventLoop::exec (this=0xbfae3de4, flags=...) at kernel/qeventloop.cpp:201
#41 0x0777a69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#42 0x022b9577 in QApplication::exec () at kernel/qapplication.cpp:3579
#43 0x08067a51 in main (argc=2, argv=0xbfae4244) at ../../ktorrent/main.cpp:172

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

Possible duplicates by query: bug 271116, bug 268333, bug 267437, bug 267104, bug 266962.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-04-25 09:15:55 UTC

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