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

Issue 1428753009: win: crashpad_util_test ProcessInfo.Handles doesn't work with CONOUT$ (Closed)

Created:
5 years, 1 month ago by Mark Mentovai
Modified:
5 years, 1 month ago
Reviewers:
scottmg
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

win: crashpad_util_test ProcessInfo.Handles doesn't work with CONOUT$ In 2eeaa3ac549a, I added a check to make sure that the expected CONOUT$ handle was found. Its omission seemed to be unintentional. The tests passed for me on Windows 10, but failed on the bots. I can reproduce the failures locally on Windows 7. Doing the inheritance test with a file other than CONOUT$ fixes the immediate problem, but we should find out why this CONOUT$ handle isn't showing up in the handles list on Windows 7, fix it, and add back a test. R=scottmg@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/82ffeaa0f0866e04e9e3b4f36fe27143cc2f233e

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -7 lines) Patch
M util/win/process_info_test.cc View 1 chunk +9 lines, -7 lines 1 comment Download

Messages

Total messages: 9 (1 generated)
Mark Mentovai
Do you have any better ideas? We’re evidently not capturing all handles. https://codereview.chromium.org/1428753009/diff/1/util/win/process_info_test.cc File util/win/process_info_test.cc ...
5 years, 1 month ago (2015-11-05 19:42:02 UTC) #2
Mark Mentovai
Where this fails for me on Windows 7, inherited_file from CONOUT$ is 3, which I’m ...
5 years, 1 month ago (2015-11-05 19:54:47 UTC) #3
Mark Mentovai
If I DuplicateHandle() it, I get 0x13, which still doesn’t show up in the list ...
5 years, 1 month ago (2015-11-05 20:03:09 UTC) #4
scottmg
Hmm, I can't think of anything, but lgtm to green the test.
5 years, 1 month ago (2015-11-05 20:06:51 UTC) #5
Mark Mentovai
Committed patchset #1 (id:1) manually as 82ffeaa0f0866e04e9e3b4f36fe27143cc2f233e (presubmit successful).
5 years, 1 month ago (2015-11-05 20:08:33 UTC) #6
scottmg
On 2015/11/05 20:03:09, Mark Mentovai wrote: > If I DuplicateHandle() it, I get 0x13, which ...
5 years, 1 month ago (2015-11-05 20:08:38 UTC) #7
Mark Mentovai
I found this nugget in the DuplicateHandle() documentation: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724251 DuplicateHandle can duplicate handles to the ...
5 years, 1 month ago (2015-11-06 15:25:26 UTC) #8
Mark Mentovai
5 years, 1 month ago (2015-11-06 15:37:54 UTC) #9
Message was sent while issue was closed.
I confirmed that windbg can’t see this handle either, so I don’t think there’s
anything else to do here.

Powered by Google App Engine
This is Rietveld 408576698