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

Issue 1108953003: Conv CHECK->DCHECK in CloseHandle (top crasher & data enough to debug) (Closed)

Created:
5 years, 7 months ago by Shrikant Kelkar
Modified:
5 years, 7 months ago
CC:
chromium-reviews, grt+watch_chromium.org, erikwright+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Conv CHECK->DCHECK in CloseHandle (top crasher & data enough to debug) We seem to have gathered enough data to find out debug further cause/reason for calling CloseHandle on already closed/invalid handle. There are couple of theories which need to be investigated further like policy ownership of TargetProcess and thread watching for JOB_OBJECT_MSG_ACTIVE_PROCESS_ZERO. CHECK seem to have introduced with CL https://codereview.chromium.org/1045513004 BUG=480639 R=cpu@chromium.org,grt@chromium.org Committed: https://crrev.com/dfb73a76e24eadbb2311c7b756c0383acefc8f06 Cr-Commit-Position: refs/heads/master@{#327348}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Code review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M base/win/scoped_handle.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
Shrikant Kelkar
5 years, 7 months ago (2015-04-27 23:39:52 UTC) #1
Will Harris
drive-by comment - won't removing this CHECK mean that these CloseHandle failures become impossible to ...
5 years, 7 months ago (2015-04-27 23:59:45 UTC) #2
Shrikant Kelkar
On 2015/04/27 23:59:45, Will Harris wrote: > drive-by comment - won't removing this CHECK mean ...
5 years, 7 months ago (2015-04-28 00:07:57 UTC) #3
grt (UTC plus 2)
https://codereview.chromium.org/1108953003/diff/1/base/win/scoped_handle.cc File base/win/scoped_handle.cc (right): https://codereview.chromium.org/1108953003/diff/1/base/win/scoped_handle.cc#newcode44 base/win/scoped_handle.cc:44: DCHECK(false); return false in this case. how about: if ...
5 years, 7 months ago (2015-04-28 01:54:03 UTC) #4
Shrikant Kelkar
https://codereview.chromium.org/1108953003/diff/1/base/win/scoped_handle.cc File base/win/scoped_handle.cc (right): https://codereview.chromium.org/1108953003/diff/1/base/win/scoped_handle.cc#newcode44 base/win/scoped_handle.cc:44: DCHECK(false); On 2015/04/28 01:54:03, grt wrote: > return false ...
5 years, 7 months ago (2015-04-28 17:59:10 UTC) #5
grt (UTC plus 2)
lgtm
5 years, 7 months ago (2015-04-28 18:23:38 UTC) #6
cpu_(ooo_6.6-7.5)
yeah, don't know if there is a master switch but we have plenty of crashes ...
5 years, 7 months ago (2015-04-28 18:24:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1108953003/20001
5 years, 7 months ago (2015-04-28 18:25:11 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 7 months ago (2015-04-28 19:35:24 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/dfb73a76e24eadbb2311c7b756c0383acefc8f06 Cr-Commit-Position: refs/heads/master@{#327348}
5 years, 7 months ago (2015-04-28 19:36:23 UTC) #11
rvargas (doing something else)
Please don't do this!. (AKA, revert this change). The contract for a lot of stuff ...
5 years, 7 months ago (2015-04-30 01:18:19 UTC) #13
grt (UTC plus 2)
5 years, 7 months ago (2015-04-30 02:46:39 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1109423003/ by grt@chromium.org.

The reason for reverting is: rvargas said so..

Powered by Google App Engine
This is Rietveld 408576698