Skip to content

check: Fix valgrind suppression for debug function list

Håvard Graff requested to merge hgr/gstreamer:check-valgrind-supp into main

Fix suppresion to support release and debug builds.

Here is debug build call stack:

==10707==    by 0x48B5520: g_malloc (gmem.c:106)
==10707==    by 0x48D19DC: g_slice_alloc (gslice.c:1069)
==10707==    by 0x48D3947: g_slist_copy_deep (gslist.c:619)
==10707==    by 0x48D38B8: g_slist_copy (gslist.c:567)
==10707==    by 0x4ADC90B: gst_debug_remove_with_compare_func (gstinfo.c:1504)

In release build g_slist_copy (gslist.c:567) got inlined:

==15419==    by 0x48963E0: g_malloc (gmem.c:106)
==15419==    by 0x48AA382: g_slice_alloc (gslice.c:1069)
==15419==    by 0x48AB732: g_slist_copy_deep (gslist.c:619)
==15419==    by 0x4A39B8F: gst_debug_remove_with_compare_func (gstinfo.c:1504)
Edited by Tim-Philipp Müller

Merge request reports