summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuartmorgan@google.com <stuartmorgan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-08 19:16:46 +0000
committerstuartmorgan@google.com <stuartmorgan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-08 19:16:46 +0000
commit5dd6904cd76766fe227f5c8b92d5743706f87ff9 (patch)
treef110cccec3b80c1488dc5262dbcd245cdbf47ce9
parent500cbec32eb67822a5adcabf2cbc3a7be620c6b1 (diff)
downloadchromium_src-5dd6904cd76766fe227f5c8b92d5743706f87ff9.zip
chromium_src-5dd6904cd76766fe227f5c8b92d5743706f87ff9.tar.gz
chromium_src-5dd6904cd76766fe227f5c8b92d5743706f87ff9.tar.bz2
More suppressions for Mac UI bots
Fix a suppression and remove one that duplicates it. Widen a suppression Add a bunch of new suppressions. BUG=11333,21137,21279,21280,20580,21286 TEST=More green on the Mac valgrind bots. Review URL: http://codereview.chromium.org/197043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25645 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--tools/valgrind/memcheck/suppressions_mac.txt89
-rwxr-xr-xtools/valgrind/memcheck_analyze.py2
2 files changed, 77 insertions, 14 deletions
diff --git a/tools/valgrind/memcheck/suppressions_mac.txt b/tools/valgrind/memcheck/suppressions_mac.txt
index daa2145..ecb7861 100644
--- a/tools/valgrind/memcheck/suppressions_mac.txt
+++ b/tools/valgrind/memcheck/suppressions_mac.txt
@@ -120,6 +120,7 @@
{
# suddenly very common as of 6 aug 2009
bug_11333b
+ Memcheck:Leak
fun:malloc
fun:stdSmartNewPtr
fun:stdSmartNewHandle
@@ -618,12 +619,7 @@
fun:pager_end_transaction
fun:sqlite3PagerCommitPhaseTwo
fun:sqlite3BtreeCommitPhaseTwo
- fun:vdbeCommit
- fun:sqlite3VdbeHalt
- fun:sqlite3VdbeExec
- fun:sqlite3Step
- fun:sqlite3_step
- fun:sqlite3_exec
+ ...
fun:_ZN7history16ArchivedDatabase17CommitTransactionEv
fun:_ZN7history16ArchivedDatabase4InitERK8FilePath
}
@@ -659,6 +655,32 @@
fun:_ZN7history16ArchivedDatabase17CommitTransactionEv
}
{
+ bug_20580_e
+ Memcheck:Addr1
+ fun:sqlite3DeleteTable
+ fun:sqlite3SchemaFree
+ fun:sqlite3ResetInternalSchema
+ fun:sqlite3RollbackAll
+ fun:sqlite3VdbeHalt
+ fun:sqlite3VdbeExec
+ fun:sqlite3_step
+ fun:sqlite3_exec
+ fun:_ZN7history16ArchivedDatabase17CommitTransactionEv
+}
+{
+ bug_20580_f
+ Memcheck:Addr4
+ fun:pager_lookup
+ fun:sqlite3PagerAcquire2
+ fun:sqlite3PagerAcquire
+ fun:sqlite3BtreeGetPage
+ fun:sqlite3BtreeBeginTrans
+ fun:sqlite3VdbeExec
+ fun:sqlite3_step
+ fun:sqlite3_exec
+ fun:_ZN7history16ArchivedDatabase16BeginTransactionEv
+}
+{
bug_20837
Memcheck:Leak
fun:malloc
@@ -675,11 +697,52 @@
fun:_ZN3IPC7Channel11ChannelImpl4SendEPNS_7MessageE
}
{
- bug_21137
- Memcheck:Leak
- fun:malloc
- ...
- fun:+[NSColor keyboardFocusIndicatorColor]
- ...
- fun:-[AutocompleteTextFieldCell drawWithFrame:inView:]
+ bug_21279
+ Memcheck:Leak
+ fun:_Znw*
+ fun:_ZNSt8_Rb_treeIN15tracked_objects8LocationESt4pairIKS1_PNS0_6BirthsEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE9_M_insertEPSt18_Rb_tree_node_baseSE_RKS6_
+ fun:_ZNSt8_Rb_treeIN15tracked_objects8LocationESt4pairIKS1_PNS0_6BirthsEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE13insert_uniqueESt17_Rb_tree_iteratorIS6_ERKS6_
+ fun:_ZN15tracked_objects10ThreadData12FindLifetimeERKNS_8LocationE
+ fun:_ZN15tracked_objects7Tracked13SetBirthPlaceERKNS_8LocationE
+ ...
+ fun:_ZN17VisitedLinkMaster12TableBuilder10OnCompleteEb
+}
+{
+ bug_21279_b
+ Memcheck:Leak
+ fun:_Znw*
+ fun:_ZN17VisitedLinkMaster12TableBuilder10OnCompleteEb
+ fun:_ZN7history14HistoryBackend11IterateURLsEPN14HistoryService13URLEnumeratorE
+}
+{
+ bug_21280
+ Memcheck:Leak
+ fun:malloc_zone_malloc
+ ...
+ fun:ATSFontLoadUnicodeCharacterSet
+ ...
+ fun:__NSFontInstanceInfoInitializeMetricsInfo
+ ...
+ fun:-[NSFont boundingRectForGlyph:]
+}
+{
+ bug_21280_b
+ Memcheck:Addr2
+ fun:CFRetain
+ fun:CFDictionarySetValue
+ fun:_ZNK9TBaseFont20SetAttributeInternalEPKvS1_
+ fun:_ZNK9TBaseFont16CopyCharacterSetEv
+ fun:-[__NSFontTypefaceInfo _nominalCharacterCoverage]
+ fun:-[__NSSharedFontInstanceInfo _characterCoverage]
+ fun:__NSFontInstanceInfoInitializeMetricsInfo
+ fun:-[__NSSharedFontInstanceInfo _numberOfGlyphs]
+ fun:-[NSFont boundingRectForGlyph:]
+}
+{
+ bug_21286
+ Memcheck:Leak
+ fun:_Znw*
+ fun:sendSimpleEventToSelf
+ fun:aeInitializeFromHIToolbox
+ fun:INIT_AppleEvents
}
diff --git a/tools/valgrind/memcheck_analyze.py b/tools/valgrind/memcheck_analyze.py
index 0240dbb..61f9b4d 100755
--- a/tools/valgrind/memcheck_analyze.py
+++ b/tools/valgrind/memcheck_analyze.py
@@ -324,7 +324,7 @@ class ValgrindError:
# TODO(dank): stop synthesizing suppressions once everyone has
# valgrind-3.5 and we can rely on xml
if (self._suppression == None):
- output += "Ssuppression:\n"
+ output += "Suppression:\n"
for frame in backtrace[1]:
output += " fun:" + (frame[FUNCTION_NAME] or "*") + "\n"