From 59b2c854e7818b14b909d0908841514a3e4fc39c Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Thu, 29 Sep 2016 14:49:48 -0400 Subject: [PATCH] Add a valgrind suppression file I generated this file while hunting memory leaks and errors in core/ Signed-off-by: Anna Schumaker --- CHANGELOG | 1 + ocarina.supp | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 ocarina.supp diff --git a/CHANGELOG b/CHANGELOG index 2e5e8a6c..698d48a6 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -6,6 +6,7 @@ - Remove "Add New ..." menubutton and replace with Add Library Path button - Various UI tweaks - Fix showing the first playlist in the list +- Fix memory leaks in core/ 6.5.0-rc: - Convert to CMake/CTest diff --git a/ocarina.supp b/ocarina.supp new file mode 100644 index 00000000..caa5007f --- /dev/null +++ b/ocarina.supp @@ -0,0 +1,73 @@ +{ + Suppress GObject Init + Memcheck:Leak + match-leak-kinds: definite,possible + ... + fun:call_init.part.0 + fun:_dl_init + obj:/usr/lib/ld-2.24.so +} +{ + Suppress GObject Type Registration + Memcheck:Leak + match-leak-kinds: possible + ... + fun:g_type_register_static + fun:g_*_register_static* + ... +} +{ + Suppress GStreamer Init + Memcheck:Leak + match-leak-kinds: possible + ... + obj:/usr/lib/libgstreamer-* + fun:g_option_context_parse + fun:gst_init_check + fun:gst_init + fun:audio_init +} +{ + Suppress GStreamer Plugins + Memcheck:Leak + match-leak-kinds: definite + ... + fun:dlopen + fun:g_module_open + obj:/usr/lib/libgstreamer-* + fun:gst_plugin_load_by_name + fun:gst_plugin_feature_load +} +{ + Suppress GStreamer Pad Thread Pools + Memcheck:Leak + match-leak-kinds: possible + ... + fun:g_thread_pool_push + obj:/usr/lib/libgstreamer-* + fun:gst_task_set_state + fun:gst_pad_start_task + obj:/usr/lib/*gstreamer-* + ... +} +{ + Suppress GStreamer Type Instantiation + Memcheck:Leak + match-leak-kinds: possible + ... + fun:g_type_create_instance + fun:g_param_spec_internal + fun:g_param_spec_string + obj:/usr/lib/libgstreamer-* + ... +} +{ + Suppress GTK+ Interface Creation + Memcheck:Leak + match-leak-kinds:possible + ... + fun:g_type_add_interface_static + ... + obj:/usr/lib/libgtk-* + fun:gtk_builder_get_type_from_name +}