memleaks report
Amaury Jacquot
sxpert at esitcom.org
Fri May 14 03:45:33 PDT 2004
Runnning a pretty simple program (see attachment) for about 20 seconds,
I get the following...
==17369== ERROR SUMMARY: 22 errors from 6 contexts (suppressed: 0 from 0)
==17369== malloc/free: in use at exit: 50098 bytes in 88 blocks.
==17369== malloc/free: 2619 allocs, 2531 frees, 541198 bytes allocated.
==17369== For counts of detected errors, rerun with: -v
==17369== searching for pointers to 88 not-freed blocks.
==17369== checked 2473148 bytes.
==17369==
==17369==
==17369== 184 bytes in 6 blocks are possibly lost in loss record 4 of 12
==17369== at 0x3C01C40D: malloc (in
/usr/lib/valgrind/vgpreload_memcheck.so)
==17369== by 0x3C069554: dbus_malloc (dbus-memory.c:462)
==17369== by 0x3C06B099: _dbus_string_init_preallocated
(dbus-string.c:202)
==17369== by 0x3C06B1E4: _dbus_string_init (dbus-string.c:231)
==17369==
==17369==
==17369== 336 bytes in 2 blocks are definitely lost in loss record 6 of 12
==17369== at 0x3C01CC03: calloc (in
/usr/lib/valgrind/vgpreload_memcheck.so)
==17369== by 0x3C06958D: dbus_malloc0 (dbus-memory.c:512)
==17369== by 0x3C05648F: dbus_message_new_empty_header
(dbus-message.c:1158)
==17369== by 0x3C056FB4: load_one_message (dbus-message.c:5299)
==17369==
==17369==
==17369== 4171 bytes in 4 blocks are possibly lost in loss record 10 of 12
==17369== at 0x3C01CD01: realloc (in
/usr/lib/valgrind/vgpreload_memcheck.so)
==17369== by 0x3C0695C9: dbus_realloc (dbus-memory.c:589)
==17369== by 0x3C06D1D6: _dbus_string_lengthen (dbus-string.c:395)
==17369== by 0x3C06DC3B: _dbus_string_append (dbus-string.c:901)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sound-client.c
Type: text/x-csrc
Size: 2539 bytes
Desc: not available
Url : http://freedesktop.org/pipermail/dbus/attachments/20040514/90a29573/sound-client.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sound-dbus.h
Type: text/x-chdr
Size: 520 bytes
Desc: not available
Url : http://freedesktop.org/pipermail/dbus/attachments/20040514/90a29573/sound-dbus.h
More information about the dbus
mailing list