vg-suppressions: suppress more GLib-related memleaks
g_get_charset, g_get_filename_charsets, g_strerror, g_get_home_dir all return a const char pointer. get_global_random is internally called by g_random_int, g_random_int_range, etc. On Arch Linux with glibc 2.26-11 and glib2 2.56.0+7+g66948ae23-1, "call_init" is not visible in the stack trace, so replace it by "...". It also has "possibly lost" entries due to GLib types initialization (gobject_init -> _g_enum_types_init). Finally "g_private_set" internally leaks after calling "g_private_get_impl". Change-Id: Ifb2be3188add7bdd060d1e7321c8126e5924a738 Reviewed-on: https://code.wireshark.org/review/27118 Reviewed-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
parent
ee3bc52192
commit
ecb04e4076
|
@ -35,8 +35,41 @@
|
|||
fun:*alloc
|
||||
...
|
||||
fun:g_get_charset
|
||||
fun:print_stream_text_alloc
|
||||
}
|
||||
|
||||
{
|
||||
Glib Leak (g_get_filename_charsets)
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: reachable
|
||||
fun:*alloc
|
||||
...
|
||||
fun:g_get_filename_charsets
|
||||
}
|
||||
|
||||
{
|
||||
Glib Leak (g_strerror)
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: reachable
|
||||
fun:*alloc
|
||||
...
|
||||
fun:g_strerror
|
||||
}
|
||||
|
||||
{
|
||||
Glib leak (g_get_home_dir)
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: reachable
|
||||
...
|
||||
fun:g_get_home_dir
|
||||
}
|
||||
|
||||
{
|
||||
Glib leak (get_global_random) - requires glib debug symbols
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: reachable
|
||||
...
|
||||
fun:get_global_random
|
||||
fun:g_random_*
|
||||
}
|
||||
|
||||
{
|
||||
|
@ -45,7 +78,6 @@
|
|||
match-leak-kinds: reachable
|
||||
...
|
||||
fun:g_get_user_config_dir
|
||||
...
|
||||
}
|
||||
|
||||
{
|
||||
|
@ -63,7 +95,7 @@
|
|||
match-leak-kinds: reachable
|
||||
fun:malloc
|
||||
...
|
||||
fun:g_private_get
|
||||
fun:g_private_get*
|
||||
}
|
||||
|
||||
{
|
||||
|
@ -77,12 +109,11 @@
|
|||
}
|
||||
|
||||
{
|
||||
Libc leak (dl_init)
|
||||
Libc and GLib leak (dl_init)
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: reachable
|
||||
fun:*alloc
|
||||
...
|
||||
fun:call_init.part.0
|
||||
fun:call_init
|
||||
...
|
||||
fun:_dl_init
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue