[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#879901: kded5 memory leak consumes over 600MB of RAM



Package: kded5
Version: 5.28.0-1
Severity: important

This is a normal KDE task netinstall of stretch on a Thinkpad X220
(clean install, not an upgrade).  I'm going to keep my laptop in
suspect until Monday, when I need to use it for work again.  Until
then I will only resume from S3 to help debug the dbus-daemon and kde5
memory leak bugs.  After Monday, I am afraid that the opportunity to
track this down again will be lost for a while.

I've attached relevant ps -aux and top output, and the gdb session.
The relevant -dbg.* packages have been installed to produce a
meaningful bt.  No package seems to provide pthread_cond_wait.S ...

  Using host libthread_db library
  "/lib/x86_64-linux-gnu/libthread_db.so.1".
  pthread_cond_wait@@GLIBC_2.3.2 ()
      at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  185     ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No
  such file or directory.
  #0  pthread_cond_wait@@GLIBC_2.3.2 ()
      at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185

Please let me know what else I can do to help track this down.

-- System Information:
Debian Release: 9.1
  APT prefers stable-debug
  APT policy: (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kded5 depends on:
ii  libc6              2.24-11+deb9u1
ii  libkf5configcore5  5.28.0-2
ii  libkf5coreaddons5  5.28.0-2
ii  libkf5crash5       5.28.0-1
ii  libkf5dbusaddons5  5.28.0-1
ii  libkf5service-bin  5.28.0-1
ii  libkf5service5     5.28.0-1
ii  libqt5core5a       5.7.1+dfsg-3+b1
ii  libqt5dbus5        5.7.1+dfsg-3+b1
ii  libqt5gui5         5.7.1+dfsg-3+b1
ii  libqt5widgets5     5.7.1+dfsg-3+b1
ii  libstdc++6         6.3.0-18

kded5 recommends no packages.

kded5 suggests no packages.

-- no debconf information

Sincerely,
Nicholas
sten      1024  0.4  8.3 1568224 672080 ?      Sl   Oct19  56:51 kded5 [kdeinit5]
 PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 958 sten      20   0 6964832 5.364g    720 S  31.1 69.8  30:49.31 dbus-daemon
1024 sten      20   0 1568224 676440  10160 S   0.0  8.4  56:51.09 kded5
...
   (and two minutes later)
1024 sten      20   0 1617724 751924   8108 S   0.0  9.3  58:10.11 
Quit
quit
Attaching to process 1024
[New LWP 1027]
[New LWP 1029]
[New LWP 1707]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185	../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such file or directory.
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd4b5de1c6b in QWaitConditionPrivate::wait (
    time=18446744073709551615, this=0x555e45f54690)
    at thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0x555e45f53540, 
    mutex=mutex@entry=0x555e45f53538, 
    time=time@entry=18446744073709551615)
    at thread/qwaitcondition_unix.cpp:215
#3  0x00007fd4ad2e754b in QDBusPendingCallPrivate::waitForFinished
    (this=0x555e45f53500) at qdbuspendingcall.cpp:240
#4  0x00007fd4ad2e8656 in QDBusPendingReplyData::argumentAt (
    this=0x7ffc83943690, index=0) at qdbuspendingreply.cpp:283
#5  0x00007fd49b28dd6c in Solid::PowerManagement::appShouldConserveResources() ()
   from /usr/lib/x86_64-linux-gnu/libKF5KDELibs4Support.so.5
#6  0x00007fd48b3e7e95 in ?? ()
   from /usr/lib/x86_64-linux-gnu/qt5/plugins/kded_apperd.so
#7  0x00007fd48b3e9710 in ?? ()
   from /usr/lib/x86_64-linux-gnu/qt5/plugins/kded_apperd.so
#8  0x00007fd4b5fdc5e9 in QMetaObject::activate (
    sender=0x555e44897a10, signalOffset=<optimized out>, 
    local_signal_index=<optimized out>, argv=<optimized out>)
    at kernel/qobject.cpp:3740
#9  0x00007fd48aabb655 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libpackagekitqt5.so.0
#10 0x00007fd4b5fdc5e9 in QMetaObject::activate (
    sender=0x555e449458e0, signalOffset=<optimized out>, 
    local_signal_index=<optimized out>, argv=<optimized out>)
    at kernel/qobject.cpp:3740
