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-22-generic x86_64 Distribution: Ubuntu 10.10 -- Information about the crash: - What I was doing when the application crashed: Nothing. Exactly. I was normally using my desktop while the crash happened. AFAIR 4 torrents were downloading at the time, ant about 10 uploading. -- Backtrace: Application: KTorrent (ktorrent), signal: Segmentation fault [Current thread is 1 (Thread 0x7fd277169760 (LWP 1895))] Thread 9 (Thread 0x7fd262771710 (LWP 1904)): #0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 #1 0x00007fd272c871dc in _L_lock_12347 () from /lib/libc.so.6 #2 0x00007fd272c85c78 in __libc_free (mem=0x7fd244000020) at malloc.c:3736 #3 0x00007fd272ca2dd9 in tzset_internal (always=<value optimized out>, explicit=<value optimized out>) at tzset.c:435 #4 0x00007fd272ca30b0 in __tzset () at tzset.c:592 #5 0x00007fd2746b18e6 in QDateTime::currentDateTime () at tools/qdatetime.cpp:3116 #6 0x00007fd276c70f47 in bt::Log::Private::finishLine (this=0xbbb270) at ../../src/util/log.cpp:130 #7 0x00007fd276c6ff77 in endline (lg=...) at ../../src/util/log.cpp:159 #8 bt::endl (lg=...) at ../../src/util/log.cpp:222 #9 0x00007fd276c7012c in operator<< (type=<value optimized out>, msg=0x7fd25c2bd418 "QSocketNotifier: Invalid socket 20 and type 'Read', disabling...") at ../../src/util/log.h:140 #10 bt::QtMessageOutput (type=<value optimized out>, msg=0x7fd25c2bd418 "QSocketNotifier: Invalid socket 20 and type 'Read', disabling...") at ../../src/util/log.cpp:297 #11 0x00007fd27469b80e in qt_message_output (msgType=QtWarningMsg, buf=0x80 <Address 0x80 out of bounds>) at global/qglobal.cpp:2205 #12 0x00007fd27469ba42 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtWarningMsg, msg=0x7fd27485c0a8 "QSocketNotifier: Invalid socket %d and type '%s', disabling...", ap=0x7fd262770af0) at global/qglobal.cpp:2305 #13 0x00007fd27469bd75 in qWarning (msg=0x80 <Address 0x80 out of bounds>) at global/qglobal.cpp:2387 #14 0x00007fd2747c45f6 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:90 #15 0x00007fd26db3c66a in g_main_context_check () from /lib/libglib-2.0.so.0 #16 0x00007fd26db3d023 in ?? () from /lib/libglib-2.0.so.0 #17 0x00007fd26db3d45c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #18 0x00007fd2747c4193 in QEventDispatcherGlib::processEvents (this=0xc29b20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415 #19 0x00007fd274796a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #20 0x00007fd274796dec in QEventLoop::exec (this=0x7fd262770db0, flags=) at kernel/qeventloop.cpp:201 #21 0x00007fd2746a12fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490 #22 0x00007fd276d1b15e in utp::UTPServerThread::run (this=0xc29b80) at ../../src/utp/utpserverthread.cpp:44 #23 0x00007fd2746a427e in QThreadPrivate::start (arg=0xc29b80) at thread/qthread_unix.cpp:266 #24 0x00007fd274419971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #25 0x00007fd272cee91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #26 0x0000000000000000 in ?? () Thread 8 (Thread 0x7fd261d70710 (LWP 1905)): #0 0x00007fd272ce72b3 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007fd276ce2212 in dht::RPCServerThread::run (this=0xc35530) at ../../src/dht/rpcserver.cpp:107 #2 0x00007fd2746a427e in QThreadPrivate::start (arg=0xc35530) at thread/qthread_unix.cpp:266 #3 0x00007fd274419971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #4 0x00007fd272cee91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 7 (Thread 0x7fd24d0f2710 (LWP 2107)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fd2746a3533 in QMutexPrivate::wait (this=0xadc2a0, timeout=-1) at thread/qmutex_unix.cpp:84 #2 0x00007fd27469eee5 in QMutex::lock (this=0x6d9088) at thread/qmutex.cpp:167 #3 0x00007fd276c7f803 in net::DownloadThread::update (this=0xadc320) at ../../src/net/downloadthread.cpp:51 #4 0x00007fd276c802c9 in net::NetworkThread::run (this=0xadc320) at ../../src/net/networkthread.cpp:48 #5 0x00007fd2746a427e in QThreadPrivate::start (arg=0xadc320) at thread/qthread_unix.cpp:266 #6 0x00007fd274419971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #7 0x00007fd272cee91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #8 0x0000000000000000 in ?? () Thread 6 (Thread 0x7fd24c6f1710 (LWP 2108)): #0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 #1 0x00007fd272c871dc in _L_lock_12347 () from /lib/libc.so.6 #2 0x00007fd272c85c78 in __libc_free (mem=0x7fd244000020) at malloc.c:3736 #3 0x00007fd276c98ce4 in deallocate (this=0x7fd244873d40, data=<value optimized out>, max_to_write=16393) at /usr/include/c++/4.4/ext/new_allocator.h:95 #4 _M_put_node (this=0x7fd244873d40, data=<value optimized out>, max_to_write=16393) at /usr/include/c++/4.4/bits/stl_list.h:320 #5 _M_erase (this=0x7fd244873d40, data=<value optimized out>, max_to_write=16393) at /usr/include/c++/4.4/bits/stl_list.h:1431 #6 pop_front (this=0x7fd244873d40, data=<value optimized out>, max_to_write=16393) at /usr/include/c++/4.4/bits/stl_list.h:906 #7 bt::PacketWriter::onReadyToWrite (this=0x7fd244873d40, data=<value optimized out>, max_to_write=16393) at ../../src/peer/packetwriter.cpp:259 #8 0x00007fd276c85475 in mse::StreamSocket::onReadyToWrite (this=0x5631280, data=0x41659d0 "j\313\020\031:\177\311;\216,YRg\261\353\034\017\066\337G\242\267S\314'\245\327\034\305\366\323\302v\326^\264\200:\a\f<_\321\237?\255E~e:\337F\206\341\026\177\260\351Xy\365#~\036*F\244e\004\257E\347W\243mCz\037U\235=\236\061i[\333\313\362\267\356s|\365\242!\261\375pP\212\021\016o\026\277@Q7N\322\267\351;5V\326{\372\204\320\035`\333Bq7\355\260\a\307", max_to_write=1149713760) at ../../src/mse/streamsocket.cpp:299 #9 0x00007fd276c7a86a in net::BufferedSocket::writeBuffered (this=0x454c290, max=49, now=1290027316889) at ../../src/net/bufferedsocket.cpp:198 #10 0x00007fd276c81476 in net::SocketGroup::processLimited (this=0xadcda0, up=<value optimized out>, now=<value optimized out>, allowance=@0x7fd24c6f0d1c) at ../../src/net/socketgroup.cpp:77 #11 0x00007fd276c81624 in net::SocketGroup::process (this=0x7fd244000020, up=128, now=140541069573472, global_allowance=@0x7fd24c6f0d1c) at ../../src/net/socketgroup.cpp:188 #12 0x00007fd276c7fe97 in net::NetworkThread::doGroupsLimited (this=0xadc990, num_ready=<value optimized out>, now=<value optimized out>, allowance=@0x7fd24c6f0d8c) at ../../src/net/networkthread.cpp:111 #13 0x00007fd276c801a9 in net::NetworkThread::doGroups (this=0xadc990, num_ready=29, now=1290027316889, limit=<value optimized out>) at ../../src/net/networkthread.cpp:190 #14 0x00007fd276c7efd9 in net::UploadThread::update (this=0xadc990) at ../../src/net/uploadthread.cpp:81 #15 0x00007fd276c802c9 in net::NetworkThread::run (this=0xadc990) at ../../src/net/networkthread.cpp:48 #16 0x00007fd2746a427e in QThreadPrivate::start (arg=0xadc990) at thread/qthread_unix.cpp:266 #17 0x00007fd274419971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #18 0x00007fd272cee91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #19 0x0000000000000000 in ?? () Thread 5 (Thread 0x7fd24bcf0710 (LWP 2109)): #0 0x00007fd272ce06fd in read () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007fd272c7b278 in _IO_new_file_underflow (fp=0x7fd254542e70) at fileops.c:606 #2 0x00007fd272c7cdfe in _IO_default_uflow (fp=0x4) at genops.c:440 #3 0x00007fd272c7132e in _IO_getline_info (fp=0x7fd254542e70, buf=0x7fd276fae000 "RESOLVE-ADDRESS 115.99.33.131\n", n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74 #4 0x00007fd272c70209 in _IO_fgets (buf=0x7fd24bcef0d0 "-15 Timeout reached\n", n=<value optimized out>, fp=0x7fd254542e70) at iofgets.c:58 #5 0x00007fd25afc5fcb in ?? () from /lib/libnss_mdns4.so.2 #6 0x00007fd25afc6435 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2 #7 0x00007fd272d09568 in __gethostbyaddr_r (addr=0x2fa85f4, len=4, type=<value optimized out>, resbuf=0x7fd24bcefb50, buffer=<value optimized out>, buflen=<value optimized out>, result=0x7fd24bcefb80, h_errnop=0x7fd24bcefb8c) at ../nss/getXXbyYY_r.c:253 #8 0x00007fd272d0fb5b in getnameinfo (sa=0x2fa85f0, addrlen=<value optimized out>, host=0x7fd24bcefcb0 "", hostlen=199, serv=0x7fd24bcefbe0 "", servlen=199, flags=<value optimized out>) at getnameinfo.c:223 #9 0x00007fd276c82f4f in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at ../../src/net/reverseresolver.cpp:64 #10 0x00007fd276c82ff0 in net::ReverseResolver::run (this=0x1f6d400) at ../../src/net/reverseresolver.cpp:73 #11 0x00007fd276c831dd in net::ReverseResolverThread::run (this=0x18d68e0) at ../../src/net/reverseresolver.cpp:118 #12 0x00007fd2746a427e in QThreadPrivate::start (arg=0x18d68e0) at thread/qthread_unix.cpp:266 #13 0x00007fd274419971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #14 0x00007fd272cee91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #15 0x0000000000000000 in ?? () Thread 4 (Thread 0x7fd25bfff710 (LWP 2349)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fd2746a3533 in QMutexPrivate::wait (this=0xc1bc80, timeout=-1) at thread/qmutex_unix.cpp:84 #2 0x00007fd27469ef05 in QMutex::lock (this=0xbbb2a0) at thread/qmutex.cpp:204 #3 0x00007fd276c6fcab in bt::Out (arg=19) at ../../src/util/log.cpp:270 #4 0x00007fd276c7010a in bt::QtMessageOutput (type=<value optimized out>, msg=0x2ac5738 "QSocketNotifier: Invalid socket 54 and type 'Read', disabling...") at ../../src/util/log.cpp:297 #5 0x00007fd27469b80e in qt_message_output (msgType=QtWarningMsg, buf=0x80 <Address 0x80 out of bounds>) at global/qglobal.cpp:2205 #6 0x00007fd27469ba42 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtWarningMsg, msg=0x7fd27485c0a8 "QSocketNotifier: Invalid socket %d and type '%s', disabling...", ap=0x7fd25bffeaf0) at global/qglobal.cpp:2305 #7 0x00007fd27469bd75 in qWarning (msg=0x80 <Address 0x80 out of bounds>) at global/qglobal.cpp:2387 #8 0x00007fd2747c45f6 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:90 #9 0x00007fd26db3c66a in g_main_context_check () from /lib/libglib-2.0.so.0 #10 0x00007fd26db3d023 in ?? () from /lib/libglib-2.0.so.0 #11 0x00007fd26db3d45c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #12 0x00007fd2747c4193 in QEventDispatcherGlib::processEvents (this=0x1a1e9a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415 #13 0x00007fd274796a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #14 0x00007fd274796dec in QEventLoop::exec (this=0x7fd25bffedb0, flags=) at kernel/qeventloop.cpp:201 #15 0x00007fd2746a12fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490 #16 0x00007fd2747765f8 in QInotifyFileSystemWatcherEngine::run (this=0xb83080) at io/qfilesystemwatcher_inotify.cpp:248 #17 0x00007fd2746a427e in QThreadPrivate::start (arg=0xb83080) at thread/qthread_unix.cpp:266 #18 0x00007fd274419971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #19 0x00007fd272cee91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #20 0x0000000000000000 in ?? () Thread 3 (Thread 0x7fd24b2ef710 (LWP 6943)): #0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 #1 0x00007fd272c871dc in _L_lock_12347 () from /lib/libc.so.6 #2 0x00007fd272c85c78 in __libc_free (mem=0x7fd244000020) at malloc.c:3736 #3 0x00007fd26db38c3b in ?? () from /lib/libglib-2.0.so.0 #4 0x00007fd2747c4d33 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x2314ca0, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:369 #5 0x00007fd2746a3ac4 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:302 #6 0x00007fd2746a4286 in ~__pthread_cleanup_class (arg=0x2299240) at /usr/include/pthread.h:545 #7 QThreadPrivate::start (arg=0x2299240) at thread/qthread_unix.cpp:271 #8 0x00007fd274419971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #9 0x00007fd272cee91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fd24daf3710 (LWP 6944)): #0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 #1 0x00007fd272c871dc in _L_lock_12347 () from /lib/libc.so.6 #2 0x00007fd272c85c78 in __libc_free (mem=0x7fd244000020) at malloc.c:3736 #3 0x00007fd26db38c3b in ?? () from /lib/libglib-2.0.so.0 #4 0x00007fd2747c4d33 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x2c74b30, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:369 #5 0x00007fd2746a3ac4 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:302 #6 0x00007fd2746a4286 in ~__pthread_cleanup_class (arg=0x7fd25c036680) at /usr/include/pthread.h:545 #7 QThreadPrivate::start (arg=0x7fd25c036680) at thread/qthread_unix.cpp:271 #8 0x00007fd274419971 in start_thread (arg=<value optimized out>) at pthread_create.c:304 #9 0x00007fd272cee91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fd277169760 (LWP 1895)): [KCrash Handler] #6 _int_malloc (av=0x7fd244000020, bytes=48) at malloc.c:4628 #7 0x00007fd272c8438e in __libc_malloc (bytes=48) at malloc.c:3660 #8 0x00007fd2734ddded in operator new(unsigned long) () from /usr/lib/libstdc++.so.6 #9 0x00007fd274eed861 in KNetwork::KSocketAddress::KSocketAddress (this=0x7fd244241f88, other=...) at ../../kdecore/network/k3socketaddress.cpp:419 #10 0x00007fd274eed9f9 in KNetwork::KInetSocketAddress::KInetSocketAddress (this=0x7fd2440001b8, other=...) at ../../kdecore/network/k3socketaddress.cpp:704 #11 0x00007fd276c7a4c9 in net::Address::Address (this=0x7fd2440001b8, addr=...) at ../../src/net/address.cpp:37 #12 0x00007fd276c9bbc7 in pair (this=0x7fffb44e82e0, __x=<value optimized out>, __p=0x7fd244241eb0, __v=...) at /usr/include/c++/4.4/bits/stl_pair.h:68 #13 construct (this=0x7fffb44e82e0, __x=<value optimized out>, __p=0x7fd244241eb0, __v=...) at /usr/include/c++/4.4/ext/new_allocator.h:105 #14 _M_create_node (this=0x7fffb44e82e0, __x=<value optimized out>, __p=0x7fd244241eb0, __v=...) at /usr/include/c++/4.4/bits/stl_tree.h:371 #15 std::_Rb_tree<unsigned int, std::pair<unsigned int const, net::Address>, std::_Select1st<std::pair<unsigned int const, net::Address> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, net::Address> > >::_M_insert_ (this=0x7fffb44e82e0, __x=<value optimized out>, __p=0x7fd244241eb0, __v=...) at /usr/include/c++/4.4/bits/stl_tree.h:881 #16 0x00007fd276c9b58e in _M_insert_unique (this=0x29e2ca0) at /usr/include/c++/4.4/bits/stl_tree.h:1182 #17 insert (this=0x29e2ca0) at /usr/include/c++/4.4/bits/stl_map.h:500 #18 bt::UTPex::update (this=0x29e2ca0) at ../../src/peer/utpex.cpp:96 #19 0x00007fd276c8e130 in bt::Peer::update (this=0x58be130) at ../../src/peer/peer.cpp:554 #20 0x00007fd276c93995 in bt::PeerManager::update (this=0x30dae80) at ../../src/peer/peermanager.cpp:144 #21 0x00007fd276cc58a4 in bt::TorrentControl::update (this=0x49319e0) at ../../src/torrent/torrentcontrol.cpp:163 #22 0x00000000004289fb in kt::Core::update (this=0xc0f120) at ../../ktorrent/core.cpp:1030 #23 0x0000000000431222 in kt::Core::qt_metacall (this=0xc0f120, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffb44e87d0) at ./core.moc:167 #24 0x00007fd2747afb27 in QMetaObject::activate (sender=0xc0f148, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x200000) at kernel/qobject.cpp:3280 #25 0x00007fd2747a98f9 in QObject::event (this=0xc0f148, e=0x0) at kernel/qobject.cpp:1183 #26 0x00007fd2738e1fdc in QApplicationPrivate::notify_helper (this=0xb0e1d0, receiver=0xc0f148, e=0x7fffb44e8f00) at kernel/qapplication.cpp:4396 #27 0x00007fd2738e7aed in QApplication::notify (this=0x7fffb44e9230, receiver=0xc0f148, e=0x7fffb44e8f00) at kernel/qapplication.cpp:4277 #28 0x0000000000437d1a in kt::App::notify (this=0x7fd2440001b8, receiver=0x0, event=0xffe0000c) at ../../ktorrent/app.cpp:97 #29 0x00007fd274797cdc in QCoreApplication::notifyInternal (this=0x7fffb44e9230, receiver=0xc0f148, event=0x7fffb44e8f00) at kernel/qcoreapplication.cpp:732 #30 0x00007fd2747c76f2 in sendEvent (this=0xb18590) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #31 QTimerInfoList::activateTimers (this=0xb18590) at kernel/qeventdispatcher_unix.cpp:602 #32 0x00007fd2747c44c8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184 #33 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231 #34 0x00007fd26db39342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #35 0x00007fd26db3d2a8 in ?? () from /lib/libglib-2.0.so.0 #36 0x00007fd26db3d45c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #37 0x00007fd2747c4193 in QEventDispatcherGlib::processEvents (this=0xada320, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415 #38 0x00007fd273994a4e in QGuiEventDispatcherGlib::processEvents (this=0x7fd2440001b8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #39 0x00007fd274796a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #40 0x00007fd274796dec in QEventLoop::exec (this=0x7fffb44e91a0, flags=) at kernel/qeventloop.cpp:201 #41 0x00007fd27479aebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #42 0x0000000000426a8b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:176 Reported using DrKonqi
Version 4.0.3. KDE bug reporting tool didn't picked that up. Also happens quite often, about once a week, assuming ~18h/day uptime.
*** This bug has been marked as a duplicate of bug 252341 ***