Comment 5 for bug 1101810

Revision history for this message
Michael Hofmann (mh21) wrote :

Just for the record, I found sth (about 3MB/h with very high update rate), but don't know what to make of it.

Seems like the lost memory is allocated in invoke_get_all_properties_in_idle_cb, but I have no idea where it is supposed to get freed.

An example:
 538,656 bytes in 1,086 blocks are possibly lost in loss record 5,842 of 5,842
    at 0x4C29CD5: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
    by 0x4C29D2E: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
    by 0x643F5E7: slab_allocator_alloc_chunk (gslice.c:1381)
    by 0x6487CCB: g_slice_alloc (gslice.c:724)
    by 0x64A15C2: g_variant_new_from_children (gvariant-core.c:476)
    by 0x649EB50: g_variant_builder_end (gvariant.c:3580)
    by 0x64A0362: g_variant_valist_new (gvariant.c:4548)
    by 0x64A06C6: g_variant_new_va (gvariant.c:4702)
    by 0x64A0BCF: g_variant_builder_add (gvariant.c:4854)
    by 0x5D3513C: g_dbus_message_to_blob (gdbusmessage.c:2313)
    by 0x5D2A432: g_dbus_connection_send_message_unlocked (gdbusconnection.c:1650)
    by 0x5D2CFCF: g_dbus_connection_send_message (gdbusconnection.c:1764)
    by 0x5D2DBBE: invoke_get_all_properties_in_idle_cb (gdbusconnection.c:4426)
    by 0x646CAB4: g_main_context_dispatch (gmain.c:2715)
    by 0x646CDE7: g_main_context_iterate.isra.24 (gmain.c:3290)
    by 0x646CEA3: g_main_context_iteration (gmain.c:3351)
    by 0x5D0A74B: g_application_run (gapplication.c:1624)
    by 0x415A84: main_main (main.c:1692)
    by 0x695A76C: (below main) (libc-start.c:226)