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

Issue 46573008: Fix a crash in URLFetcherCore by handling a case where |request_| is NULL (Closed)

Created:
7 years, 1 month ago by droger
Modified:
7 years, 1 month ago
Reviewers:
mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Fix a crash in URLFetcherCore by handling a case where |request_| is NULL This is a speculative fix for the crash: https://crash-old.corp.google.com/reportdetail?reportid=4897b184b09b23c8#crashing_thread My hypothesis is that the request is released while there is a pending call to DidWriteBuffer(). The request was maybe released because - the fetch was stopped or cancelled - or ReleaseRequest() was called in OnReadCompleted BUG=308626, 314241 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232929

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moved to DidWrirteBuffer #

Patch Set 3 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M net/url_request/url_fetcher_core.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
droger
7 years, 1 month ago (2013-10-30 10:40:21 UTC) #1
droger
ping we'd like to have this crash fixed. I am not sure if I correctly ...
7 years, 1 month ago (2013-10-31 12:15:21 UTC) #2
akalin
Sorry, missed this yesterday. I'm not sure if this is the right fix. Matt, you ...
7 years, 1 month ago (2013-10-31 16:13:34 UTC) #3
mmenke
On 2013/10/31 16:13:34, akalin wrote: > Sorry, missed this yesterday. > > I'm not sure ...
7 years, 1 month ago (2013-10-31 16:22:37 UTC) #4
mmenke
https://codereview.chromium.org/46573008/diff/1/net/url_request/url_fetcher_core.cc File net/url_request/url_fetcher_core.cc (right): https://codereview.chromium.org/46573008/diff/1/net/url_request/url_fetcher_core.cc#newcode836 net/url_request/url_fetcher_core.cc:836: return; I'd really like to just delete the writer ...
7 years, 1 month ago (2013-10-31 18:14:18 UTC) #5
akalin
I'll let Matt handle this review.
7 years, 1 month ago (2013-10-31 19:10:23 UTC) #6
rohitrao (ping after 24h)
One question while I have you guys: How recent is the code in question? I ...
7 years, 1 month ago (2013-11-01 12:03:18 UTC) #7
mmenke
On 2013/11/01 12:03:18, rohitrao wrote: > One question while I have you guys: > > ...
7 years, 1 month ago (2013-11-01 15:31:02 UTC) #8
droger
https://codereview.chromium.org/46573008/diff/1/net/url_request/url_fetcher_core.cc File net/url_request/url_fetcher_core.cc (right): https://codereview.chromium.org/46573008/diff/1/net/url_request/url_fetcher_core.cc#newcode836 net/url_request/url_fetcher_core.cc:836: return; On 2013/10/31 18:14:18, mmenke wrote: > I'd really ...
7 years, 1 month ago (2013-11-04 15:38:03 UTC) #9
mmenke
On 2013/11/04 15:38:03, droger wrote: > https://codereview.chromium.org/46573008/diff/1/net/url_request/url_fetcher_core.cc > File net/url_request/url_fetcher_core.cc (right): > > https://codereview.chromium.org/46573008/diff/1/net/url_request/url_fetcher_core.cc#newcode836 > ...
7 years, 1 month ago (2013-11-04 15:39:54 UTC) #10
mmenke
On 2013/11/04 15:39:54, mmenke wrote: > On 2013/11/04 15:38:03, droger wrote: > > > https://codereview.chromium.org/46573008/diff/1/net/url_request/url_fetcher_core.cc ...
7 years, 1 month ago (2013-11-04 15:42:20 UTC) #11
mmenke
On 2013/11/04 15:39:54, mmenke wrote: > On 2013/11/04 15:38:03, droger wrote: > > > https://codereview.chromium.org/46573008/diff/1/net/url_request/url_fetcher_core.cc ...
7 years, 1 month ago (2013-11-04 15:42:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/droger@chromium.org/46573008/120001
7 years, 1 month ago (2013-11-04 15:42:37 UTC) #13
droger
I added a comment, ptal.
7 years, 1 month ago (2013-11-04 15:55:56 UTC) #14
mmenke
On 2013/11/04 15:55:56, droger wrote: > I added a comment, ptal. LGTM
7 years, 1 month ago (2013-11-04 15:56:34 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/droger@chromium.org/46573008/350001
7 years, 1 month ago (2013-11-04 16:03:44 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-04 16:25:01 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/droger@chromium.org/46573008/350001
7 years, 1 month ago (2013-11-04 17:40:37 UTC) #18
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=218665
7 years, 1 month ago (2013-11-04 20:26:29 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/droger@chromium.org/46573008/350001
7 years, 1 month ago (2013-11-04 21:18:13 UTC) #20
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=218934
7 years, 1 month ago (2013-11-05 01:13:50 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/droger@chromium.org/46573008/350001
7 years, 1 month ago (2013-11-05 04:02:08 UTC) #22
commit-bot: I haz the power
7 years, 1 month ago (2013-11-05 06:47:07 UTC) #23
Message was sent while issue was closed.
Change committed as 232929

Powered by Google App Engine
This is Rietveld 408576698