Public bug reported:
Binary package hint: procps
Applications in the procps package that involve a username (w, ps u,
etc) have a memory leak. I think it occurs during the user_from_uid()
function. Here's a valgrind summary on w.
$ valgrind --leak-check=full w
...
==24028== ERROR SUMMARY: 192 errors from 53 contexts (suppressed: 21 from 1)
==24028== malloc/free: in use at exit: 89,824 bytes in 285 blocks.
==24028== malloc/free: 2,033 allocs, 1,748 frees, 220,678 bytes allocated.
==24028== For counts of detected errors, rerun with: -v
==24028== searching for pointers to 285 not-freed blocks.
==24028== checked 228,528 bytes.
==24028==
==24028==
==24028== 156 (36 direct, 120 indirect) bytes in 1 blocks are definitely lost
in loss record 1 of 6
==24028== at 0x4022765: malloc (vg_replace_malloc.c:149)
==24028== by 0x41419B2: (within /lib/tls/i686/cmov/libc-2.6.1.so)
==24028== by 0x4142208: __nss_database_lookup (in
/lib/tls/i686/cmov/libc-2.6.1.so)
==24028== by 0x43DFFDB: ???
==24028== by 0x43E111C: ???
==24028== by 0x40EEEEB: getpwuid_r (in /lib/tls/i686/cmov/libc-2.6.1.so)
==24028== by 0x40EE89D: getpwuid (in /lib/tls/i686/cmov/libc-2.6.1.so)
==24028== by 0x4041B60: user_from_uid (in /lib/libproc-3.2.7.so)
==24028==
==24028== LEAK SUMMARY:
==24028== definitely lost: 36 bytes in 1 blocks.
==24028== indirectly lost: 120 bytes in 10 blocks.
==24028== possibly lost: 0 bytes in 0 blocks.
==24028== still reachable: 89,668 bytes in 274 blocks.
==24028== suppressed: 0 bytes in 0 blocks.
==24028== Reachable blocks (those to which a pointer was found) are not shown.
==24028== To see them, rerun with: --leak-check=full --show-reachable=yes
If there's anything I can do to help please let me know.
Version: 1:3.2.7-3ubuntu5
Cheers,
Brian
** Affects: procps (Ubuntu)
Importance: Undecided
Status: New
--
procps apps that involve a username have a memory leak
https://bugs.launchpad.net/bugs/175605
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs