Application: ktorrent (4.1.1) KDE Platform Version: 4.7.4 (4.7.4) Qt Version: 4.7.4 Operating System: Linux 3.0.0-28-generic x86_64 Distribution: Ubuntu 11.10 -- Information about the crash: ktorrent started crashing after I set up eth0 to run my nfs server on my local network, while using wlan3 to access the internet. I have changed the settings to use interface wlan3, but ever since I made this change yesterday, ktorrent has been randomly crashing. It first happened when it was downloading a torrent file from a magnet link gotten off one of my feeds. Then it happened a couple of times as soon as I opened ktorrent. This one was just downloading two tv shows off an rss feed and crashed. The crash can be reproduced some of the time. -- Backtrace: Application: KTorrent (ktorrent), signal: Segmentation fault [Current thread is 1 (Thread 0x7f7b1f9d6780 (LWP 3620))] Thread 9 (Thread 0x7f7b0c093700 (LWP 3622)): #0 0x00007f7b172fb626 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f7b172fbf82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f7b172fc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f7b1d220f3e in QEventDispatcherGlib::processEvents (this=0x15f2f20, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007f7b1d1f4cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f7b1d1f4ef7 in QEventLoop::exec (this=0x7f7b0c092e00, flags=...) at kernel/qeventloop.cpp:201 #6 0x00007f7b1d10c27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498 #7 0x00007f7b1d10ed05 in QThreadPrivate::start (arg=0x15e8ff0) at thread/qthread_unix.cpp:331 #8 0x00007f7b18d10efc in start_thread (arg=0x7f7b0c093700) at pthread_create.c:304 #9 0x00007f7b1b949f8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 8 (Thread 0x7f7afed9c700 (LWP 3623)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f7b01368c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4 #2 0x00007f7b01368d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4 #3 0x00007f7b18d10efc in start_thread (arg=0x7f7afed9c700) at pthread_create.c:304 #4 0x00007f7b1b949f8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f7afe49b700 (LWP 3624)): #0 0x00007f7b1b93de63 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f7b172fbf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f7b172fc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f7b1d220f3e in QEventDispatcherGlib::processEvents (this=0x3180cb0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007f7b1d1f4cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f7b1d1f4ef7 in QEventLoop::exec (this=0x7f7afe49ae00, flags=...) at kernel/qeventloop.cpp:201 #6 0x00007f7b1d10c27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498 #7 0x00007f7b1d10ed05 in QThreadPrivate::start (arg=0x31804f0) at thread/qthread_unix.cpp:331 #8 0x00007f7b18d10efc in start_thread (arg=0x7f7afe49b700) at pthread_create.c:304 #9 0x00007f7b1b949f8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f7afc621700 (LWP 3652)): #0 0x00007f7b1f4d29c2 in deref (this=0x147fccc) at /usr/include/qt4/QtCore/qatomic_x86_64.h:133 #1 deref (value=0x1483cd0, d=0x147fcc0) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:332 #2 deref (this=0x7f7ab4061bb8) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:328 #3 ~ExternalRefCount (this=0x7f7ab4061bb8, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:393 #4 ~QSharedPointer (this=0x7f7ab4061bb8, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:451 #5 ~pair (this=0x7f7ab4061bb0, __in_chrg=<optimized out>) at /usr/include/c++/4.6/bits/stl_pair.h:87 #6 destroy (__p=0x7f7ab4061bb0, this=<optimized out>) at /usr/include/c++/4.6/ext/new_allocator.h:118 #7 _M_destroy_node (__p=0x7f7ab4061b90, this=<optimized out>) at /usr/include/c++/4.6/bits/stl_tree.h:394 #8 std::_Rb_tree<int, std::pair<int const, QSharedPointer<net::PollClient> >, std::_Select1st<std::pair<int const, QSharedPointer<net::PollClient> > >, std::less<int>, std::allocator<std::pair<int const, QSharedPointer<net::PollClient> > > >::_M_erase (this=0x147fc18, __x=<optimized out>) at /usr/include/c++/4.6/bits/stl_tree.h:1066 #9 0x00007f7b1f4d25e7 in clear (this=0x147fc18) at /usr/include/c++/4.6/bits/stl_tree.h:799 #10 clear (this=0x147fc18) at /usr/include/c++/4.6/bits/stl_map.h:704 #11 net::Poll::poll (this=0x147fbf0, timeout=<optimized out>) at ../../src/net/poll.cpp:113 #12 0x00007f7b1f4cf229 in net::DownloadThread::waitForSocketReady (this=0x147fbe0) at ../../src/net/downloadthread.cpp:128 #13 0x00007f7b1f4cf336 in net::DownloadThread::update (this=0x147fbe0) at ../../src/net/downloadthread.cpp:48 #14 0x00007f7b1f4cf549 in net::NetworkThread::run (this=0x147fbe0) at ../../src/net/networkthread.cpp:48 #15 0x00007f7b1d10ed05 in QThreadPrivate::start (arg=0x147fbe0) at thread/qthread_unix.cpp:331 #16 0x00007f7b18d10efc in start_thread (arg=0x7f7afc621700) at pthread_create.c:304 #17 0x00007f7b1b949f8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #18 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f7afd623700 (LWP 3653)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216 #1 0x00007f7b1d10dfe8 in thread_sleep (ti=0x7f7afd622dc0) at thread/qthread_unix.cpp:493 #2 0x00007f7b1d10e420 in QThread::msleep (msecs=<optimized out>) at thread/qthread_unix.cpp:519 #3 0x00007f7b1f4cee18 in update (this=0x147d110) at ../../src/net/uploadthread.cpp:89 #4 net::UploadThread::update (this=0x147d110) at ../../src/net/uploadthread.cpp:43 #5 0x00007f7b1f4cf549 in net::NetworkThread::run (this=0x147d110) at ../../src/net/networkthread.cpp:48 #6 0x00007f7b1d10ed05 in QThreadPrivate::start (arg=0x147d110) at thread/qthread_unix.cpp:331 #7 0x00007f7b18d10efc in start_thread (arg=0x7f7afd623700) at pthread_create.c:304 #8 0x00007f7b1b949f8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #9 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f7aba10b700 (LWP 3678)): #0 0x00007f7b1d220f37 in QEventDispatcherGlib::processEvents (this=0x32c06f0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424 #1 0x00007f7b1d1f4cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #2 0x00007f7b1d1f4ef7 in QEventLoop::exec (this=0x7f7aba10add0, flags=...) at kernel/qeventloop.cpp:201 #3 0x00007f7b1d10c27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498 #4 0x00007f7b1d1d7cbf in QInotifyFileSystemWatcherEngine::run (this=0x29e83b0) at io/qfilesystemwatcher_inotify.cpp:248 #5 0x00007f7b1d10ed05 in QThreadPrivate::start (arg=0x29e83b0) at thread/qthread_unix.cpp:331 #6 0x00007f7b18d10efc in start_thread (arg=0x7f7aba10b700) at pthread_create.c:304 #7 0x00007f7b1b949f8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #8 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f7ab990a700 (LWP 3680)): #0 0x00007f7b18d141fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52 #1 __pthread_mutex_unlock (mutex=0x31a51b8) at pthread_mutex_unlock.c:290 #2 0x00007f7b172fa687 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f7b172fbd81 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f7b172fc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f7b1d220f3e in QEventDispatcherGlib::processEvents (this=0x3a9e110, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424 #6 0x00007f7b1d1f4cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #7 0x00007f7b1d1f4ef7 in QEventLoop::exec (this=0x7f7ab9909dd0, flags=...) at kernel/qeventloop.cpp:201 #8 0x00007f7b1d10c27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498 #9 0x00007f7b1d1d7cbf in QInotifyFileSystemWatcherEngine::run (this=0x3aa3ad0) at io/qfilesystemwatcher_inotify.cpp:248 #10 0x00007f7b1d10ed05 in QThreadPrivate::start (arg=0x3aa3ad0) at thread/qthread_unix.cpp:331 #11 0x00007f7b18d10efc in start_thread (arg=0x7f7ab990a700) at pthread_create.c:304 #12 0x00007f7b1b949f8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #13 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f7afbe20700 (LWP 3748)): #0 __libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:66 #1 0x00007f7b1b93de48 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:85 #2 0x00007f7b1f4d258a in net::Poll::poll (this=0x7f7afbe1fcd0, timeout=<optimized out>) at ../../src/net/poll.cpp:99 #3 0x00007f7b1f534c8b in dht::RPCServer::Private::run (this=0x15be380) at ../../src/dht/rpcserver.cpp:95 #4 0x00007f7b1d10ed05 in QThreadPrivate::start (arg=0x15be380) at thread/qthread_unix.cpp:331 #5 0x00007f7b18d10efc in start_thread (arg=0x7f7afbe20700) at pthread_create.c:304 #6 0x00007f7b1b949f8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f7b1f9d6780 (LWP 3620)): [KCrash Handler] #6 bt::PieceData::write (this=0x0, buf=0x7f7ab4053768 "", buf_size=2896, off=0) at ../../src/diskio/piecedata.cpp:61 #7 0x00007f7b1f4f27a7 in bt::WebSeed::handleData (this=0x1e413d0, tmp=...) at ../../src/download/webseed.cpp:426 #8 0x00007f7b1f4f2a02 in bt::WebSeed::readData (this=0x1e413d0) at ../../src/download/webseed.cpp:397 #9 0x00007f7b1f4f3f75 in bt::WebSeed::update (this=0x1e413d0) at ../../src/download/webseed.cpp:353 #10 0x00007f7b1f4fd3e7 in bt::Downloader::update (this=0x1df6f30) at ../../src/download/downloader.cpp:204 #11 0x00007f7b1f5193a9 in bt::TorrentControl::update (this=0x1b22f30) at ../../src/torrent/torrentcontrol.cpp:175 #12 0x000000000042b9bd in kt::Core::update (this=0x15fa610) at ../../ktorrent/core.cpp:1052 #13 0x000000000043304d in kt::Core::qt_metacall (this=0x15fa610, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff2104e040) at ./core.moc:164 #14 0x00007f7b1d208eba in QMetaObject::activate (sender=0x15fa638, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278 #15 0x00007f7b1d20c789 in QObject::event (this=0x15fa638, e=<optimized out>) at kernel/qobject.cpp:1181 #16 0x00007f7b1c5a5474 in notify_helper (e=0x7fff2104e580, receiver=0x15fa638, this=0x14b98d0) at kernel/qapplication.cpp:4486 #17 QApplicationPrivate::notify_helper (this=0x14b98d0, receiver=0x15fa638, e=0x7fff2104e580) at kernel/qapplication.cpp:4458 #18 0x00007f7b1c5aa2e1 in QApplication::notify (this=0x7fff2104e880, receiver=0x15fa638, e=0x7fff2104e580) at kernel/qapplication.cpp:4365 #19 0x0000000000439921 in kt::App::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at ../../ktorrent/app.cpp:99 #20 0x00007f7b1d1f5afc in QCoreApplication::notifyInternal (this=0x7fff2104e880, receiver=0x15fa638, event=0x7fff2104e580) at kernel/qcoreapplication.cpp:787 #21 0x00007f7b1d222d62 in sendEvent (event=0x7fff2104e580, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #22 QTimerInfoList::activateTimers (this=0x14bf3c0) at kernel/qeventdispatcher_unix.cpp:603 #23 0x00007f7b1d220538 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:184 #24 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:231 #25 0x00007f7b172fba5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #26 0x00007f7b172fc258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #27 0x00007f7b172fc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #28 0x00007f7b1d220ed6 in QEventDispatcherGlib::processEvents (this=0x1442fa0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422 #29 0x00007f7b1c64d10e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #30 0x00007f7b1d1f4cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #31 0x00007f7b1d1f4ef7 in QEventLoop::exec (this=0x7fff2104e810, flags=...) at kernel/qeventloop.cpp:201 #32 0x00007f7b1d1f9789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064 #33 0x0000000000428362 in main (argc=5, argv=0x7fff2104f6f8) at ../../ktorrent/main.cpp:177 Possible duplicates by query: bug 305533, bug 302249, bug 289585. Reported using DrKonqi
*** This bug has been marked as a duplicate of bug 281605 ***