Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: build/sanitizers/lsan_suppressions.cc

Issue 2613653003: Move some basic early process init into Service Manager (Closed)
Patch Set: . Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file contains the default suppressions for LeakSanitizer. 5 // This file contains the default suppressions for LeakSanitizer.
6 // You can also pass additional suppressions via LSAN_OPTIONS: 6 // You can also pass additional suppressions via LSAN_OPTIONS:
7 // LSAN_OPTIONS=suppressions=/path/to/suppressions. Please refer to 7 // LSAN_OPTIONS=suppressions=/path/to/suppressions. Please refer to
8 // http://dev.chromium.org/developers/testing/leaksanitizer for more info. 8 // http://dev.chromium.org/developers/testing/leaksanitizer for more info.
9 9
10 #if defined(LEAK_SANITIZER) 10 #if defined(LEAK_SANITIZER)
11 11
12 // Please make sure the code below declares a single string variable 12 // Please make sure the code below declares a single string variable
13 // kLSanDefaultSuppressions which contains LSan suppressions delimited by 13 // kLSanDefaultSuppressions which contains LSan suppressions delimited by
14 // newlines. See http://dev.chromium.org/developers/testing/leaksanitizer 14 // newlines. See http://dev.chromium.org/developers/testing/leaksanitizer
15 // for the instructions on writing suppressions. 15 // for the instructions on writing suppressions.
16 char kLSanDefaultSuppressions[] = 16 char kLSanDefaultSuppressions[] =
17 // Intentional leak used as sanity test for Valgrind/memcheck. 17 // Intentional leak used as sanity test for Valgrind/memcheck.
18 "leak:base::ToolsSanityTest_MemoryLeak_Test::TestBody\n" 18 "leak:base::ToolsSanityTest_MemoryLeak_Test::TestBody\n"
19 19
20 // ================ Leaks in third-party code ================ 20 // ================ Leaks in third-party code ================
21 21
22 // False positives in libfontconfig. http://crbug.com/39050 22 // False positives in libfontconfig. http://crbug.com/39050
23 "leak:libfontconfig\n" 23 "leak:libfontconfig\n"
24 // eglibc-2.19/string/strdup.c creates false positive leak errors because of the 24 // eglibc-2.19/string/strdup.c creates false positive leak errors because of
25 // same reason as crbug.com/39050. The leak error stack trace, when unwind on 25 // the same reason as crbug.com/39050. The leak error stack trace, when
26 // malloc, includes a call to libfontconfig. But the default stack trace is too 26 // unwind on malloc, includes a call to libfontconfig. But the default stack
27 // short in leak sanitizer bot to make the libfontconfig suppression works. 27 // trace is too short in leak sanitizer bot to make the libfontconfig
28 // http://crbug.com/605286 28 // suppression works. http://crbug.com/605286
29 "leak:__strdup\n" 29 "leak:__strdup\n"
30 30
31 // Leaks in Nvidia's libGL. 31 // Leaks in Nvidia's libGL.
32 "leak:libGL.so\n" 32 "leak:libGL.so\n"
33 33
34 // TODO(eugenis): revisit NSS suppressions after the switch to BoringSSL 34 // TODO(eugenis): revisit NSS suppressions after the switch to BoringSSL
35 // NSS leaks in CertDatabaseNSSTest tests. http://crbug.com/51988 35 // NSS leaks in CertDatabaseNSSTest tests. http://crbug.com/51988
36 "leak:net::NSSCertDatabase::ImportFromPKCS12\n" 36 "leak:net::NSSCertDatabase::ImportFromPKCS12\n"
37 "leak:net::NSSCertDatabase::ListCerts\n" 37 "leak:net::NSSCertDatabase::ListCerts\n"
38 "leak:net::NSSCertDatabase::DeleteCertAndKey\n" 38 "leak:net::NSSCertDatabase::DeleteCertAndKey\n"
39 "leak:crypto::ScopedTestNSSDB::ScopedTestNSSDB\n" 39 "leak:crypto::ScopedTestNSSDB::ScopedTestNSSDB\n"
40 // Another leak due to not shutting down NSS properly. http://crbug.com/124445 40 // Another leak due to not shutting down NSS properly.
41 "leak:error_get_my_stack\n" 41 // http://crbug.com/124445
42 // The NSS suppressions above will not fire when the fast stack unwinder is 42 "leak:error_get_my_stack\n"
43 // used, because it can't unwind through NSS libraries. Apply blanket 43 // The NSS suppressions above will not fire when the fast stack unwinder is
44 // suppressions for now. 44 // used, because it can't unwind through NSS libraries. Apply blanket
45 "leak:libnssutil3\n" 45 // suppressions for now.
46 "leak:libnspr4\n" 46 "leak:libnssutil3\n"
47 "leak:libnss3\n" 47 "leak:libnspr4\n"
48 "leak:libplds4\n" 48 "leak:libnss3\n"
49 "leak:libnssckbi\n" 49 "leak:libplds4\n"
50 "leak:libnssckbi\n"
50 51
51 // XRandR has several one time leaks. 52 // XRandR has several one time leaks.
52 "leak:libxrandr\n" 53 "leak:libxrandr\n"
53 54
54 // xrandr leak. http://crbug.com/119677 55 // xrandr leak. http://crbug.com/119677
55 "leak:XRRFindDisplay\n" 56 "leak:XRRFindDisplay\n"
56 57
57 // http://crbug.com/431213, http://crbug.com/416665 58 // http://crbug.com/431213, http://crbug.com/416665
58 "leak:gin/object_template_builder.h\n" 59 "leak:gin/object_template_builder.h\n"
59 60
60 // Leaks in swrast_dri.so. http://crbug.com/540042 61 // Leaks in swrast_dri.so. http://crbug.com/540042
61 "leak:swrast_dri.so\n" 62 "leak:swrast_dri.so\n"
62 63
63 // Leak in glibc's gconv caused by fopen(..., "r,ccs=UNICODE") 64 // Leak in glibc's gconv caused by fopen(..., "r,ccs=UNICODE")
64 "leak:__gconv_lookup_cache\n" 65 "leak:__gconv_lookup_cache\n"
65 66
66 // ================ Leaks in Chromium code ================ 67 // ================ Leaks in Chromium code ================
67 // PLEASE DO NOT ADD SUPPRESSIONS FOR NEW LEAKS. 68 // PLEASE DO NOT ADD SUPPRESSIONS FOR NEW LEAKS.
68 // Instead, commits that introduce memory leaks should be reverted. Suppressing 69 // Instead, commits that introduce memory leaks should be reverted.
69 // the leak is acceptable in some cases when reverting is impossible, i.e. when 70 // Suppressing the leak is acceptable in some cases when reverting is
70 // enabling leak detection for the first time for a test target with 71 // impossible, i.e. when enabling leak detection for the first time for a
71 // pre-existing leaks. 72 // test target with pre-existing leaks.
72 73
73 // Small test-only leak in ppapi_unittests. http://crbug.com/258113 74 // Small test-only leak in ppapi_unittests. http://crbug.com/258113
74 "leak:ppapi::proxy::PPP_Instance_Private_ProxyTest_PPPInstancePrivate_Test\n" 75 "leak:ppapi::proxy::PPP_Instance_Private_ProxyTest_PPPInstancePrivate_"
76 "Test\n"
75 77
76 // http://crbug.com/322671 78 // http://crbug.com/322671
77 "leak:content::SpeechRecognitionBrowserTest::SetUpOnMainThread\n" 79 "leak:content::SpeechRecognitionBrowserTest::SetUpOnMainThread\n"
78 80
79 // http://crbug.com/355641 81 // http://crbug.com/355641
80 "leak:TrayAccessibilityTest\n" 82 "leak:TrayAccessibilityTest\n"
81 83
82 // http://crbug.com/354644 84 // http://crbug.com/354644
83 "leak:CertificateViewerUITest::ShowModalCertificateViewer\n" 85 "leak:CertificateViewerUITest::ShowModalCertificateViewer\n"
84 86
85 // http://crbug.com/356306 87 // http://crbug.com/356306
86 "leak:content::SetProcessTitleFromCommandLine\n" 88 "leak:service_manager::SetProcessTitleFromCommandLine\n"
Ken Rockot(use gerrit already) 2017/03/15 22:11:52 this is the only meaningful change in this file. c
87 89
88 // http://crbug.com/601435 90 // http://crbug.com/601435
89 "leak:mojo/edk/js/handle.h\n" 91 "leak:mojo/edk/js/handle.h\n"
90 92
91 // PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS. 93 // PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS.
92 94
93 // End of suppressions. 95 // End of suppressions.
94 ; // Please keep this semicolon. 96 ; // Please keep this semicolon.
95 97
96 #endif // LEAK_SANITIZER 98 #endif // LEAK_SANITIZER
OLDNEW
« no previous file with comments | « no previous file | content/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698