OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // This file contains the default suppressions for ThreadSanitizer. |
| 6 // You can also pass additional suppressions via TSAN_OPTIONS: |
| 7 // TSAN_OPTIONS=suppressions=/path/to/suppressions. Please refer to |
| 8 // http://dev.chromium.org/developers/testing/threadsanitizer-tsan-v2 |
| 9 // for more info. |
| 10 |
| 11 #if defined(THREAD_SANITIZER) |
| 12 |
| 13 // Please make sure the code below declares a single string variable |
| 14 // kTSanDefaultSuppressions contains TSan suppressions delimited by newlines. |
| 15 // See http://dev.chromium.org/developers/testing/threadsanitizer-tsan-v2 |
| 16 // for the instructions on writing suppressions. |
| 17 char kTSanDefaultSuppressions[] = |
| 18 // False positives in libflashplayer.so and libglib.so. Since we don't |
| 19 // instrument them, we cannot reason about the synchronization in them. |
| 20 "race:libflashplayer.so\n" |
| 21 "race:libglib*.so\n" |
| 22 |
| 23 // Intentional race in ToolsSanityTest.DataRace in base_unittests. |
| 24 "race:base/tools_sanity_unittest.cc\n" |
| 25 |
| 26 // Data race on WatchdogCounter [test-only]. |
| 27 "race:base/threading/watchdog_unittest.cc\n" |
| 28 |
| 29 // Races in libevent, http://crbug.com/23244. |
| 30 "race:libevent/event.c\n" |
| 31 |
| 32 // http://crbug.com/46840. |
| 33 "race:base::HistogramSamples::IncreaseSum\n" |
| 34 "race:base::Histogram::Add\n" |
| 35 "race:base::HistogramSamples::Add\n" |
| 36 |
| 37 // http://crbug.com/84094. |
| 38 "race:sqlite3StatusSet\n" |
| 39 "race:pcache1EnforceMaxPage\n" |
| 40 "race:pcache1AllocPage\n" |
| 41 |
| 42 // http://crbug.com/102327. |
| 43 // Test-only race, won't fix. |
| 44 "race:tracked_objects::ThreadData::ShutdownSingleThreadedCleanup\n" |
| 45 |
| 46 // http://crbug.com/115540 |
| 47 "race:*GetCurrentThreadIdentifier\n" |
| 48 |
| 49 // http://crbug.com/120808 |
| 50 "race:base/threading/watchdog.cc\n" |
| 51 |
| 52 // http://crbug.com/157586 |
| 53 "race:third_party/libvpx/source/libvpx/vp8/decoder/threading.c\n" |
| 54 |
| 55 // http://crbug.com/158718 |
| 56 "race:third_party/ffmpeg/libavcodec/pthread.c\n" |
| 57 "race:third_party/ffmpeg/libavcodec/pthread_frame.c\n" |
| 58 "race:third_party/ffmpeg/libavcodec/vp8.c\n" |
| 59 "race:third_party/ffmpeg/libavutil/mem.c\n" |
| 60 "race:*HashFrameForTesting\n" |
| 61 "race:third_party/ffmpeg/libavcodec/h264pred.c\n" |
| 62 "race:media::ReleaseData\n" |
| 63 |
| 64 // http://crbug.com/158922 |
| 65 "race:third_party/libvpx/source/libvpx/vp8/encoder/*\n" |
| 66 "race:third_party/libvpx/source/libvpx/vp9/encoder/*\n" |
| 67 |
| 68 // http://crbug.com/189177 |
| 69 "race:thread_manager\n" |
| 70 "race:v8::Locker::Initialize\n" |
| 71 |
| 72 // http://crbug.com/239359 |
| 73 "race:media::TestInputCallback::OnData\n" |
| 74 |
| 75 // http://crbug.com/244368 |
| 76 "race:skia::BeginPlatformPaint\n" |
| 77 |
| 78 // http://crbug.com/244385 |
| 79 "race:unixTempFileDir\n" |
| 80 |
| 81 // http://crbug.com/244755 |
| 82 "race:v8::internal::Zone::NewExpand\n" |
| 83 "race:TooLateToEnableNow\n" |
| 84 "race:adjust_segment_bytes_allocated\n" |
| 85 |
| 86 // http://crbug.com/244774 |
| 87 "race:webrtc::RTPReceiver::ProcessBitrate\n" |
| 88 "race:webrtc::RTPSender::ProcessBitrate\n" |
| 89 "race:webrtc::VideoCodingModuleImpl::Decode\n" |
| 90 "race:webrtc::RTPSender::SendOutgoingData\n" |
| 91 "race:webrtc::VP8EncoderImpl::GetEncodedPartitions\n" |
| 92 "race:webrtc::VP8EncoderImpl::Encode\n" |
| 93 "race:webrtc::ViEEncoder::DeliverFrame\n" |
| 94 "race:webrtc::vcm::VideoReceiver::Decode\n" |
| 95 "race:webrtc::VCMReceiver::FrameForDecoding\n" |
| 96 "race:*trace_event_unique_catstatic*\n" |
| 97 |
| 98 // http://crbug.com/244856 |
| 99 "race:AutoPulseLock\n" |
| 100 |
| 101 // http://crbug.com/246968 |
| 102 "race:webrtc::VideoCodingModuleImpl::RegisterPacketRequestCallback\n" |
| 103 |
| 104 // http://crbug.com/246974 |
| 105 "race:content::GpuWatchdogThread::CheckArmed\n" |
| 106 |
| 107 // http://crbug.com/257396 |
| 108 "race:base::trace_event::" |
| 109 "TraceEventTestFixture_TraceSamplingScope_Test::TestBody\n" |
| 110 |
| 111 // http://crbug.com/258479 |
| 112 "race:SamplingStateScope\n" |
| 113 "race:g_trace_state\n" |
| 114 |
| 115 // http://crbug.com/258499 |
| 116 "race:third_party/skia/include/core/SkRefCnt.h\n" |
| 117 |
| 118 // http://crbug.com/268924 |
| 119 "race:base::g_power_monitor\n" |
| 120 "race:base::PowerMonitor::PowerMonitor\n" |
| 121 "race:base::PowerMonitor::AddObserver\n" |
| 122 "race:base::PowerMonitor::RemoveObserver\n" |
| 123 "race:base::PowerMonitor::IsOnBatteryPower\n" |
| 124 |
| 125 // http://crbug.com/258935 |
| 126 "race:base::Thread::StopSoon\n" |
| 127 |
| 128 // http://crbug.com/268941 |
| 129 "race:tracked_objects::ThreadData::tls_index_\n" |
| 130 |
| 131 // http://crbug.com/272095 |
| 132 "race:base::g_top_manager\n" |
| 133 |
| 134 // http://crbug.com/273047 |
| 135 "race:base::*::g_lazy_tls_ptr\n" |
| 136 "race:IPC::SyncChannel::ReceivedSyncMsgQueue::lazy_tls_ptr_\n" |
| 137 |
| 138 // http://crbug.com/280466 |
| 139 "race:content::WebRtcAudioCapturer::SetCapturerSource\n" |
| 140 |
| 141 // http://crbug.com/285242 |
| 142 "race:media::PulseAudioOutputStream::SetVolume\n" |
| 143 |
| 144 // http://crbug.com/308590 |
| 145 "race:CustomThreadWatcher::~CustomThreadWatcher\n" |
| 146 |
| 147 // http://crbug.com/310851 |
| 148 "race:net::ProxyResolverV8Tracing::Job::~Job\n" |
| 149 |
| 150 // http://crbug.com/313726 |
| 151 "race:CallbackWasCalled\n" |
| 152 |
| 153 // http://crbug.com/327330 |
| 154 "race:PrepareTextureMailbox\n" |
| 155 "race:cc::LayerTreeHost::PaintLayerContents\n" |
| 156 |
| 157 // http://crbug.com/476529 |
| 158 "deadlock:cc::VideoLayerImpl::WillDraw\n" |
| 159 |
| 160 // http://crbug.com/328826 |
| 161 "race:gLCDOrder\n" |
| 162 "race:gLCDOrientation\n" |
| 163 |
| 164 // http://crbug.com/328868 |
| 165 "race:PR_Lock\n" |
| 166 |
| 167 // http://crbug.com/329225 |
| 168 "race:blink::currentTimeFunction\n" |
| 169 |
| 170 // http://crbug.com/329460 |
| 171 "race:extensions::InfoMap::AddExtension\n" |
| 172 |
| 173 // http://crbug.com/333244 |
| 174 "race:content::" |
| 175 "VideoCaptureImplTest::MockVideoCaptureImpl::~MockVideoCaptureImpl\n" |
| 176 |
| 177 // http://crbug.com/333871 |
| 178 "race:v8::internal::Interface::NewValue()::value_interface\n" |
| 179 "race:v8::internal::IsMinusZero(double)::minus_zero\n" |
| 180 "race:v8::internal::FastCloneShallowObjectStub::InitializeInterfaceDescriptor\n" |
| 181 "race:v8::internal::KeyedLoadStubCompiler::registers\n" |
| 182 "race:v8::internal::KeyedStoreStubCompiler::registers()::registers\n" |
| 183 "race:v8::internal::KeyedLoadFastElementStub::InitializeInterfaceDescriptor\n" |
| 184 "race:v8::internal::KeyedStoreFastElementStub::InitializeInterfaceDescriptor\n" |
| 185 "race:v8::internal::LoadStubCompiler::registers\n" |
| 186 "race:v8::internal::StoreStubCompiler::registers\n" |
| 187 "race:v8::internal::HValue::LoopWeight\n" |
| 188 |
| 189 // http://crbug.com/334140 |
| 190 "race:CommandLine::HasSwitch\n" |
| 191 "race:CommandLine::current_process_commandline_\n" |
| 192 "race:CommandLine::GetSwitchValueASCII\n" |
| 193 |
| 194 // http://crbug.com/338675 |
| 195 "race:blink::s_platform\n" |
| 196 "race:content::" |
| 197 "RendererWebKitPlatformSupportImpl::~RendererWebKitPlatformSupportImpl\n" |
| 198 |
| 199 // http://crbug.com/345240 |
| 200 "race:WTF::s_shutdown\n" |
| 201 |
| 202 // http://crbug.com/345245 |
| 203 "race:jingle_glue::JingleThreadWrapper::~JingleThreadWrapper\n" |
| 204 "race:webrtc::voe::Channel::UpdatePacketDelay\n" |
| 205 "race:webrtc::voe::Channel::GetDelayEstimate\n" |
| 206 "race:webrtc::VCMCodecDataBase::DeregisterReceiveCodec\n" |
| 207 "race:webrtc::GainControlImpl::set_stream_analog_level\n" |
| 208 |
| 209 // http://crbug.com/345618 |
| 210 "race:WebCore::AudioDestinationNode::render\n" |
| 211 |
| 212 // http://crbug.com/345624 |
| 213 "race:media::DataSource::set_host\n" |
| 214 |
| 215 // http://crbug.com/347534 |
| 216 "race:v8::internal::V8::TearDown\n" |
| 217 |
| 218 // http://crbug.com/347538 |
| 219 "race:sctp_timer_start\n" |
| 220 |
| 221 // http://crbug.com/347548 |
| 222 "race:cricket::WebRtcVideoMediaChannel::MaybeResetVieSendCodec\n" |
| 223 "race:cricket::WebRtcVideoMediaChannel::SetSendCodec\n" |
| 224 |
| 225 // http://crbug.com/347553 |
| 226 "race:blink::WebString::reset\n" |
| 227 |
| 228 // http://crbug.com/348511 |
| 229 "race:webrtc::acm1::AudioCodingModuleImpl::PlayoutData10Ms\n" |
| 230 |
| 231 // http://crbug.com/348982 |
| 232 "race:cricket::P2PTransportChannel::OnConnectionDestroyed\n" |
| 233 "race:cricket::P2PTransportChannel::AddConnection\n" |
| 234 |
| 235 // http://crbug.com/348984 |
| 236 "race:sctp_express_handle_sack\n" |
| 237 "race:system_base_info\n" |
| 238 |
| 239 // http://crbug.com/363999 |
| 240 "race:v8::internal::EnterDebugger::*EnterDebugger\n" |
| 241 |
| 242 // https://code.google.com/p/v8/issues/detail?id=3143 |
| 243 "race:v8::internal::FLAG_track_double_fields\n" |
| 244 |
| 245 // https://crbug.com/369257 |
| 246 // TODO(mtklein): annotate properly and remove suppressions. |
| 247 "race:SandboxIPCHandler::HandleFontMatchRequest\n" |
| 248 "race:SkFontConfigInterfaceDirect::matchFamilyName\n" |
| 249 "race:SkFontConfigInterface::GetSingletonDirectInterface\n" |
| 250 "race:FcStrStaticName\n" |
| 251 |
| 252 // http://crbug.com/372807 |
| 253 "deadlock:net::X509Certificate::CreateCertificateListFromBytes\n" |
| 254 "deadlock:net::X509Certificate::CreateFromBytes\n" |
| 255 "deadlock:net::SSLClientSocketNSS::Core::DoHandshakeLoop\n" |
| 256 |
| 257 // http://crbug.com/374135 |
| 258 "race:media::AlsaWrapper::PcmWritei\n" |
| 259 |
| 260 // False positive in libc's tzset_internal, http://crbug.com/379738. |
| 261 "race:tzset_internal\n" |
| 262 |
| 263 // http://crbug.com/380554 |
| 264 "deadlock:g_type_add_interface_static\n" |
| 265 |
| 266 // http:://crbug.com/386385 |
| 267 "race:content::AppCacheStorageImpl::DatabaseTask::CallRunCompleted\n" |
| 268 |
| 269 // http://crbug.com/388730 |
| 270 "race:g_next_user_script_id\n" |
| 271 |
| 272 // http://crbug.com/389098 |
| 273 "race:webrtc::voe::TransmitMixer::EnableStereoChannelSwapping\n" |
| 274 |
| 275 // http://crbug.com/397022 |
| 276 "deadlock:" |
| 277 "base::trace_event::TraceEventTestFixture_ThreadOnceBlocking_Test::TestBody\n" |
| 278 |
| 279 // http://crbug.com/415472 |
| 280 "deadlock:base::trace_event::TraceLog::GetCategoryGroupEnabled\n" |
| 281 |
| 282 // http://crbug.com/490856 |
| 283 "deadlock:content::TracingControllerImpl::SetEnabledOnFileThread\n" |
| 284 |
| 285 // http://crbug.com/417193 |
| 286 // Suppressing both AudioContext.{cpp,h}. |
| 287 "race:modules/webaudio/AudioContext\n" |
| 288 |
| 289 // https://code.google.com/p/skia/issues/detail?id=3294 |
| 290 "race:SkBaseMutex::acquire\n" |
| 291 |
| 292 // https://crbug.com/430533 |
| 293 "race:TileTaskGraphRunner::Run\n" |
| 294 |
| 295 // https://crbug.com/448203 |
| 296 "race:blink::RemoteFrame::detach\n" |
| 297 |
| 298 // https://crbug.com/454652 |
| 299 "race:net::NetworkChangeNotifier::SetTestNotificationsOnly\n" |
| 300 |
| 301 // https://crbug.com/455638 |
| 302 "deadlock:dbus::Bus::ShutdownAndBlock\n" |
| 303 |
| 304 // https://crbug.com/455665 |
| 305 "race:mojo::common::*::tick_clock\n" |
| 306 "race:mojo::common::internal::NowTicks\n" |
| 307 "race:tracked_objects::ThreadData::InitializeThreadContext\n" |
| 308 |
| 309 // https://crbug.com/459429 |
| 310 "race:randomnessPid\n" |
| 311 |
| 312 // https://crbug.com/454655 |
| 313 "race:content::BrowserTestBase::PostTaskToInProcessRendererAndWait\n" |
| 314 |
| 315 // End of suppressions. |
| 316 ; // Please keep this semicolon. |
| 317 |
| 318 #endif // THREAD_SANITIZER |
OLD | NEW |