The culprit is keybinder. I'm fairly convinced it's unmaintained, but I
could maybe fix it myself.

I would need you to find out how to install a debug version of it and
re-run valgrind on any xfce4-volumed (-pulse or vanilla). Then I can see
which function it is that causes these huge leaks. For instance on the
trace below, there are three functions leading to XkbGetMap and malloc,
but in my key event handler I don't have any freeable objects so it must
be one of those three functions (marked ??? because you have the normal
library rather than the debug library) that forgets to free something...
and somehow only on certain platforms:

==26234== 164,683,872 bytes in 2,287,276 blocks are definitely lost in loss 
record 3,817 of 3,817
==26234==    at 0x4C29590: calloc (vg_replace_malloc.c:618)
==26234==    by 0xA6499C0: XkbGetMap (in 
/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==26234==    by 0x6B0172E: ??? (in /usr/lib/libkeybinder.so.0.1.0)
==26234==    by 0x6B017FD: ??? (in /usr/lib/libkeybinder.so.0.1.0)
==26234==    by 0x6B0190F: ??? (in /usr/lib/libkeybinder.so.0.1.0)
==26234==    by 0x57CA5E6: _g_closure_invoke_va (in 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4000.0)
==26234==    by 0x57E3087: g_signal_emit_valist (in 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4000.0)
==26234==    by 0x57E4211: g_signal_emit_by_name (in 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4000.0)
==26234==    by 0x7397C9F: ??? (in 
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.23)
==26234==    by 0x7398125: ??? (in 
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.23)
==26234==    by 0x73981CD: ??? (in 
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.23)
==26234==    by 0x4E7AE03: g_main_context_dispatch (in 
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4000.0)

Let me know if you need instructions, and I'll look it up (am not on
Ubuntu though).

** Also affects: keybinder (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/607474

Title:
  xfce4-volumed using too much RAM

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-volumed/+bug/607474/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to