From ddcf12ef12a1ae2fff6ab65cd732510aa2086efb Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Wed, 29 Jul 2015 17:27:05 +0900 Subject: [PATCH] Bug 1187664 - Don't run gst-plugin-scanner through valgrind, it only leads to irrelevant errors. r=njn --- build/valgrind/mach_commands.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/valgrind/mach_commands.py b/build/valgrind/mach_commands.py index a2af75d11a8..81920821fae 100644 --- a/build/valgrind/mach_commands.py +++ b/build/valgrind/mach_commands.py @@ -111,6 +111,13 @@ class MachCommands(MachCommandBase): '--show-possibly-lost=no', '--track-origins=yes', '--trace-children=yes', + # The gstreamer plugin scanner can run as part of executing + # firefox, but is an external program. In some weird cases, + # valgrind finds errors while executing __libc_freeres when + # it runs, but those are not relevant, as it's related to + # executing third party code. So don't trace + # gst-plugin-scanner. + '--trace-children-skip=*/gst-plugin-scanner', '-v', # Enable verbosity to get the list of used suppressions ]