Bug 280660 - 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-23 19:31 UTC by Erika Fabricius
Modified: 2011-08-24 16: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 Erika Fabricius 2011-08-23 19:31:58 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:
It crashes during normal usage under normal conditions.

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0xaefcbb70 (LWP 3208)):
#0  0x00246422 in __kernel_vsyscall ()
#1  0x043efb86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x0028c982 in net::DownloadThread::waitForSocketReady (this=0x85ff560) at ../../libbtcore/net/downloadthread.cpp:188
#3  0x0028ca4f in net::DownloadThread::update (this=0x85ff560) at ../../libbtcore/net/downloadthread.cpp:53
#4  0x0028d6b8 in net::NetworkThread::run (this=0x85ff560) at ../../libbtcore/net/networkthread.cpp:48
#5  0x05b2332e in QThreadPrivate::start (arg=0x85ff560) at thread/qthread_unix.cpp:248
#6  0x00e9d96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x043fda4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xae7cab70 (LWP 3209)):
#0  0x00246422 in __kernel_vsyscall ()
#1  0x00ea2015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x05b24287 in QWaitConditionPrivate::wait (this=0x85ff8f8, mutex=0x85ff8fc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x85ff8f8, mutex=0x85ff8fc, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x0028c3a9 in net::UploadThread::update (this=0x85ff8c0) at ../../libbtcore/net/uploadthread.cpp:73
#5  0x0028d6b8 in net::NetworkThread::run (this=0x85ff8c0) at ../../libbtcore/net/networkthread.cpp:48
#6  0x05b2332e in QThreadPrivate::start (arg=0x85ff8c0) at thread/qthread_unix.cpp:248
#7  0x00e9d96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x043fda4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xadfc9b70 (LWP 3210)):
#0  0x00246422 in __kernel_vsyscall ()
#1  0x043efb86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x047c8718 in ?? () from /lib/tls/i686/cmov/libresolv.so.2
#3  0x047c68a3 in __libc_res_nquery () from /lib/tls/i686/cmov/libresolv.so.2
#4  0x01a17f73 in _nss_dns_gethostbyaddr2_r () from /lib/tls/i686/cmov/libnss_dns.so.2
#5  0x01a180ca in _nss_dns_gethostbyaddr_r () from /lib/tls/i686/cmov/libnss_dns.so.2
#6  0x0441436b in gethostbyaddr_r () from /lib/tls/i686/cmov/libc.so.6
#7  0x044195db in getnameinfo () from /lib/tls/i686/cmov/libc.so.6
#8  0x0029092b in net::ReverseResolver::resolve (this=0x9667e30, addr=...) at ../../libbtcore/net/reverseresolver.cpp:64
#9  0x002909c3 in net::ReverseResolver::run (this=0x9667e30) at ../../libbtcore/net/reverseresolver.cpp:73
#10 0x00290ac7 in net::ReverseResolverThread::run (this=0x880bb88) at ../../libbtcore/net/reverseresolver.cpp:118
#11 0x05b2332e in QThreadPrivate::start (arg=0x880bb88) at thread/qthread_unix.cpp:248
#12 0x00e9d96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0x043fda4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb76e4aa0 (LWP 3179)):
[KCrash Handler]
#6  0x043a4fc6 in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0xbf89712c in ?? ()
#8  0x02f45167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x0027618f in bt::SHA1HashGen::update (this=0xa99ddb0, data=0xb3fd7de4 "", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:240
#10 0x002aeb7e in bt::ChunkDownload::updateHash (this=0xa99dd40) at ../../libbtcore/download/chunkdownload.cpp:579
#11 0x002b040d in bt::ChunkDownload::piece (this=0xa99dd40, p=..., ok=@0xbf89726f) at ../../libbtcore/download/chunkdownload.cpp:145
#12 0x002b6af9 in bt::Downloader::pieceReceived (this=0x8c9e920, p=...) at ../../libbtcore/download/downloader.cpp:126
#13 0x0029e41f in bt::PeerManager::pieceReceived (this=0x8caf0e0, p=...) at ../../libbtcore/peer/peermanager.cpp:677
#14 0x0029cabf in bt::Peer::packetReady (this=0x9ad9478, packet=0xb5942720 "\a", len=16393) at ../../libbtcore/peer/peer.cpp:268
#15 0x002a6ba9 in bt::PacketReader::update (this=0xa076490) at ../../libbtcore/peer/packetreader.cpp:141
#16 0x0029c409 in bt::Peer::update (this=0x9ad9478) at ../../libbtcore/peer/peer.cpp:462
#17 0x002a0886 in bt::PeerManager::update (this=0x8caf0e0) at ../../libbtcore/peer/peermanager.cpp:119
#18 0x002d297d in bt::TorrentControl::update (this=0x8cc2fa0) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#19 0x08071a63 in kt::Core::update (this=0x8743108) at ../../ktorrent/core.cpp:849
#20 0x08077308 in kt::Core::qt_metacall (this=0x8743108, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbf8975ec) at ./core.moc:155
#21 0x05c2ac9a in QMetaObject::metacall (object=0x8743108, cl=3961, idx=21, argv=0xbf8975ec) at kernel/qmetaobject.cpp:237
#22 0x05c393d5 in QMetaObject::activate (sender=0x874311c, m=0x5d395a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#23 0x05c8aaa7 in QTimer::timeout (this=0x874311c) at .moc/release-shared/moc_qtimer.cpp:134
#24 0x05c4160e in QTimer::timerEvent (this=0x874311c, e=0xbf897b20) at kernel/qtimer.cpp:271
#25 0x05c36254 in QObject::event (this=0x874311c, e=0xa0bfd10) at kernel/qobject.cpp:1212
#26 0x073634dc in QApplicationPrivate::notify_helper (this=0x8621ba0, receiver=0x874311c, e=0xbf897b20) at kernel/qapplication.cpp:4300
#27 0x0736a05e in QApplication::notify (this=0xbf897e74, receiver=0x874311c, e=0xbf897b20) at kernel/qapplication.cpp:3704
#28 0x00b6140a in KApplication::notify (this=0xbf897e74, receiver=0x874311c, event=0xbf897b20) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x05c25a3b in QCoreApplication::notifyInternal (this=0xbf897e74, receiver=0x874311c, event=0xbf897b20) at kernel/qcoreapplication.cpp:704
#30 0x05c54d66 in QCoreApplication::sendEvent (this=0x8626fbc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QTimerInfoList::activateTimers (this=0x8626fbc) at kernel/qeventdispatcher_unix.cpp:603
#32 0x05c51917 in timerSourceDispatch (source=0x8627400) at kernel/qeventdispatcher_glib.cpp:184
#33 idleTimerSourceDispatch (source=0x8627400) at kernel/qeventdispatcher_glib.cpp:231
#34 0x01a7d5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x01a812d8 in ?? () from /lib/libglib-2.0.so.0
#36 0x01a814b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#37 0x05c515d5 in QEventDispatcherGlib::processEvents (this=0x85fe380, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#38 0x07423135 in QGuiEventDispatcherGlib::processEvents (this=0x85fe380, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x05c24059 in QEventLoop::processEvents (this=0xbf897de4, flags=) at kernel/qeventloop.cpp:149
#40 0x05c244aa in QEventLoop::exec (this=0xbf897de4, flags=...) at kernel/qeventloop.cpp:201
#41 0x05c2869f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#42 0x07363577 in QApplication::exec () at kernel/qapplication.cpp:3579
#43 0x08067a51 in main (argc=5, argv=0xbf898244) at ../../ktorrent/main.cpp:172

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

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

Reported using DrKonqi
Comment 1 Joris Guisson 2011-08-24 16:30:07 UTC

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