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

Issue 23931002: Fix threading races on AudioDSPKernelProcessor::m_kernels (Closed)

Created:
7 years, 3 months ago by haraken
Modified:
7 years, 3 months ago
CC:
blink-reviews, eae+blinkwatch, dglazkov+blink, jeez
Visibility:
Public.

Description

Fix threading races on AudioDSPKernelProcessor::m_kernels AudioDSPKernelProcessor::m_kernels is accessed by the main thread and the Audio Device thread, and thus should be protected by mutex. This mutex implementation is consistent with that of ConvolverNode::m_reverb. See the crash report for more details: https://cluster-fuzz.appspot.com/testcase?key=6662160935550976 BUG=271161 No tests because the crash depends on threading races and thus not reproducible. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157256

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -11 lines) Patch
M Source/core/platform/audio/AudioDSPKernelProcessor.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/platform/audio/AudioDSPKernelProcessor.cpp View 1 2 3 6 chunks +37 lines, -11 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
haraken
kbr: would you take a look?
7 years, 3 months ago (2013-09-04 01:22:26 UTC) #1
haraken
On 2013/09/04 01:22:26, haraken wrote: > kbr: would you take a look? rtoy1: Replaced the ...
7 years, 3 months ago (2013-09-04 16:59:33 UTC) #2
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/23931002/diff/1/Source/core/platform/audio/AudioDSPKernelProcessor.cpp File Source/core/platform/audio/AudioDSPKernelProcessor.cpp (right): https://codereview.chromium.org/23931002/diff/1/Source/core/platform/audio/AudioDSPKernelProcessor.cpp#newcode103 Source/core/platform/audio/AudioDSPKernelProcessor.cpp:103: void AudioDSPKernelProcessor::reset() Please add an assertion that this is ...
7 years, 3 months ago (2013-09-04 18:18:46 UTC) #3
haraken
Thanks for reviewing! kbr: Updated the CL. PTAL. https://codereview.chromium.org/23931002/diff/1/Source/core/platform/audio/AudioDSPKernelProcessor.cpp File Source/core/platform/audio/AudioDSPKernelProcessor.cpp (right): https://codereview.chromium.org/23931002/diff/1/Source/core/platform/audio/AudioDSPKernelProcessor.cpp#newcode103 Source/core/platform/audio/AudioDSPKernelProcessor.cpp:103: void ...
7 years, 3 months ago (2013-09-04 19:50:05 UTC) #4
Ken Russell (switch to Gerrit)
LGTM
7 years, 3 months ago (2013-09-04 19:55:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/23931002/8001
7 years, 3 months ago (2013-09-04 19:56:01 UTC) #6
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-04 20:24:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/23931002/20001
7 years, 3 months ago (2013-09-04 21:36:46 UTC) #8
commit-bot: I haz the power
7 years, 3 months ago (2013-09-05 01:24:50 UTC) #9
Message was sent while issue was closed.
Change committed as 157256

Powered by Google App Engine
This is Rietveld 408576698