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

Issue 2090703002: Include close errnos in crash dumps. (Closed)

Created:
4 years, 6 months ago by davidben
Modified:
4 years, 6 months ago
Reviewers:
Robert Sesek, Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Include close errnos in crash dumps. We may be crashing here because close is failing with EBADF (signalling other code having problems with fds) or because networked filesystems are buggy and failing with some other errno. Alias a copy of errno on the stack so we may distinguish the two. BUG=603354 Committed: https://crrev.com/3b6205579e92ceb47a07040a1c79d87923de7512 Cr-Commit-Position: refs/heads/master@{#401427}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rsesek comment #

Patch Set 3 : no such thing as PCHECK_EQ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -1 line) Patch
M base/files/scoped_file.cc View 2 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 15 (5 generated)
davidben
rsesek: What do you think? Is this worthwhile? It seems we don't know yet whether ...
4 years, 6 months ago (2016-06-22 19:34:33 UTC) #2
Robert Sesek
Yeah, this seems reasonable. https://codereview.chromium.org/2090703002/diff/1/base/files/scoped_file.cc File base/files/scoped_file.cc (right): https://codereview.chromium.org/2090703002/diff/1/base/files/scoped_file.cc#newcode40 base/files/scoped_file.cc:40: PCHECK(0 == ret); While you're ...
4 years, 6 months ago (2016-06-22 19:53:01 UTC) #3
davidben
https://codereview.chromium.org/2090703002/diff/1/base/files/scoped_file.cc File base/files/scoped_file.cc (right): https://codereview.chromium.org/2090703002/diff/1/base/files/scoped_file.cc#newcode40 base/files/scoped_file.cc:40: PCHECK(0 == ret); On 2016/06/22 19:53:01, Robert Sesek wrote: ...
4 years, 6 months ago (2016-06-22 19:58:28 UTC) #4
Robert Sesek
LGTM On 2016/06/22 19:58:28, davidben wrote: > https://codereview.chromium.org/2090703002/diff/1/base/files/scoped_file.cc > File base/files/scoped_file.cc (right): > > https://codereview.chromium.org/2090703002/diff/1/base/files/scoped_file.cc#newcode40 ...
4 years, 6 months ago (2016-06-22 20:21:58 UTC) #5
davidben
On 2016/06/22 20:21:58, Robert Sesek wrote: > LGTM > > On 2016/06/22 19:58:28, davidben wrote: ...
4 years, 6 months ago (2016-06-22 20:39:04 UTC) #6
davidben
+thakis for OWNERS.
4 years, 6 months ago (2016-06-22 20:39:22 UTC) #8
Nico
lgtm
4 years, 6 months ago (2016-06-22 20:44:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2090703002/40001
4 years, 6 months ago (2016-06-22 21:47:04 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-22 22:07:16 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-06-22 22:09:53 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3b6205579e92ceb47a07040a1c79d87923de7512
Cr-Commit-Position: refs/heads/master@{#401427}

Powered by Google App Engine
This is Rietveld 408576698