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-27-generic i686 Distribution: Ubuntu 10.04.1 LTS -- Information about the crash: When downloading torrents using public trackers (se list of examples below) the download causes segmentation fault which causes KTorrent to crash. I have never experienced segmentation fault and crash when downloading using closed, private trackers. Example list of public torrents connected to when experiencing the problem described above: udp://tracker.thepiratebay.org:80/announce udp://tracker.publicbt.com:80/announce udp://tracker.openbittorrent.com:80/announce http://tracker.thepiratebay.org/announce http://tracker.publicbt.com/announce http://tracker.openbittorrent.com/announce http://denis.stalker.h3q.com/announce The crash can be reproduced some of the time. -- Backtrace: Application: KTorrent (ktorrent), signal: Segmentation fault [Current thread is 1 (Thread 0xb76dfaa0 (LWP 32518))] Thread 5 (Thread 0xb56ffb70 (LWP 32520)): #0 0x0034a422 in __kernel_vsyscall () #1 0x0115d971 in select () from /lib/tls/i686/cmov/libc.so.6 #2 0x00b7faac in dht::RPCServerThread::run (this=0x8321938) at ../../libbtcore/dht/rpcserver.cpp:107 #3 0x05b8c32e in QThreadPrivate::start (arg=0x8321938) at thread/qthread_unix.cpp:248 #4 0x0025e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #5 0x01164a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 4 (Thread 0xb140cb70 (LWP 32533)): #0 0x0034a422 in __kernel_vsyscall () #1 0x01156b86 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0x00b1c982 in net::DownloadThread::waitForSocketReady (this=0x8166000) at ../../libbtcore/net/downloadthread.cpp:188 #3 0x00b1ca4f in net::DownloadThread::update (this=0x8166000) at ../../libbtcore/net/downloadthread.cpp:53 #4 0x00b1d6b8 in net::NetworkThread::run (this=0x8166000) at ../../libbtcore/net/networkthread.cpp:48 #5 0x05b8c32e in QThreadPrivate::start (arg=0x8166000) at thread/qthread_unix.cpp:248 #6 0x0025e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0x01164a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 3 (Thread 0xb0c0bb70 (LWP 32534)): #0 0x0034a422 in __kernel_vsyscall () #1 0x00263015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x05b8d287 in QWaitConditionPrivate::wait (this=0x8166398, mutex=0x816639c, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #3 QWaitCondition::wait (this=0x8166398, mutex=0x816639c, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #4 0x00b1c3a9 in net::UploadThread::update (this=0x8166360) at ../../libbtcore/net/uploadthread.cpp:73 #5 0x00b1d6b8 in net::NetworkThread::run (this=0x8166360) at ../../libbtcore/net/networkthread.cpp:48 #6 0x05b8c32e in QThreadPrivate::start (arg=0x8166360) at thread/qthread_unix.cpp:248 #7 0x0025e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #8 0x01164a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 2 (Thread 0xb040ab70 (LWP 32535)): #0 0x0034a422 in __kernel_vsyscall () #1 0x01156b86 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0x01918718 in ?? () from /lib/tls/i686/cmov/libresolv.so.2 #3 0x019168a3 in __libc_res_nquery () from /lib/tls/i686/cmov/libresolv.so.2 #4 0x01f27f73 in _nss_dns_gethostbyaddr2_r () from /lib/tls/i686/cmov/libnss_dns.so.2 #5 0x01f280ca in _nss_dns_gethostbyaddr_r () from /lib/tls/i686/cmov/libnss_dns.so.2 #6 0x0117b36b in gethostbyaddr_r () from /lib/tls/i686/cmov/libc.so.6 #7 0x011805db in getnameinfo () from /lib/tls/i686/cmov/libc.so.6 #8 0x00b2092b in net::ReverseResolver::resolve (this=0xa06b8d0, addr=...) at ../../libbtcore/net/reverseresolver.cpp:64 #9 0x00b209c3 in net::ReverseResolver::run (this=0xa06b8d0) at ../../libbtcore/net/reverseresolver.cpp:73 #10 0x00b20ac7 in net::ReverseResolverThread::run (this=0x82e30b0) at ../../libbtcore/net/reverseresolver.cpp:118 #11 0x05b8c32e in QThreadPrivate::start (arg=0x82e30b0) at thread/qthread_unix.cpp:248 #12 0x0025e96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #13 0x01164a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (Thread 0xb76dfaa0 (LWP 32518)): [KCrash Handler] #6 0x011a7170 in ?? () from /lib/tls/i686/cmov/libc.so.6 #7 0x012f3ff4 in ?? () from /usr/lib/libqca.so.2 #8 0x0126a167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2 #9 0x00b0618f in bt::SHA1HashGen::update (this=0xa14d4f0, data=0xb76ec000 "\375T\276R\257\276\021\250\034\215\260#\245", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:240 #10 0x00b3eb7e in bt::ChunkDownload::updateHash (this=0xa14d480) at ../../libbtcore/download/chunkdownload.cpp:579 #11 0x00b4040d in bt::ChunkDownload::piece (this=0xa14d480, p=..., ok=@0xbff3ab6f) at ../../libbtcore/download/chunkdownload.cpp:145 #12 0x00b46af9 in bt::Downloader::pieceReceived (this=0x92c5d80, p=...) at ../../libbtcore/download/downloader.cpp:126 #13 0x00b2e41f in bt::PeerManager::pieceReceived (this=0x92558f8, p=...) at ../../libbtcore/peer/peermanager.cpp:677 #14 0x00b2cabf in bt::Peer::packetReady (this=0xaf64fe00, packet=0xb5778310 "\a", len=16393) at ../../libbtcore/peer/peer.cpp:268 #15 0x00b36ba9 in bt::PacketReader::update (this=0xaf665f58) at ../../libbtcore/peer/packetreader.cpp:141 #16 0x00b2c409 in bt::Peer::update (this=0xaf64fe00) at ../../libbtcore/peer/peer.cpp:462 #17 0x00b30886 in bt::PeerManager::update (this=0x92558f8) at ../../libbtcore/peer/peermanager.cpp:119 #18 0x00b6297d in bt::TorrentControl::update (this=0x92562d8) at ../../libbtcore/torrent/torrentcontrol.cpp:150 #19 0x08071a63 in kt::Core::update (this=0x82cca00) at ../../ktorrent/core.cpp:849 #20 0x08077308 in kt::Core::qt_metacall (this=0x82cca00, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbff3aeec) at ./core.moc:155 #21 0x05c93c9a in QMetaObject::metacall (object=0x82cca00, cl=12272, idx=21, argv=0xbff3aeec) at kernel/qmetaobject.cpp:237 #22 0x05ca23d5 in QMetaObject::activate (sender=0x82cca14, m=0x5da25a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293 #23 0x05cf3aa7 in QTimer::timeout (this=0x82cca14) at .moc/release-shared/moc_qtimer.cpp:134 #24 0x05caa60e in QTimer::timerEvent (this=0x82cca14, e=0xbff3b420) at kernel/qtimer.cpp:271 #25 0x05c9f254 in QObject::event (this=0x82cca14, e=0xa372200) at kernel/qobject.cpp:1212 #26 0x0293a4dc in QApplicationPrivate::notify_helper (this=0x8189ba8, receiver=0x82cca14, e=0xbff3b420) at kernel/qapplication.cpp:4300 #27 0x0294105e in QApplication::notify (this=0xbff3b774, receiver=0x82cca14, e=0xbff3b420) at kernel/qapplication.cpp:3704 #28 0x0083140a in KApplication::notify (this=0xbff3b774, receiver=0x82cca14, event=0xbff3b420) at ../../kdeui/kernel/kapplication.cpp:302 #29 0x05c8ea3b in QCoreApplication::notifyInternal (this=0xbff3b774, receiver=0x82cca14, event=0xbff3b420) at kernel/qcoreapplication.cpp:704 #30 0x05cbdd66 in QCoreApplication::sendEvent (this=0x818f734) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #31 QTimerInfoList::activateTimers (this=0x818f734) at kernel/qeventdispatcher_unix.cpp:603 #32 0x05cba917 in timerSourceDispatch (source=0x818f768) at kernel/qeventdispatcher_glib.cpp:184 #33 idleTimerSourceDispatch (source=0x818f768) at kernel/qeventdispatcher_glib.cpp:231 #34 0x027175e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #35 0x0271b2d8 in ?? () from /lib/libglib-2.0.so.0 #36 0x0271b4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #37 0x05cba5d5 in QEventDispatcherGlib::processEvents (this=0x8164e78, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #38 0x029fa135 in QGuiEventDispatcherGlib::processEvents (this=0x8164e78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #39 0x05c8d059 in QEventLoop::processEvents (this=0xbff3b6e4, flags=) at kernel/qeventloop.cpp:149 #40 0x05c8d4aa in QEventLoop::exec (this=0xbff3b6e4, flags=...) at kernel/qeventloop.cpp:201 #41 0x05c9169f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #42 0x0293a577 in QApplication::exec () at kernel/qapplication.cpp:3579 #43 0x08067a51 in main (argc=1, argv=0xbff3bb44) at ../../ktorrent/main.cpp:172 This bug may be a duplicate of or related to bug 247984. Possible duplicates by query: bug 263012, bug 262446, bug 262378, bug 262037, bug 261102. Reported using DrKonqi
*** This bug has been marked as a duplicate of bug 247984 ***