Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Issue 2105013002: Fixing race condition in IncomingVideoStream. (Closed)

Created:
4 years, 5 months ago by Taylor Brandstetter
Modified:
4 years, 5 months ago
Reviewers:
tommi
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fixing race condition in IncomingVideoStream. This really only happens on the memcheck bot. But the issue is that the render thread may be started before the timer is started on the main thread, which incorrectly attaches the timer to the render thread. Then a thread check assertion occurs when the timer is stopped on the main thread. Simply starting the timer before starting the render thread fixes this. BUG=webrtc:6062 TBR=tommi@webrtc.org Committed: https://crrev.com/65f47275cbb5ad3aa5146b9e75afa9894467daff Cr-Commit-Position: refs/heads/master@{#13317}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M webrtc/common_video/incoming_video_stream.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (6 generated)
Taylor Brandstetter
4 years, 5 months ago (2016-06-28 17:09:04 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2105013002/1
4 years, 5 months ago (2016-06-28 17:09:48 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14567)
4 years, 5 months ago (2016-06-28 17:14:21 UTC) #7
Taylor Brandstetter
Committed patchset #1 (id:1) manually as 65f47275cbb5ad3aa5146b9e75afa9894467daff (presubmit successful).
4 years, 5 months ago (2016-06-28 17:46:50 UTC) #9
tommi
4 years, 5 months ago (2016-06-28 17:49:54 UTC) #11
Message was sent while issue was closed.
Thanks! Lgtm

Powered by Google App Engine
This is Rietveld 408576698