#11 0x00007fd48aacfac3 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libpackagekitqt5.so.0
#12 0x00007fd48aad1330 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libpackagekitqt5.so.0
#13 0x00007fd4ad29ba10 in QDBusConnectionPrivate::deliverCall (
    this=<optimized out>, object=<optimized out>, msg=..., 
    metaTypes=..., slotIdx=<optimized out>)
    at qdbusintegrator.cpp:995
#14 0x00007fd4b5fdd499 in QObject::event (this=0x555e449458e0, 
    e=<optimized out>) at kernel/qobject.cpp:1263
#15 0x00007fd4b4864b8c in QApplicationPrivate::notify_helper (
    this=<optimized out>, receiver=0x555e449458e0, 
    e=0x7fd45fd3c710) at kernel/qapplication.cpp:3799
#16 0x00007fd4b486c341 in QApplication::notify (
    this=0x7ffc83944380, receiver=0x555e449458e0, e=0x7fd45fd3c710)
    at kernel/qapplication.cpp:3556
#17 0x00007fd4b5fb09e0 in QCoreApplication::notifyInternal2 (
    receiver=0x555e449458e0, event=event@entry=0x7fd45fd3c710)
    at kernel/qcoreapplication.cpp:988
#18 0x00007fd4b5fb316d in QCoreApplication::sendEvent (
    event=0x7fd45fd3c710, receiver=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QCoreApplicationPrivate::sendPostedEvents (
    receiver=receiver@entry=0x0, event_type=event_type@entry=0, 
    data=0x555e442a69f0) at kernel/qcoreapplication.cpp:1649
#20 0x00007fd4b5fb35d8 in QCoreApplication::sendPostedEvents (
    receiver=receiver@entry=0x0, event_type=event_type@entry=0)
    at kernel/qcoreapplication.cpp:1503
#21 0x00007fd4b6004c43 in postEventSourceDispatch (
    s=0x555e44330740) at kernel/qeventdispatcher_glib.cpp:276
#22 0x00007fd4b25167f7 in g_main_dispatch (context=0x7fd49c0016f0)
    at ././glib/gmain.c:3203
#23 g_main_context_dispatch (context=context@entry=0x7fd49c0016f0)
    at ././glib/gmain.c:3856
#24 0x00007fd4b2516a60 in g_main_context_iterate (
    context=context@entry=0x7fd49c0016f0, block=block@entry=1, 
    dispatch=dispatch@entry=1, self=<optimized out>)
    at ././glib/gmain.c:3929
#25 0x00007fd4b2516b0c in g_main_context_iteration (
    context=0x7fd49c0016f0, may_block=may_block@entry=1)
    at ././glib/gmain.c:3990
#26 0x00007fd4b600504f in QEventDispatcherGlib::processEvents (
    this=0x555e4434cc80, flags=...)
    at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007fd4b5fae9ca in QEventLoop::exec (
    this=this@entry=0x7ffc83944250, flags=..., flags@entry=...)
    at kernel/qeventloop.cpp:212
#28 0x00007fd4b5fb713c in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:1261
#29 0x00007fd4b62f02dc in QGuiApplication::exec ()
    at kernel/qguiapplication.cpp:1633
#30 0x00007fd4b4864ae5 in QApplication::exec ()
    at kernel/qapplication.cpp:2975
#31 0x00007fd4a56b6760 in kdemain (argc=<optimized out>, 
    argv=<optimized out>) at ./src/kded.cpp:792
#32 0x0000555e42fd373b in ?? ()
#33 0x0000555e42fd0880 in ?? ()
#34 0x00007fd4b59b32b1 in __libc_start_main (main=0x555e42fcf710, 
    argc=5, argv=0x7ffc839448a8, init=<optimized out>, 
    fini=<optimized out>, rtld_fini=<optimized out>, 
    stack_end=0x7ffc83944898) at ../csu/libc-start.c:291
#35 0x0000555e42fd0d2a in _start ()
Detaching from program: /usr/bin/kdeinit5, process 1024
quit

Reply to: