From f615bda33ed9381b6bb3b0218c6ab5f0393664be Mon Sep 17 00:00:00 2001 From: "willchan@chromium.org" Date: Sun, 21 Nov 2010 01:04:56 +0000 Subject: Leak NSS to prevent shutdown crashes. NSS can be used by non-joinable threads (worker threads). These can access it after ~AtExitManager has already triggered the NSS shutdown code, so we can crash on shutdown. Therefore we leak NSS. BUG=61585 TEST=existing Review URL: http://codereview.chromium.org/5240001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66904 0039d316-1c4b-4281-b951-d872f2087c98 --- tools/valgrind/memcheck/suppressions.txt | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'tools') diff --git a/tools/valgrind/memcheck/suppressions.txt b/tools/valgrind/memcheck/suppressions.txt index 37437cf..6e788b0 100644 --- a/tools/valgrind/memcheck/suppressions.txt +++ b/tools/valgrind/memcheck/suppressions.txt @@ -793,6 +793,42 @@ fun:_ZN20NavigationController7LoadURLERK4GURLS2_j fun:_ZN7browser8NavigateEPNS_14NavigateParamsE } +{ + # Intentionally leaking NSS to prevent shutdown crashes + bug_61585a + Memcheck:Leak + fun:calloc + fun:error_get_my_stack + fun:nss_ClearErrorStack + fun:NSSArena_Create + ... + fun:nss_Init + fun:NSS_InitReadWrite + ... + fun:_ZN4base13EnsureNSSInitEv +} +{ + bug_61585b + Memcheck:Leak + fun:malloc + fun:PORT_Alloc_Util + fun:sec_asn1e_allocate_item + fun:SEC_ASN1EncodeItem_Util + fun:sftkdb_encodeCipherText + fun:sftkdb_EncryptAttribute + fun:sftkdb_ChangePassword + fun:NSC_InitPIN + fun:PK11_InitPin + ... + fun:_ZN4base13OpenTestNSSDBERK8FilePathPKc +} +{ + bug_61585c + Memcheck:Leak + fun:malloc + fun:PL_ArenaAllocate + fun:PORT_ArenaAlloc_Util +} #----------------------------------------------------------------------- # 3. Suppressions for real chromium bugs that are not yet fixed. -- cgit v1.1