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

Issue 23926002: Fix threading races on ConvolverNode::m_reverb in ConvolverNode::tailTime() (Closed)

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

Description

Fix threading races on ConvolverNode::m_reverb in ConvolverNode::tailTime() According to the crash report (https://cluster-fuzz.appspot.com/testcase?key=6515787040817152), ConvolverNode::m_reverb races between ConvolverNode::tailTime() and ConvolverNode::setBuffer(). This CL adds a proper lock for ConvolverNode::m_reverb. BUG=284785 No tests because the crash depends on threading races and thus not reproducible. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157243

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M Source/modules/webaudio/ConvolverNode.cpp View 1 2 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
haraken
abarth: would you take a look? crogers is no longer in the team.
7 years, 3 months ago (2013-09-04 00:30:32 UTC) #1
abarth-chromium
Perhaps Kenneth Russell would be a better reviewer? I'm not familiar with the details of ...
7 years, 3 months ago (2013-09-04 00:46:45 UTC) #2
haraken
kbr: would you take a look?
7 years, 3 months ago (2013-09-04 00:47:28 UTC) #3
Raymond Toy
https://codereview.chromium.org/23926002/diff/1/Source/modules/webaudio/ConvolverNode.cpp File Source/modules/webaudio/ConvolverNode.cpp (right): https://codereview.chromium.org/23926002/diff/1/Source/modules/webaudio/ConvolverNode.cpp#newcode161 Source/modules/webaudio/ConvolverNode.cpp:161: MutexLocker locker(m_processLock); I don't think we want to lock ...
7 years, 3 months ago (2013-09-04 16:18:14 UTC) #4
haraken
On 2013/09/04 16:18:14, rtoy1 wrote: > https://codereview.chromium.org/23926002/diff/1/Source/modules/webaudio/ConvolverNode.cpp > File Source/modules/webaudio/ConvolverNode.cpp (right): > > https://codereview.chromium.org/23926002/diff/1/Source/modules/webaudio/ConvolverNode.cpp#newcode161 > ...
7 years, 3 months ago (2013-09-04 16:25:03 UTC) #5
haraken
On 2013/09/04 16:25:03, haraken wrote: > On 2013/09/04 16:18:14, rtoy1 wrote: > > > https://codereview.chromium.org/23926002/diff/1/Source/modules/webaudio/ConvolverNode.cpp ...
7 years, 3 months ago (2013-09-04 16:57:12 UTC) #6
Raymond Toy (Google)
On 2013/09/04 16:57:12, haraken wrote: > On 2013/09/04 16:25:03, haraken wrote: > > On 2013/09/04 ...
7 years, 3 months ago (2013-09-04 17:07:50 UTC) #7
Ken Russell (switch to Gerrit)
LGTM with rtoy's feedback addressed. For these simple values I wonder whether it's worth caching ...
7 years, 3 months ago (2013-09-04 18:12:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/23926002/13001
7 years, 3 months ago (2013-09-04 19:44:56 UTC) #9
haraken
Thanks for reviewing! Changed it to std::numeric_limits<double>::infinity().
7 years, 3 months ago (2013-09-04 19:45:42 UTC) #10
commit-bot: I haz the power
7 years, 3 months ago (2013-09-04 20:59:05 UTC) #11
Message was sent while issue was closed.
Change committed as 157243

Powered by Google App Engine
This is Rietveld 408576698