Application: ktorrent (4.0.3) KDE Platform Version: 4.5.1 (KDE 4.5.1) Qt Version: 4.7.0 Operating System: Linux 2.6.35-28-generic x86_64 Distribution: Ubuntu 10.10 -- Information about the crash: - What I was doing when the application crashed: KTorrent was running in background downloading 2 torrent files. A Java program (PyCharm 1.2.1) launched a Rekonq browser window, which immediately caused KTorrent to crash. -- Backtrace: Application: KTorrent (ktorrent), signal: Segmentation fault [Current thread is 1 (Thread 0x7fd34090e760 (LWP 2312))] Thread 6 (Thread 0x7fd32c331700 (LWP 2338)): #0 0x00007fd33c4912c3 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007fd34048c212 in dht::RPCServerThread::run (this=0x1e48d80) at ../../src/dht/rpcserver.cpp:107 #2 0x00007fd33de4e27e in QThreadPrivate::start (arg=0x1e48d80) at thread/qthread_unix.cpp:266 #3 0x00007fd33dbc3971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #4 0x00007fd33c49892d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 5 (Thread 0x7fd314c7f700 (LWP 2478)): #0 0xffffffffff60017b in ?? () #1 0x00007fd314c7ed70 in ?? () #2 0x00007fff8afff714 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 4 (Thread 0x7fd31447e700 (LWP 2479)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fd33de4d533 in QMutexPrivate::wait (this=0x1d1d2a0, timeout=-1) at thread/qmutex_unix.cpp:84 #2 0x00007fd33de48ee5 in QMutex::lock (this=0x6d9088) at thread/qmutex.cpp:167 #3 0x00007fd340428c0d in net::UploadThread::waitForSocketsReady (this=0x1d1d990) at ../../src/net/uploadthread.cpp:112 #4 0x00007fd340428e86 in net::UploadThread::update (this=0x1d1d2ec) at ../../src/net/uploadthread.cpp:45 #5 0x00007fd34042a2c9 in net::NetworkThread::run (this=0x1d1d990) at ../../src/net/networkthread.cpp:48 #6 0x00007fd33de4e27e in QThreadPrivate::start (arg=0x1d1d990) at thread/qthread_unix.cpp:266 #7 0x00007fd33dbc3971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #8 0x00007fd33c49892d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #9 0x0000000000000000 in ?? () Thread 3 (Thread 0x7fd313c7d700 (LWP 2480)): #0 0x00007fd33c48c203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=5000) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007fd337ba0383 in send_dg (statp=0x7fd313c7ddb8, buf=<value optimized out>, buflen=<value optimized out>, buf2=0x0, buflen2=<value optimized out>, ansp=<value optimized out>, anssizp=0x7fd313c7b950, terrno=0x7fd313c7b8f8, ns=0, v_circuit=0x7fd313c7b8f4, gotsomewhere=0x7fd313c7b8fc, anscp=0x7fd313c7c400, ansp2=0x0, anssizp2=0x0, resplen2=0x0) at res_send.c:1066 #2 0x00007fd337ba2004 in __libc_res_nsend (statp=0x7fd313c7ddb8, buf=<value optimized out>, buflen=<value optimized out>, buf2=0x0, buflen2=<value optimized out>, ans=0x7fd313c7bb70 "\247\037\201\200", anssiz=1024, ansp=0x7fd313c7c400, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:556 #3 0x00007fd337b9e665 in __libc_res_nquery (statp=0x7fd313c7ddb8, name=<value optimized out>, class=<value optimized out>, type=<value optimized out>, answer=0x7fd313c7bb70 "\247\037\201\200", anslen=<value optimized out>, answerp=0x7fd313c7c400, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:225 #4 0x00007fd31594efd1 in _nss_dns_gethostbyaddr2_r (addr=<value optimized out>, len=<value optimized out>, af=2, result=<value optimized out>, buffer=<value optimized out>, buflen=<value optimized out>, errnop=0x7fd313c7d688, h_errnop=0x7fd313c7cb8c, ttlp=0x0) at nss_dns/dns-host.c:471 #5 0x00007fd31594f145 in _nss_dns_gethostbyaddr_r (addr=0x7fd313c7b810, len=1, af=5000, result=0xffffffffffffffff, buffer=0x0, buflen=0, errnop=0x7fd313c7d688, h_errnop=0x7fd313c7cb8c) at nss_dns/dns-host.c:530 #6 0x00007fd33c4b3578 in __gethostbyaddr_r (addr=0x2e04124, len=4, type=<value optimized out>, resbuf=0x7fd313c7cb50, buffer=<value optimized out>, buflen=<value optimized out>, result=0x7fd313c7cb80, h_errnop=0x7fd313c7cb8c) at ../nss/getXXbyYY_r.c:253 #7 0x00007fd33c4b9b6b in getnameinfo (sa=0x2e04120, addrlen=<value optimized out>, host=0x7fd313c7ccb0 "", hostlen=199, serv=0x7fd313c7cbe0 "", servlen=199, flags=<value optimized out>) at getnameinfo.c:223 #8 0x00007fd34042cf4f in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at ../../src/net/reverseresolver.cpp:64 #9 0x00007fd34042cff0 in net::ReverseResolver::run (this=0x310c8c0) at ../../src/net/reverseresolver.cpp:73 #10 0x00007fd34042d1dd in net::ReverseResolverThread::run (this=0x2b27a10) at ../../src/net/reverseresolver.cpp:118 #11 0x00007fd33de4e27e in QThreadPrivate::start (arg=0x2b27a10) at thread/qthread_unix.cpp:266 #12 0x00007fd33dbc3971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #13 0x00007fd33c49892d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #14 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fd32b0f0700 (LWP 2504)): #0 0x00007fd33c48c203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007fd3372e7009 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007fd3372e745c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007fd33df6e1e6 in QEventDispatcherGlib::processEvents (this=0x22897d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417 #4 0x00007fd33df40a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #5 0x00007fd33df40dec in QEventLoop::exec (this=0x7fd32b0efdb0, flags=) at kernel/qeventloop.cpp:201 #6 0x00007fd33de4b2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490 #7 0x00007fd33df205f8 in QInotifyFileSystemWatcherEngine::run (this=0x28f53f0) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007fd33de4e27e in QThreadPrivate::start (arg=0x28f53f0) at thread/qthread_unix.cpp:266 #9 0x00007fd33dbc3971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #10 0x00007fd33c49892d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fd34090e760 (LWP 2312)): [KCrash Handler] #6 memcpy () at ../sysdeps/x86_64/memcpy.S:267 #7 0x00007fd33beb30b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2 #8 0x00007fd33bec94c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2 #9 0x00007fd3404124ab in bt::SHA1HashGen::update (this=0x2b44080, data=0x7fd3103d7000 "\257\275%,Q\017N&\370\t{I{\b\250\006F\234@=QX\341\324)4\210l\370\a\224\fJ\016\213\215\206\246\272;{\030a\246j >\255\067\313C8O\025\276@m\v\227\373[\221\205\001\023", len=16384) at ../../src/util/sha1hashgen.cpp:240 #10 0x00007fd34044d0e3 in bt::ChunkDownload::updateHash (this=0x2b43fc0) at ../../src/download/chunkdownload.cpp:555 #11 0x00007fd34044f2e8 in bt::ChunkDownload::piece (this=0x2b43fc0, p=..., ok=<value optimized out>) at ../../src/download/chunkdownload.cpp:127 #12 0x00007fd340455bde in bt::Downloader::pieceReceived (this=0x2d8bd40, p=...) at ../../src/download/downloader.cpp:134 #13 0x00007fd340439315 in bt::Peer::packetReady (this=0x30babb0, packet=0x31ef9e0 "\a", len=<value optimized out>) at ../../src/peer/peer.cpp:283 #14 0x00007fd340444248 in bt::PacketReader::update (this=0x228d3d0) at ../../src/peer/packetreader.cpp:141 #15 0x00007fd3404380d5 in bt::Peer::update (this=0x30babb0) at ../../src/peer/peer.cpp:538 #16 0x00007fd34043d995 in bt::PeerManager::update (this=0x2e30c50) at ../../src/peer/peermanager.cpp:144 #17 0x00007fd34046f8a4 in bt::TorrentControl::update (this=0x2d85690) at ../../src/torrent/torrentcontrol.cpp:163 #18 0x00000000004289fb in kt::Core::update (this=0x7fd324003a90) at ../../ktorrent/core.cpp:1030 #19 0x0000000000431222 in kt::Core::qt_metacall (this=0x7fd324003a90, _c=QMetaObject::InvokeMetaMethod, _id=470329704, _a=0x7fff8afe43d0) at ./core.moc:167 #20 0x00007fd33df59b27 in QMetaObject::activate (sender=0x7fd324003ab8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x600) at kernel/qobject.cpp:3280 #21 0x00007fd33df538f9 in QObject::event (this=0x7fd324003ab8, e=0x7fd3103d8000) at kernel/qobject.cpp:1183 #22 0x00007fd33d08bfdc in QApplicationPrivate::notify_helper (this=0x1d511b0, receiver=0x7fd324003ab8, e=0x7fff8afe4b00) at kernel/qapplication.cpp:4396 #23 0x00007fd33d091aed in QApplication::notify (this=0x7fff8afe4e30, receiver=0x7fd324003ab8, e=0x7fff8afe4b00) at kernel/qapplication.cpp:4277 #24 0x0000000000437d1a in kt::App::notify (this=0x7fd31c08b968, receiver=0x7fd3103d8000, event=0x4000) at ../../ktorrent/app.cpp:97 #25 0x00007fd33df41cdc in QCoreApplication::notifyInternal (this=0x7fff8afe4e30, receiver=0x7fd324003ab8, event=0x7fff8afe4b00) at kernel/qcoreapplication.cpp:732 #26 0x00007fd33df716f2 in sendEvent (this=0x1d4f630) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #27 QTimerInfoList::activateTimers (this=0x1d4f630) at kernel/qeventdispatcher_unix.cpp:602 #28 0x00007fd33df6e4c8 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 0x00007fd3372e3342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #31 0x00007fd3372e72a8 in ?? () from /lib/libglib-2.0.so.0 #32 0x00007fd3372e745c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #33 0x00007fd33df6e193 in QEventDispatcherGlib::processEvents (this=0x1d1b320, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415 #34 0x00007fd33d13ea4e in QGuiEventDispatcherGlib::processEvents (this=0x7fd31c08b968, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #35 0x00007fd33df40a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #36 0x00007fd33df40dec in QEventLoop::exec (this=0x7fff8afe4da0, flags=) at kernel/qeventloop.cpp:201 #37 0x00007fd33df44ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #38 0x0000000000426a8b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:176 Possible duplicates by query: bug 268333, bug 267437, bug 267104, bug 266962, bug 263830. Reported using DrKonqi
*** This bug has been marked as a duplicate of bug 268162 ***