summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/tsan/suppressions_mac.txt
blob: 59e7fd2d64fb7f88eee85c4299a9653104f709b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# There are two kinds of suppressions in this file.
# 1. third party stuff we have no control over
#
# 2. Intentional unit test errors, or stuff that is somehow a false positive
# in our own code, or stuff that is so trivial it's not worth fixing
#
# 3. Suppressions for real chromium bugs that are not yet fixed.
# These should all be in chromium's bug tracking system (but a few aren't yet).
# Periodically we should sweep this file and the bug tracker clean by
# running overnight and removing outdated bugs/suppressions.
#-----------------------------------------------------------------------

# 1. third party stuff we have no control over
# Several Cocoa-specific races
{
  Some Cocoa-specific race in NSRunLoop class
  ThreadSanitizer:Race
  ...
  fun:*CFRunLoop*
}

{
  A race releasing NSObject
  ThreadSanitizer:Race
  ...
  fun:CFBagContainsValue
  fun:__CFDoExternRefOperation
  fun:-[NSObject release]
}

{
  And another race releasing NSObject
  ThreadSanitizer:Race
  ...
  fun:CFBagRemoveValue
  fun:__CFDoExternRefOperation
  fun:-[NSObject release]
}

{
  A race retaining NSObject
  ThreadSanitizer:Race
  ...
  fun:CFBagAddValue
  fun:__CFDoExternRefOperation
  fun:-[NSObject retain]
}

# media_unittests depend on the Darwin libraries which have many reports in
# them. A related OpenRadar bug is at http://openradar.appspot.com/7223948
{
  Warnings in the CoreAudio component
  ThreadSanitizer:Race
  ...
  obj:/System/Library/Components/CoreAudio.component*
}

{
  Warnings in the CoreAudio framework
  ThreadSanitizer:Race
  ...
  obj:/System/Library/Frameworks/CoreAudio.framework*
}

{
  A warning in CoreAudio framework
  ThreadSanitizer:Race
  ...
  fun:*HALRunLoop*
}

{
  A warning in the AudioToolbox framework
  ThreadSanitizer:Race
  ...
  fun:*CAPThread*
}

{
  Warnings inside AQServer_{Stop,EnqueueBuffer}
  ThreadSanitizer:Race
  ...
  fun:*AudioQueueObject*
  ...
  fun:AQServer_*
}

{
  Warnings inside AudioHardwareGetProperty
  ThreadSanitizer:Race
  ...
  fun:AudioHardwareGetProperty
}

{
  Benign data race in CAMutex bug_23579
  ThreadSanitizer:Race
  fun:*CAMutex*ock*
}

#-----------------------------------------------------------------------
# 2. Intentional unit test errors, or stuff that is somehow a false positive
# in our own code, or stuff that is so trivial it's not worth fixing

{
  Benign data race inside PCMQueueOutAudioOutputStream::Stop bug_24801
  ThreadSanitizer:Race
  fun:*PCMQueueOutAudioOutputStream*Stop*
}

#-----------------------------------------------------------------------
# 3. Suppressions for real chromium bugs that are not yet fixed.
# These should all be in chromium's bug tracking system (but a few aren't yet).
# Periodically we should sweep this file and the bug tracker clean by
# running overnight and removing outdated bugs/suppressions.

# Nothing here yet, but updates will be submitted soon.