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

Issue 2014973002: Reland of Adding a some checks and switching out a few assert for RTC_[D]CHECK. (Closed)

Created:
4 years, 7 months ago by tommi
Modified:
4 years, 6 months ago
Reviewers:
kjellander_webrtc
CC:
webrtc-reviews_webrtc.org, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Reland of Adding a some checks and switching out a few assert for RTC_[D]CHECK. (patchset #1 id:1 of https://codereview.webrtc.org/2018553002/ ) Adding a some checks and switching out a few assert for RTC_[D]CHECK. These changes are around use of AudioFrame.data_ to help us catch issues earlier since assert() is left out in release builds, including builds with DCHECK enabled. I've also added a few full-on CHECKs to avoid reading past buffer boundaries or continuing on in a failed state. TBR=kjellander@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Committed: https://crrev.com/60c4e0ae8f124f08372645a95042f4a1246d7aa3 Cr-Commit-Position: refs/heads/master@{#12925} Committed: https://crrev.com/5771beb265129082d31736259b7dc6ca037cff4d Cr-Commit-Position: refs/heads/master@{#12926} Committed: https://crrev.com/54e1c6a500e390e543bce7b78fae65eb9bb14ab6 Cr-Commit-Position: refs/heads/master@{#12927} Committed: https://crrev.com/f9d2fe983fe196373850c55acd3dc3824add480e Cr-Commit-Position: refs/heads/master@{#12928} Committed: https://chromium.googlesource.com/external/webrtc/+/f4fc0ff6f98695eaee527762c27824938d57c442 Committed: https://crrev.com/c47f0099eee08e8b6731a359563ba09dfe453ded Cr-Commit-Position: refs/heads/master@{#12930} Committed: https://crrev.com/0ad72ead67ce848b45541af6aba0a15486b5e0a7 Cr-Commit-Position: refs/heads/master@{#12931} Committed: https://crrev.com/90edc65929163cd03216bda0d9b534466581cb86 Cr-Commit-Position: refs/heads/master@{#12933}

Patch Set 1 #

Patch Set 2 : Rebase after landing channel.cc, external_media_test.cc #

Patch Set 3 : Rebase after landing audio_coding_module_unittest_oldapi.cc #

Patch Set 4 : Rebase after landing utility.cc #

Patch Set 5 : Rebase after landing push_resampler_unittest.cc #

Patch Set 6 : Disable push resampler death tests and factor out checks for the resampler #

Patch Set 7 : Fix hastiness #

Patch Set 8 : Fix hastiness #

Patch Set 9 : Refine ifdefs to affect the win clang bot only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -4 lines) Patch
M webrtc/common_audio/resampler/push_resampler.cc View 1 2 3 4 5 6 7 8 2 chunks +12 lines, -0 lines 0 comments Download
M webrtc/common_audio/resampler/push_resampler_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/audio_coding_module_unittest_oldapi.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (25 generated)
tommi
Created Reland of Adding a some checks and switching out a few assert for RTC_[D]CHECK.
4 years, 7 months ago (2016-05-26 19:15:10 UTC) #1
tommi
Henrik - please see the history in chromium:615050. I'm going to try landing files from ...
4 years, 7 months ago (2016-05-26 19:30:13 UTC) #5
tommi
Committed patchset #1 (id:1) manually as 60c4e0ae8f124f08372645a95042f4a1246d7aa3 (presubmit successful).
4 years, 7 months ago (2016-05-26 19:35:52 UTC) #7
tommi
Rebase after landing channel.cc, external_media_test.cc
4 years, 7 months ago (2016-05-26 19:48:55 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/5771beb265129082d31736259b7dc6ca037cff4d Cr-Commit-Position: refs/heads/master@{#12926}
4 years, 7 months ago (2016-05-26 19:51:47 UTC) #13
tommi
Committed patchset #2 (id:170001) manually as 5771beb265129082d31736259b7dc6ca037cff4d (presubmit successful).
4 years, 7 months ago (2016-05-26 19:51:48 UTC) #14
tommi
Rebase after landing audio_coding_module_unittest_oldapi.cc
4 years, 7 months ago (2016-05-26 19:53:43 UTC) #16
tommi
Committed patchset #3 (id:190001) manually as 54e1c6a500e390e543bce7b78fae65eb9bb14ab6 (presubmit successful).
4 years, 7 months ago (2016-05-26 20:03:21 UTC) #19
tommi
Rebase after landing utility.cc
4 years, 7 months ago (2016-05-26 20:04:41 UTC) #21
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/f9d2fe983fe196373850c55acd3dc3824add480e Cr-Commit-Position: refs/heads/master@{#12928}
4 years, 7 months ago (2016-05-26 20:21:47 UTC) #24
tommi
Committed patchset #4 (id:210001) manually as f9d2fe983fe196373850c55acd3dc3824add480e (presubmit successful).
4 years, 7 months ago (2016-05-26 20:21:49 UTC) #25
tommi
Rebase after landing push_resampler_unittest.cc
4 years, 7 months ago (2016-05-26 20:24:18 UTC) #27
tommi
On 2016/05/26 20:21:49, tommi-webrtc wrote: > Committed patchset #4 (id:210001) manually as > f9d2fe983fe196373850c55acd3dc3824add480e (presubmit ...
4 years, 7 months ago (2016-05-26 20:37:02 UTC) #28
tommi
Disable push resampler death tests and factor out checks for the resampler
4 years, 7 months ago (2016-05-26 20:40:03 UTC) #29
tommi
Committed patchset #6 (id:250001) manually as f4fc0ff6f98695eaee527762c27824938d57c442 (presubmit successful).
4 years, 7 months ago (2016-05-26 20:40:31 UTC) #32
tommi
Fix hastiness
4 years, 7 months ago (2016-05-26 20:51:18 UTC) #34
tommi
Fix hastiness
4 years, 7 months ago (2016-05-26 20:53:48 UTC) #35
tommi
Committed patchset #8 (id:290001) manually as c47f0099eee08e8b6731a359563ba09dfe453ded (presubmit successful).
4 years, 7 months ago (2016-05-26 20:55:54 UTC) #37
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/0ad72ead67ce848b45541af6aba0a15486b5e0a7 Cr-Commit-Position: refs/heads/master@{#12931}
4 years, 7 months ago (2016-05-26 21:07:55 UTC) #41
tommi
Committed patchset #8 (id:290001) manually as 0ad72ead67ce848b45541af6aba0a15486b5e0a7 (presubmit successful).
4 years, 7 months ago (2016-05-26 21:07:55 UTC) #42
tommi
On 2016/05/26 20:55:54, tommi-webrtc wrote: > Committed patchset #8 (id:290001) manually as > c47f0099eee08e8b6731a359563ba09dfe453ded (presubmit ...
4 years, 7 months ago (2016-05-26 21:11:43 UTC) #43
tommi
Refine ifdefs to affect the win clang bot only
4 years, 7 months ago (2016-05-26 21:47:32 UTC) #45
tommi
Committed patchset #9 (id:310001) manually as 90edc65929163cd03216bda0d9b534466581cb86 (presubmit successful).
4 years, 7 months ago (2016-05-26 21:48:34 UTC) #47
kjellander_webrtc
lgtm Sorry to see that you had to spend so much time on this. I'm ...
4 years, 6 months ago (2016-05-30 06:31:34 UTC) #49
tommi
4 years, 6 months ago (2016-05-30 07:44:30 UTC) #50
Message was sent while issue was closed.
On 2016/05/30 06:31:34, kjellander_webrtc wrote:
> lgtm
> Sorry to see that you had to spend so much time on this. I'm at least glad it
> was a compiler bug and not incorrect infrastructure.
> 
> Also notice that the same CL shouldn't really be used for relands but I guess
> it's fine in this case since there were so many submits+reverts back and
forth.

Yeah this was pretty messy

Powered by Google App Engine
This is Rietveld 408576698