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

Issue 2519333006: Add CHECK's to debug QuicStreamSequencerBuffer in weird state. Add a destruction indicator to detec… (Closed)

Created:
4 years ago by danzh1
Modified:
4 years ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add CHECK's to debug QuicStreamSequencerBuffer in weird state. Add a destruction indicator to detect free after use. Also remove some tests because CHECK's prevent some corner case from happening. R=rch@chromium.org BUG=664200 Committed: https://crrev.com/0f23a5372fa884f61204f980fa057c168c6288eb Cr-Commit-Position: refs/heads/master@{#434659}

Patch Set 1 #

Total comments: 6

Patch Set 2 : remove stacktrace #

Patch Set 3 : using CHECK_GT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -38 lines) Patch
M net/quic/core/quic_stream_sequencer_buffer.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M net/quic/core/quic_stream_sequencer_buffer.cc View 1 2 6 chunks +16 lines, -1 line 0 comments Download
M net/quic/core/quic_stream_sequencer_buffer_test.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M net/quic/core/quic_stream_sequencer_test.cc View 1 chunk +2 lines, -17 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (7 generated)
danzh1
4 years ago (2016-11-23 20:30:13 UTC) #1
Ryan Hamilton
Thanks for doing this. I'm guessing this is going to cause quite a few crashes ...
4 years ago (2016-11-23 20:42:40 UTC) #2
danzh1
PTAL https://codereview.chromium.org/2519333006/diff/1/net/quic/core/quic_stream_sequencer_buffer.cc File net/quic/core/quic_stream_sequencer_buffer.cc (right): https://codereview.chromium.org/2519333006/diff/1/net/quic/core/quic_stream_sequencer_buffer.cc#newcode56 net/quic/core/quic_stream_sequencer_buffer.cc:56: CHECK(blocks_count_ > 1) << "blocks_count_ = " << ...
4 years ago (2016-11-23 21:39:24 UTC) #3
Ryan Hamilton
lgtm
4 years ago (2016-11-23 21:54:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2519333006/40001
4 years ago (2016-11-28 14:25:39 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-28 15:21:06 UTC) #12
commit-bot: I haz the power
4 years ago (2016-11-28 15:22:52 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0f23a5372fa884f61204f980fa057c168c6288eb
Cr-Commit-Position: refs/heads/master@{#434659}

Powered by Google App Engine
This is Rietveld 408576698