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

Issue 1279953003: Fix data race in AMP. (Closed)

Created:
5 years, 4 months ago by mgraczyk
Modified:
5 years, 4 months ago
CC:
webrtc-reviews_webrtc.org, Andrew MacDonald, tterriberry_mozilla.com, hlundin-webrtc, kwiberg-webrtc, aluebs-webrtc, bjornv1
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M webrtc/modules/audio_processing/audio_processing_impl.cc View 1 chunk +1 line, -0 lines 1 comment Download

Messages

Total messages: 5 (1 generated)
mgraczyk
The affected ProcessStream overload reads from apm's StreamConfig members. Without being protected by a mutex, ...
5 years, 4 months ago (2015-08-10 21:41:41 UTC) #1
aluebs-webrtc
lgtm
5 years, 4 months ago (2015-08-10 22:11:26 UTC) #2
mgraczyk
Committed patchset #1 (id:1) manually as 4bc66fc3879e7bd3fcd6f7dedf0c4bb35e88e66f (presubmit successful).
5 years, 4 months ago (2015-08-10 22:26:47 UTC) #3
Andrew MacDonald
5 years, 4 months ago (2015-08-11 18:56:36 UTC) #5
Message was sent while issue was closed.
https://codereview.webrtc.org/1279953003/diff/1/webrtc/modules/audio_processi...
File webrtc/modules/audio_processing/audio_processing_impl.cc (right):

https://codereview.webrtc.org/1279953003/diff/1/webrtc/modules/audio_processi...
webrtc/modules/audio_processing/audio_processing_impl.cc:492:
CriticalSectionScoped crit_scoped(crit_);
FYI: Looks like the webrtc mutexes are recursive, but it's still not great to be
locking this here and in the ProcessStream call below. I think it's OK since we
intend to remove this call.

Powered by Google App Engine
This is Rietveld 408576698