Bug 280597 - Ktorrent consistently crashes
Summary: Ktorrent consistently crashes
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-08-22 20:43 UTC by Erika Fabricius
Modified: 2011-08-24 16:39 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 Erika Fabricius 2011-08-22 20:43:36 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-33-generic i686
Distribution: Ubuntu 10.04.3 LTS

-- Information about the crash:
This occurs even when it is the only thing running, and using way under max bandwidth.

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0xb3f30b70 (LWP 2786)):
#0  0x00701ad1 in net::DownloadThread::update (this=0x8b22560) at ../../libbtcore/net/downloadthread.cpp:79
#1  0x007026b8 in net::NetworkThread::run (this=0x8b22560) at ../../libbtcore/net/networkthread.cpp:48
#2  0x0105632e in QThreadPrivate::start (arg=0x8b22560) at thread/qthread_unix.cpp:248
#3  0x005eb96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0x074bca4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb4f32b70 (LWP 2787)):
#0  0x00bc6422 in __kernel_vsyscall ()
#1  0x005f0015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01057287 in QWaitConditionPrivate::wait (this=0x8b228f8, mutex=0x8b228fc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x8b228f8, mutex=0x8b228fc, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x007013a9 in net::UploadThread::update (this=0x8b228c0) at ../../libbtcore/net/uploadthread.cpp:73
#5  0x007026b8 in net::NetworkThread::run (this=0x8b228c0) at ../../libbtcore/net/networkthread.cpp:48
#6  0x0105632e in QThreadPrivate::start (arg=0x8b228c0) at thread/qthread_unix.cpp:248
#7  0x005eb96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x074bca4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb4731b70 (LWP 2788)):
#0  0x00bc6422 in __kernel_vsyscall ()
#1  0x074ace2b in read () from /lib/tls/i686/cmov/libc.so.6
#2  0x0745642b in _IO_file_underflow () from /lib/tls/i686/cmov/libc.so.6
#3  0x07457ccb in _IO_default_uflow () from /lib/tls/i686/cmov/libc.so.6
#4  0x074590f8 in __uflow () from /lib/tls/i686/cmov/libc.so.6
#5  0x0744c28c in _IO_getline_info () from /lib/tls/i686/cmov/libc.so.6
#6  0x0744c1d1 in _IO_getline () from /lib/tls/i686/cmov/libc.so.6
#7  0x0744b21a in fgets () from /lib/tls/i686/cmov/libc.so.6
#8  0x07f51cd4 in ?? () from /lib/libnss_mdns4.so.2
#9  0x07f52177 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#10 0x074d336b in gethostbyaddr_r () from /lib/tls/i686/cmov/libc.so.6
#11 0x074d85db in getnameinfo () from /lib/tls/i686/cmov/libc.so.6
#12 0x0070592b in net::ReverseResolver::resolve (this=0xa395a28, addr=...) at ../../libbtcore/net/reverseresolver.cpp:64
#13 0x007059c3 in net::ReverseResolver::run (this=0xa395a28) at ../../libbtcore/net/reverseresolver.cpp:73
#14 0x00705ac7 in net::ReverseResolverThread::run (this=0x96af768) at ../../libbtcore/net/reverseresolver.cpp:118
#15 0x0105632e in QThreadPrivate::start (arg=0x96af768) at thread/qthread_unix.cpp:248
#16 0x005eb96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0x074bca4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb787faa0 (LWP 2748)):
[KCrash Handler]
#6  0x07463fc6 in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0xbfa506ac in ?? ()
#8  0x06fa7167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x006eb18f in bt::SHA1HashGen::update (this=0xa6ae8e0, data=0xb5a6ede4 "", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:240
#10 0x00723b7e in bt::ChunkDownload::updateHash (this=0xa6ae870) at ../../libbtcore/download/chunkdownload.cpp:579
#11 0x0072540d in bt::ChunkDownload::piece (this=0xa6ae870, p=..., ok=@0xbfa507ef) at ../../libbtcore/download/chunkdownload.cpp:145
#12 0x0072baf9 in bt::Downloader::pieceReceived (this=0x9194548, p=...) at ../../libbtcore/download/downloader.cpp:126
#13 0x0071341f in bt::PeerManager::pieceReceived (this=0x91b7de8, p=...) at ../../libbtcore/peer/peermanager.cpp:677
#14 0x00711abf in bt::Peer::packetReady (this=0xa6358a0, packet=0xb2ef62d0 "\a", len=9) at ../../libbtcore/peer/peer.cpp:268
#15 0x0071bba9 in bt::PacketReader::update (this=0xa768820) at ../../libbtcore/peer/packetreader.cpp:141
#16 0x00711409 in bt::Peer::update (this=0xa6358a0) at ../../libbtcore/peer/peer.cpp:462
#17 0x00715886 in bt::PeerManager::update (this=0x91b7de8) at ../../libbtcore/peer/peermanager.cpp:119
#18 0x0074797d in bt::TorrentControl::update (this=0x91b85e8) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#19 0x08071a63 in kt::Core::update (this=0x8c59c98) at ../../ktorrent/core.cpp:849
#20 0x08077308 in kt::Core::qt_metacall (this=0x8c59c98, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfa50b6c) at ./core.moc:155
#21 0x0115dc9a in QMetaObject::metacall (object=0x8c59c98, cl=3961, idx=21, argv=0xbfa50b6c) at kernel/qmetaobject.cpp:237
#22 0x0116c3d5 in QMetaObject::activate (sender=0x8c59cac, m=0x126c5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#23 0x011bdaa7 in QTimer::timeout (this=0x8c59cac) at .moc/release-shared/moc_qtimer.cpp:134
#24 0x0117460e in QTimer::timerEvent (this=0x8c59cac, e=0xbfa510a0) at kernel/qtimer.cpp:271
#25 0x01169254 in QObject::event (this=0x8c59cac, e=0x9da7028) at kernel/qobject.cpp:1212
#26 0x053a74dc in QApplicationPrivate::notify_helper (this=0x8b44ba0, receiver=0x8c59cac, e=0xbfa510a0) at kernel/qapplication.cpp:4300
#27 0x053ae05e in QApplication::notify (this=0xbfa513f4, receiver=0x8c59cac, e=0xbfa510a0) at kernel/qapplication.cpp:3704
#28 0x009d440a in KApplication::notify (this=0xbfa513f4, receiver=0x8c59cac, event=0xbfa510a0) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x01158a3b in QCoreApplication::notifyInternal (this=0xbfa513f4, receiver=0x8c59cac, event=0xbfa510a0) at kernel/qcoreapplication.cpp:704
#30 0x01187d66 in QCoreApplication::sendEvent (this=0x8b49fbc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QTimerInfoList::activateTimers (this=0x8b49fbc) at kernel/qeventdispatcher_unix.cpp:603
#32 0x01184917 in timerSourceDispatch (source=0x8b4a400) at kernel/qeventdispatcher_glib.cpp:184
#33 idleTimerSourceDispatch (source=0x8b4a400) at kernel/qeventdispatcher_glib.cpp:231
#34 0x012fe5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x013022d8 in ?? () from /lib/libglib-2.0.so.0
#36 0x013024b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#37 0x011845d5 in QEventDispatcherGlib::processEvents (this=0x8b21380, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#38 0x05467135 in QGuiEventDispatcherGlib::processEvents (this=0x8b21380, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x01157059 in QEventLoop::processEvents (this=0xbfa51364, flags=) at kernel/qeventloop.cpp:149
#40 0x011574aa in QEventLoop::exec (this=0xbfa51364, flags=...) at kernel/qeventloop.cpp:201
#41 0x0115b69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#42 0x053a7577 in QApplication::exec () at kernel/qapplication.cpp:3579
#43 0x08067a51 in main (argc=5, argv=0xbfa517c4) at ../../ktorrent/main.cpp:172

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

Possible duplicates by query: bug 280472, bug 280358, bug 280281, bug 280047, bug 279462.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-08-24 16:39:45 UTC

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