From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- build/sanitizers/asan_blacklist_win.txt | 26 ++++++++++++ build/sanitizers/lsan_suppressions.txt | 74 +++++++++++++++++++++++++++++++++ build/sanitizers/tsan_suppressions.txt | 21 ++++++++++ 3 files changed, 121 insertions(+) create mode 100644 build/sanitizers/asan_blacklist_win.txt create mode 100644 build/sanitizers/lsan_suppressions.txt create mode 100644 build/sanitizers/tsan_suppressions.txt (limited to 'build/sanitizers') diff --git a/build/sanitizers/asan_blacklist_win.txt b/build/sanitizers/asan_blacklist_win.txt new file mode 100644 index 000000000..13b505272 --- /dev/null +++ b/build/sanitizers/asan_blacklist_win.txt @@ -0,0 +1,26 @@ +# This is originally copied from Chromium tools/memory/asan/blacklist_win.txt. +# The rules in this file are only applied at compile time. If you can modify the +# source in question, consider function attributes to disable instrumentation. + +# Bug 1200740 - ASan crash due to child process function interceptions +# Sandbox executes some of its code before the ASan RTL gets initialized and +# maps shadow memory. As a result, instrmented code tries to access unavailable +# shadow memory and faults. +fun:*TargetNtSetInformationThread@20 +fun:*TargetNtOpenThreadToken@20 +fun:*TargetNtOpenThreadTokenEx@24 +fun:*TargetNtMapViewOfSection@44 +fun:*AutoProtectMemory*sandbox* +fun:*EatResolverThunk*sandbox* +fun:*InterceptionAgent*sandbox* +fun:*ResolverThunk*sandbox* +fun:*Target*SandboxFactory*sandbox* +fun:*ProcessState*sandbox* +src:*pe_image.h +src:*pe_image.cc +src:*resolver_32.cc +src:*filesystem_interception.cc +src:*process_thread_interception.cc +src:*registry_interception.cc +src:*sandbox_nt_util.cc +src:*sync_interception.cc diff --git a/build/sanitizers/lsan_suppressions.txt b/build/sanitizers/lsan_suppressions.txt new file mode 100644 index 000000000..77bd87116 --- /dev/null +++ b/build/sanitizers/lsan_suppressions.txt @@ -0,0 +1,74 @@ +### !!! Please do not add suppressions for new leaks in Gecko code, unless they are intentional !!! + +### +### Some of these leak in every test run. +### + +# LSan runs with a shallow stack depth and no debug symbols, so some small intentional +# leaks in system libraries show up with this. You do not want this enabled +# when running locally with a deep stack, as it can catch too much. +leak:libc.so + +# nsComponentManagerImpl intentionally leaks factory entries, and probably some other stuff. +leak:nsComponentManagerImpl +# These two variants are needed when fast unwind is disabled and stack depth is limited. +leak:mozJSComponentLoader::LoadModule +leak:nsNativeModuleLoader::LoadModule + +# Bug 981220 - Pixman fails to free TLS memory. +leak:pixman_implementation_lookup_composite + +# Bug 987918 - Font shutdown leaks when CLEANUP_MEMORY is not enabled. +leak:libfontconfig.so +leak:GI___strdup +# The symbol is really __GI___strdup, but if you have the leading _, it doesn't suppress it. + +# Bug 1078015 - If the process terminates during a PR_Sleep, LSAN detects a leak +leak:PR_Sleep + +### +### Many leaks only affect some test suites. The suite annotations are not checked. +### + +# Bug 979928 - WebRTC leaks in different mochitest suites. +leak:NR_reg_init +# nr_reg_local_init should be redundant with NR_reg_init, but on Aurora +# we get fewer stack frames for some reason. +leak:nr_reg_local_init +leak:r_log_register +leak:nr_reg_set + +# This is a one-time leak in mochitest-bc, so it is probably okay to ignore. +leak:GlobalPrinters::InitializeGlobalPrinters +leak:nsPSPrinterList::GetPrinterList + +# Bug 1028456 - Various NSPR fd-related leaks in different mochitest suites. +leak:_PR_Getfd + +# Bug 1028483 - The XML parser sometimes leaks an object. Mostly happens in toolkit/components/thumbnails. +leak:processInternalEntity + +# Bug 1187421 - NSS does not always free the error stack in different mochitest suites. +leak:nss_ClearErrorStack + +### +### Leaks with system libraries in their stacks. These show up across a number of tests. +### Better symbols and disabling fast stackwalking may help diagnose these. +### + +leak:libcairo.so +leak:libdl.so +leak:libdricore.so +leak:libdricore9.2.1.so +leak:libGL.so +leak:libglib-2.0.so +leak:libglsl.so +leak:libp11-kit.so +leak:libpixman-1.so +leak:libpulse.so +leak:libpulsecommon-1.1.so +leak:libresolv.so +leak:libstdc++.so +leak:libXrandr.so +leak:pthread_setspecific_internal +leak:swrast_dri.so diff --git a/build/sanitizers/tsan_suppressions.txt b/build/sanitizers/tsan_suppressions.txt new file mode 100644 index 000000000..3ea562e67 --- /dev/null +++ b/build/sanitizers/tsan_suppressions.txt @@ -0,0 +1,21 @@ +# Bug 931149 +race:DoImageDataComplete + +# Bug 939786 +race:_pt_root + +# Bug 939788 +# Tracked by http://code.google.com/p/thread-sanitizer/issues/detail?id=40 +race:ELMCreationDetector + +# Bug 939790 +race:xpcom/components/nsComponentManager.h + +# Bug 939807 +race:ComputeUTCTime + +# Bug 939805 +race:g_variant_type_info_get + +# Bug 844759 +race:js::gc::ArenaLists::allocateFromArenaInline -- cgit v1.2.3