From be23b32727a2ee100f66afbebb2f31f6272a057a Mon Sep 17 00:00:00 2001 From: "mflodman@webrtc.org" Date: Wed, 4 Sep 2013 13:36:52 +0000 Subject: [PATCH] Adding tsan suppression for BUG 2349. TSAN found a read/write race for RTPSender::[packets_sent_/payload_bytes_sent)] between RTPSender::SendToNetwork and RTCPSender::SendRTCP. BUG=2349 R=holmer@google.com Review URL: https://webrtc-codereview.appspot.com/2168004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4676 4adac7df-926f-26a2-2b94-8c16560cd09d --- tools/valgrind-webrtc/tsan/suppressions.txt | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/tools/valgrind-webrtc/tsan/suppressions.txt b/tools/valgrind-webrtc/tsan/suppressions.txt index 4397d5c6d4..7c39922fe1 100644 --- a/tools/valgrind-webrtc/tsan/suppressions.txt +++ b/tools/valgrind-webrtc/tsan/suppressions.txt @@ -16,6 +16,29 @@ fun:webrtc::Trace::SetTraceCallback ... } +{ + BUG_2349 + ThreadSanitizer:Race + fun:webrtc::RTPSender::SendToNetwork + fun:webrtc::RTPSenderVideo::SendVideoPacket + fun:webrtc::RTPSenderVideo::SendVP8 + fun:webrtc::RTPSenderVideo::SendVideo + fun:webrtc::RTPSender::SendOutgoingData + fun:webrtc::ModuleRtpRtcpImpl::SendOutgoingData + fun:webrtc::ModuleRtpRtcpImpl::SendOutgoingData + fun:webrtc::ViEEncoder::SendData + fun:webrtc::VCMEncodedFrameCallback::Encoded + fun:webrtc::test::FakeEncoder::Encode + fun:webrtc::VCMGenericEncoder::Encode + fun:webrtc::VideoCodingModuleImpl::AddVideoFrame + fun:webrtc::ViEEncoder::DeliverFrame + fun:webrtc::ViEFrameProviderBase::DeliverFrame + fun:webrtc::ViECapturer::DeliverI420Frame + fun:webrtc::ViECapturer::ViECaptureProcess + fun:webrtc::ViECapturer::ViECaptureThreadFunction + fun:webrtc::ThreadPosix::Run + fun:StartThread +} # Known bugs we don't care about / problems in third parties {