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

Issue 85523002: Fixed the crash in the wbaudio source provider when the audio track is going away. (Closed)

Created:
7 years ago by no longer working on chromium
Modified:
7 years ago
CC:
blink-reviews, Raymond Toy
Visibility:
Public.

Description

Fixed the crash in the webaudio source provider when the audio track is going away. Before this CL, it will hit a use-after-free crash on the renderer when the audio track in the media stream is going away and the webaudio mediastreamsourcenode is still running. BUG=322554 TEST=down upload webaudio.html in issue/322554, run chrome --js-flags=--expose-gc webaudio.html, the renderer should not crash Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162692

Patch Set 1 #

Total comments: 2

Patch Set 2 : removed the comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -9 lines) Patch
M Source/modules/webaudio/AudioContext.cpp View 1 chunk +5 lines, -4 lines 0 comments Download
M Source/modules/webaudio/MediaStreamAudioSourceNode.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/webaudio/MediaStreamAudioSourceNode.cpp View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
no longer working on chromium
Tommy, could you please review this CL? Thanks, SX
7 years ago (2013-11-25 10:34:37 UTC) #1
Tommy Widenflycht
Adding Jochen as reviewer since I am not an owner in the directory. https://codereview.chromium.org/85523002/diff/1/Source/modules/webaudio/MediaStreamAudioSourceNode.h File ...
7 years ago (2013-11-25 11:09:32 UTC) #2
no longer working on chromium
https://codereview.chromium.org/85523002/diff/1/Source/modules/webaudio/MediaStreamAudioSourceNode.h File Source/modules/webaudio/MediaStreamAudioSourceNode.h (right): https://codereview.chromium.org/85523002/diff/1/Source/modules/webaudio/MediaStreamAudioSourceNode.h#newcode67 Source/modules/webaudio/MediaStreamAudioSourceNode.h:67: // Keep a reference of the audio MediaStreamTrack which ...
7 years ago (2013-11-25 14:00:18 UTC) #3
no longer working on chromium
Thanks Tommy, Jochen, can I have your owner stamp? BR, SX
7 years ago (2013-11-25 14:00:39 UTC) #4
jochen (gone - plz use gerrit)
is it possible to turn the webaudio.html into a layout test?
7 years ago (2013-11-25 15:49:11 UTC) #5
Tommy Widenflycht
On 2013/11/25 15:49:11, jochen wrote: > is it possible to turn the webaudio.html into a ...
7 years ago (2013-11-26 12:35:57 UTC) #6
no longer working on chromium
On 2013/11/26 12:35:57, Tommy Widenflycht wrote: > On 2013/11/25 15:49:11, jochen wrote: > > is ...
7 years ago (2013-11-26 12:50:53 UTC) #7
jochen (gone - plz use gerrit)
ok, lgtm please make sure the browser test gets actually added :)
7 years ago (2013-11-26 13:25:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xians@chromium.org/85523002/60001
7 years ago (2013-11-26 13:28:46 UTC) #9
no longer working on chromium
On 2013/11/26 13:25:56, jochen wrote: > ok, lgtm > Thanks. > please make sure the ...
7 years ago (2013-11-26 13:29:01 UTC) #10
commit-bot: I haz the power
7 years ago (2013-11-26 15:00:36 UTC) #11
Message was sent while issue was closed.
Change committed as 162692

Powered by Google App Engine
This is Rietveld 408576698