[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [plasma] [Bug 342374] New: Memory Leak in plasma-desktop grows into gigabytes
From:       Shawn Cook <shawn () strongerforyou ! com>
Date:       2014-12-31 15:15:18
Message-ID: bug-342374-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=342374

            Bug ID: 342374
           Summary: Memory Leak in plasma-desktop grows into gigabytes
           Product: plasma
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: desktop
          Assignee: plasma-bugs@kde.org
          Reporter: shawn@strongerforyou.com
                CC: dvratil@redhat.com, pcchou@pcchou.me

+++ This bug was initially created as a clone of Bug #342044 +++

Application: kded4 (4.14.3)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.17.6-200.fc20.x86_64 x86_64
Distribution: "Fedora release 20 (Heisenbug)"

-- Information about the crash:
- What I was doing when the application crashed:
Nothing out of the ordinary.  It's happened while just web browsing, while just
emailing, while just using an ssh in konsole
- Unusual behavior I noticed:
The mouse and keyboard (usb logitech) become unresponsive, then the entire
system becomes unresponsive.  Unplugging the devices from USB free the load and
restore control.  This only started after the most recent kde update via yum
(fedora)

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Daemon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f8776e348c0 (LWP 1985))]

Thread 5 (Thread 0x7f876aeaa700 (LWP 1989)):
#0  0x0000003d34c8a2ea in g_mutex_get_impl (mutex=0x7f87640009a0) at
gthread-posix.c:124
#1  0x0000003d34c8a5c9 in g_mutex_unlock (mutex=mutex@entry=0x7f87640009a0) at
gthread-posix.c:232
#2  0x0000003d34c48690 in g_main_context_acquire (context=0x7f87640009a0) at
gmain.c:3141
#3  0x0000003d34c49465 in g_main_context_iterate
(context=context@entry=0x7f87640009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3663
#4  0x0000003d34c496dc in g_main_context_iteration (context=0x7f87640009a0,
may_block=1) at gmain.c:3774
#5  0x0000003aa2fb541e in QEventDispatcherGlib::processEvents
(this=0x7f87640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x0000003aa2f8536f in QEventLoop::processEvents
(this=this@entry=0x7f876aea9d10, flags=...) at kernel/qeventloop.cpp:149
#7  0x0000003aa2f856bd in QEventLoop::exec (this=this@entry=0x7f876aea9d10,
flags=...) at kernel/qeventloop.cpp:204
#8  0x0000003aa2e79e5f in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:538
#9  0x0000003aa2e7c69f in QThreadPrivate::start (arg=0x2207860) at
thread/qthread_unix.cpp:349
#10 0x0000003d32c07ee5 in start_thread (arg=0x7f876aeaa700) at
pthread_create.c:309
#11 0x0000003d320f4b8d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f875f1ad700 (LWP 1996)):
#0  g_mutex_get_impl (mutex=0x7f87580009a0) at gthread-posix.c:123
#1  0x0000003d34c8a599 in g_mutex_lock (mutex=mutex@entry=0x7f87580009a0) at
gthread-posix.c:213
#2  0x0000003d34c4959a in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7f87580029b0, timeout=-1, context=0x7f87580009a0) at gmain.c:4002
#3  g_main_context_iterate (context=context@entry=0x7f87580009a0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
gmain.c:3708
#4  0x0000003d34c496dc in g_main_context_iteration (context=0x7f87580009a0,
may_block=1) at gmain.c:3774
#5  0x0000003aa2fb541e in QEventDispatcherGlib::processEvents
(this=0x7f87580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x0000003aa2f8536f in QEventLoop::processEvents
(this=this@entry=0x7f875f1accc0, flags=...) at kernel/qeventloop.cpp:149
#7  0x0000003aa2f856bd in QEventLoop::exec (this=this@entry=0x7f875f1accc0,
flags=...) at kernel/qeventloop.cpp:204
#8  0x0000003aa2e79e5f in QThread::exec (this=this@entry=0x2379120) at
thread/qthread.cpp:538
#9  0x0000003aa2f65dc3 in QInotifyFileSystemWatcherEngine::run (this=0x2379120)
at io/qfilesystemwatcher_inotify.cpp:265
#10 0x0000003aa2e7c69f in QThreadPrivate::start (arg=0x2379120) at
thread/qthread_unix.cpp:349
#11 0x0000003d32c07ee5 in start_thread (arg=0x7f875f1ad700) at
pthread_create.c:309
#12 0x0000003d320f4b8d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f874cdd6700 (LWP 2097)):
#0  0x0000003d32c0e7fd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003d34c897b0 in read (__nbytes=16, __buf=0x7f874cdd5ac0,
__fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f8728001c00) at gwakeup.c:212
#3  0x0000003d34c4909c in g_main_context_check
(context=context@entry=0x7f87280009a0, max_priority=2147483647,
fds=fds@entry=0x7f8728004260, n_fds=n_fds@entry=1) at gmain.c:3514
#4  0x0000003d34c49533 in g_main_context_iterate
(context=context@entry=0x7f87280009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3710
#5  0x0000003d34c496dc in g_main_context_iteration (context=0x7f87280009a0,
may_block=1) at gmain.c:3774
#6  0x0000003aa2fb541e in QEventDispatcherGlib::processEvents
(this=0x7f87280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#7  0x0000003aa2f8536f in QEventLoop::processEvents
(this=this@entry=0x7f874cdd5cd0, flags=...) at kernel/qeventloop.cpp:149
#8  0x0000003aa2f856bd in QEventLoop::exec (this=this@entry=0x7f874cdd5cd0,
flags=...) at kernel/qeventloop.cpp:204
#9  0x0000003aa2e79e5f in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:538
#10 0x00007f875ff60b17 in KCupsConnection::run() () from /lib64/libkcupslib.so
#11 0x0000003aa2e7c69f in QThreadPrivate::start (arg=0x22b24a0) at
thread/qthread_unix.cpp:349
#12 0x0000003d32c07ee5 in start_thread (arg=0x7f874cdd6700) at
pthread_create.c:309
#13 0x0000003d320f4b8d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f872ffff700 (LWP 2098)):
#0  0x0000003d34c8a2ea in g_mutex_get_impl (mutex=0x7f87200009a0) at
gthread-posix.c:124
#1  0x0000003d34c8a599 in g_mutex_lock (mutex=mutex@entry=0x7f87200009a0) at
gthread-posix.c:213
#2  0x0000003d34c48bf9 in g_main_context_prepare
(context=context@entry=0x7f87200009a0, priority=priority@entry=0x7f872fffebd0)
at gmain.c:3342
#3  0x0000003d34c494bb in g_main_context_iterate
(context=context@entry=0x7f87200009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3693
#4  0x0000003d34c496dc in g_main_context_iteration (context=0x7f87200009a0,
may_block=1) at gmain.c:3774
#5  0x0000003aa2fb541e in QEventDispatcherGlib::processEvents
(this=0x7f87200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x0000003aa2f8536f in QEventLoop::processEvents
(this=this@entry=0x7f872fffed10, flags=...) at kernel/qeventloop.cpp:149
#7  0x0000003aa2f856bd in QEventLoop::exec (this=this@entry=0x7f872fffed10,
flags=...) at kernel/qeventloop.cpp:204
#8  0x0000003aa2e79e5f in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:538
#9  0x0000003aa2e7c69f in QThreadPrivate::start (arg=0x255ede0) at
thread/qthread_unix.cpp:349
#10 0x0000003d32c07ee5 in start_thread (arg=0x7f872ffff700) at
pthread_create.c:309
#11 0x0000003d320f4b8d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f8776e348c0 (LWP 1985)):
[KCrash Handler]
#6  0x00007f87605b0eb2 in XRandRConfig::toKScreenConfig() const () from
/usr/lib64/kde4/plugins/kscreen/KSC_XRandR.so
#7  0x00007f87609df4fc in Serializer::currentId() () from
/usr/lib64/kde4/kded_kscreen.so
#8  0x00007f87609dfa62 in Serializer::configExists() () from
/usr/lib64/kde4/kded_kscreen.so
#9  0x00007f87609de7f2 in KScreenDaemon::applyConfig() () from
/usr/lib64/kde4/kded_kscreen.so
#10 0x0000003aa2f9b35a in QMetaObject::activate (sender=0x22a92c0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3567
#11 0x00007f87605ba608 in XRandROutput::updateKScreenOutput(KScreen::Output*)
const () from /usr/lib64/kde4/plugins/kscreen/KSC_XRandR.so
#12 0x00007f87605b119b in XRandRConfig::updateKScreenConfig(KScreen::Config*)
const () from /usr/lib64/kde4/plugins/kscreen/KSC_XRandR.so
#13 0x00007f87607cbce9 in KScreen::ConfigMonitor::Private::updateConfigs() ()
from /lib64/libkscreen.so.1
#14 0x00007f87607cbd3d in KScreen::ConfigMonitor::notifyUpdate() () from
/lib64/libkscreen.so.1
#15 0x00007f87605ae282 in XRandR::updateOutput(unsigned long) () from
/usr/lib64/kde4/plugins/kscreen/KSC_XRandR.so
#16 0x0000003aa2f9b35a in QMetaObject::activate (sender=0x2298b00, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff63b75c00) at
kernel/qobject.cpp:3567
#17 0x00007f87605afbb4 in XRandRX11Helper::x11Event(_XEvent*) () from
/usr/lib64/kde4/plugins/kscreen/KSC_XRandR.so
#18 0x00007f87796c536c in publicX11Event (e=0x7fff63b75d10, this=<optimized
out>) at /usr/src/debug/kdelibs-4.14.3/kdeui/kernel/ksystemeventfilter.cpp:43
#19 KSystemEventFilterPrivate::filterEvent (this=0x2263240,
message=0x7fff63b75d10) at
/usr/src/debug/kdelibs-4.14.3/kdeui/kernel/ksystemeventfilter.cpp:102
#20 0x0000003aa2f77f2e in QAbstractEventDispatcher::filterEvent
(this=0x3d323b7760 <main_arena>, message=0x3d323b7760 <main_arena>,
message@entry=0x7fff63b75d10) at kernel/qabstracteventdispatcher.cpp:542
#21 0x00007f87789ddaae in x11EventSourceDispatch (s=s@entry=0x1fdae20,
callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:145
#22 0x0000003d34c492a6 in g_main_dispatch (context=0x1fdad60) at gmain.c:3066
#23 g_main_context_dispatch (context=context@entry=0x1fdad60) at gmain.c:3642
#24 0x0000003d34c49628 in g_main_context_iterate
(context=context@entry=0x1fdad60, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#25 0x0000003d34c496dc in g_main_context_iteration (context=0x1fdad60,
may_block=1) at gmain.c:3774
#26 0x0000003aa2fb541e in QEventDispatcherGlib::processEvents (this=0x1fa9ea0,
flags=...) at kernel/qeventdispatcher_glib.cpp:452
#27 0x00007f87789ddc46 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#28 0x0000003aa2f8536f in QEventLoop::processEvents
(this=this@entry=0x7fff63b76100, flags=...) at kernel/qeventloop.cpp:149
#29 0x0000003aa2f856bd in QEventLoop::exec (this=this@entry=0x7fff63b76100,
flags=...) at kernel/qeventloop.cpp:204
#30 0x0000003aa2f8ad89 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#31 0x00007f877893a4ec in QApplication::exec () at kernel/qapplication.cpp:3823
#32 0x00007f8779fb12ce in kdemain (argc=1, argv=0x7fff63b76388) at
/usr/src/debug/kdelibs-4.14.3/kded/kded.cpp:940
#33 0x0000003d32021d65 in __libc_start_main (main=0x4007e0 <main(int, char**)>,
argc=1, argv=0x7fff63b76388, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff63b76378) at libc-start.c:285
#34 0x0000000000400811 in _start ()

Possible duplicates by query: bug 336718, bug 335646, bug 334947.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic