summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/tsan/suppressions_mac.txt
blob: b3477e00384c016cf42fcc494a6cf8db4945163f (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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# 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:__CFDoExternRefOperation
  fun:-[NSObject release]
}

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

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

{
  A race deallocating NSOperationQueue
  ThreadSanitizer:Race
  ...
  fun:_CFRelease
  fun:-[NSOperationQueue dealloc]
}

{
  Another race deallocating NSOperationQueue
  ThreadSanitizer:Race
  ...
  fun:-[NSIndexSet dealloc]
  fun:-[NSOperationQueue dealloc]
}

# A related OpenRadar bug is at http://openradar.appspot.com/7396501.
{
   A benign race on a debug counter in __NSAutoreleaseObject
   ThreadSanitizer:Race
   fun:__NSAutoreleaseObject
   fun:-[NSObject(NSObject) autorelease]
}

# 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*
}

{
  A warning on destruction of third party ClientAudioQueue object (AudioToolbox)
  ThreadSanitizer:Race
  ...
  fun:*AQClient*CheckDisposal*
  fun:*ClientAudioQueueD*
  fun:AudioQueueDispose
}

{
  Destroying invalid lock in krb5int_getaddrinfo while terminating Kerberos.
  ThreadSanitizer:InvalidLock
  fun:pthread_mutex_destroy
  fun:krb5int_getaddrinfo
  fun:ImageLoaderMachO::doTermination*
}

{
  bug_55946
  ThreadSanitizer:Race
  ...
  fun:OSAtomicAdd32
  fun:base::subtle::Barrier_AtomicIncrement*
}

#-----------------------------------------------------------------------
# 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.

{
   bug_93932_a
   ThreadSanitizer:Race
   fun:frame_thread_free
   fun:avcodec_close
   fun:media::FFmpegVideoDecodeEngine::~FFmpegVideoDecodeEngine
   fun:scoped_ptr::reset
   fun:media::FFmpegVideoDecodeEngineTest::~FFmpegVideoDecodeEngineTest
}