Bug 270547

Summary: Ktorrent crashed when downloading
Product: [Applications] ktorrent Reporter: Adrian Cozma <adrian.ioan.cozma>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Adrian Cozma 2011-04-10 02:52:08 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.6.2 (4.6.2)
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 downloading, while it was minimized in the System Tray

The crash can be reproduced some of the time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7f82ec398760 (LWP 11330))]

Thread 8 (Thread 0x7f82d67a3700 (LWP 11332)):
[KCrash Handler]
#6  QCoreApplication::notifyInternal (this=0x7fff230884a0, receiver=0x6e62280, event=0x7f82d67a2b40) at kernel/qcoreapplication.cpp:720
#7  0x00007f82e990e6f2 in sendEvent (this=0x25d5c90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#8  QTimerInfoList::activateTimers (this=0x25d5c90) at kernel/qeventdispatcher_unix.cpp:602
#9  0x00007f82e990b4c8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#10 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#11 0x00007f82e3601342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#12 0x00007f82e36052a8 in ?? () from /lib/libglib-2.0.so.0
#13 0x00007f82e360545c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#14 0x00007f82e990b193 in QEventDispatcherGlib::processEvents (this=0x25dc510, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#15 0x00007f82e98dda02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#16 0x00007f82e98dddec in QEventLoop::exec (this=0x7f82d67a2db0, flags=) at kernel/qeventloop.cpp:201
#17 0x00007f82e97e82fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#18 0x00007f82ebf5915e in utp::UTPServerThread::run (this=0x25e2f20) at ../../src/utp/utpserverthread.cpp:44
#19 0x00007f82e97eb27e in QThreadPrivate::start (arg=0x25e2f20) at thread/qthread_unix.cpp:266
#20 0x00007f82e9560971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#21 0x00007f82e7e3592d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#22 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f82d5fa2700 (LWP 11333)):
#0  0x00007f82e7e2e2c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f82ebf20212 in dht::RPCServerThread::run (this=0x2592a60) at ../../src/dht/rpcserver.cpp:107
#2  0x00007f82e97eb27e in QThreadPrivate::start (arg=0x2592a60) at thread/qthread_unix.cpp:266
#3  0x00007f82e9560971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f82e7e3592d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f82d6fa4700 (LWP 11346)):
#0  0x00007fff231c8904 in clock_gettime ()
#1  0x00007f82e38a70bf in clock_gettime (clock_id=1, tp=0x7f82d6fa3ae0) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f82e984094f in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#4  0x00007f82e990d1fd in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f82e990d225 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007f82e990b3dd in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f82d6fa3c1c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f82e990b485 in timerSourcePrepare (source=0x1, timeout=0x7f82d6fa3ae0) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f82e3604a11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007f82e3604e78 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007f82e360545c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007f82e990b1e6 in QEventDispatcherGlib::processEvents (this=0x44e4df0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#12 0x00007f82e98dda02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#13 0x00007f82e98dddec in QEventLoop::exec (this=0x7f82d6fa3db0, flags=) at kernel/qeventloop.cpp:201
#14 0x00007f82e97e82fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#15 0x00007f82e98bd5f8 in QInotifyFileSystemWatcherEngine::run (this=0x259ecb0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f82e97eb27e in QThreadPrivate::start (arg=0x259ecb0) at thread/qthread_unix.cpp:266
#17 0x00007f82e9560971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#18 0x00007f82e7e3592d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f82bd39d700 (LWP 11364)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f82e97ea845 in thread_sleep (ti=0x7f82bd39cda0) at thread/qthread_unix.cpp:416
#2  0x00007f82e97ea9b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007f82ebebd9dd in net::DownloadThread::update (this=0x2418890) at ../../src/net/downloadthread.cpp:91
#4  0x00007f82ebebe2c9 in net::NetworkThread::run (this=0x2418890) at ../../src/net/networkthread.cpp:48
#5  0x00007f82e97eb27e in QThreadPrivate::start (arg=0x2418890) at thread/qthread_unix.cpp:266
#6  0x00007f82e9560971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f82e7e3592d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f82bcb9c700 (LWP 11365)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f82e97ea845 in thread_sleep (ti=0x7f82bcb9bda0) at thread/qthread_unix.cpp:416
#2  0x00007f82e97ea9b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007f82ebebd07d in net::UploadThread::update (this=0x2418dc0) at ../../src/net/uploadthread.cpp:89
#4  0x00007f82ebebe2c9 in net::NetworkThread::run (this=0x2418dc0) at ../../src/net/networkthread.cpp:48
#5  0x00007f82e97eb27e in QThreadPrivate::start (arg=0x2418dc0) at thread/qthread_unix.cpp:266
#6  0x00007f82e9560971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f82e7e3592d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f82b7fff700 (LWP 11366)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f82e97ebe3b in wait (this=<value optimized out>, mutex=0x7f82b80cc140, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7f82b80cc140, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f82ebec12e2 in net::ReverseResolverThread::run (this=0x7f82b80cc130) at ../../src/net/reverseresolver.cpp:123
#4  0x00007f82e97eb27e in QThreadPrivate::start (arg=0x7f82b80cc130) at thread/qthread_unix.cpp:266
#5  0x00007f82e9560971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f82e7e3592d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f82bf705700 (LWP 11380)):
#0  0x00007fff231c8904 in clock_gettime ()
#1  0x00007f82e38a70bf in clock_gettime (clock_id=1, tp=0x7f82bf704ae0) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f82e984094f in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#4  0x00007f82e990d1fd in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f82e990d225 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007f82e990b3dd in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f82bf704c1c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f82e990b485 in timerSourcePrepare (source=0x1, timeout=0x7f82bf704ae0) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f82e3604a11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007f82e3604e78 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007f82e360545c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007f82e990b1e6 in QEventDispatcherGlib::processEvents (this=0x4be4f40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#12 0x00007f82e98dda02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#13 0x00007f82e98dddec in QEventLoop::exec (this=0x7f82bf704db0, flags=) at kernel/qeventloop.cpp:201
#14 0x00007f82e97e82fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#15 0x00007f82e98bd5f8 in QInotifyFileSystemWatcherEngine::run (this=0x4ed9da0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f82e97eb27e in QThreadPrivate::start (arg=0x4ed9da0) at thread/qthread_unix.cpp:266
#17 0x00007f82e9560971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#18 0x00007f82e7e3592d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f82ec398760 (LWP 11330)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f82e97ebe3b in wait (this=<value optimized out>, mutex=0x6fc79d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x6fc79d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f82e97eaedc in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:652
#4  0x00007f82e98afee0 in QFileSystemWatcher::~QFileSystemWatcher (this=0x56ffda0, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:440
#5  0x00007f82e98f0d5f in QObjectPrivate::deleteChildren (this=0x48ff1b0) at kernel/qobject.cpp:1957
#6  0x00007f82e98f841b in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#7  0x00007f82eb9958f6 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x4c03830, __in_chrg=<value optimized out>) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:51
#8  0x00007f82e7d884f2 in __run_exit_handlers (status=1) at exit.c:78
#9  exit (status=1) at exit.c:100
#10 0x00007f82e8aa0678 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:745
#11 0x00007f82eafc9b88 in KApplication::xioErrhandler (this=0x7fff230884a0, dpy=0x2495490) at ../../kdeui/kernel/kapplication.cpp:419
#12 0x00007f82e569b86e in _XIOError () from /usr/lib/libX11.so.6
#13 0x00007f82e56a3415 in ?? () from /usr/lib/libX11.so.6
#14 0x00007f82e56a3d07 in _XEventsQueued () from /usr/lib/libX11.so.6
#15 0x00007f82e568c47f in XEventsQueued () from /usr/lib/libX11.so.6
#16 0x00007f82e8adbc77 in x11EventSourcePrepare (s=0x246e670, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:79
#17 0x00007f82e3604a11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#18 0x00007f82e3604e78 in ?? () from /lib/libglib-2.0.so.0
#19 0x00007f82e360545c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#20 0x00007f82e990b193 in QEventDispatcherGlib::processEvents (this=0x2415720, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#21 0x00007f82e8adba4e in QGuiEventDispatcherGlib::processEvents (this=0x473fe7c, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007f82e98dda02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#23 0x00007f82e98dddec in QEventLoop::exec (this=0x7fff23088410, flags=) at kernel/qeventloop.cpp:201
#24 0x00007f82e98e1ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#25 0x0000000000426a8b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:176

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

Possible duplicates by query: bug 270533, bug 270513, bug 270269, bug 270239, bug 270127.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-04-10 10:40:33 UTC

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