DescriptionTry NtDuplicateObject instead of DuplicateHandle on Windows 8/8.1 for debugging AppContainer related failures.
This patch should be reverted as soon as we get some confirmation that NtDuplicateObject is working better compared to DuplicateHandle.
Theory behind this patch is that it might be possible that on machines which reporting this find of failure have some software like AV which might be intercepting calls to DuplciateHandle and may be failing somewhere in intercepted code path due to AppContainer.
Looking in IDA error code that we are receiving 0xC0000023 (Which translates INSUFFICIENT_BUFFER (0x7a) in win32 language) doesn't seem to be in NtDuplicateObject code path (At least not found easily.).
BUG=468922
R=jschuh@chromium.org,cpu@chromium.org
Committed: https://crrev.com/f7d692ca5448140fb21ffa42ca8b1535aae0b490
Cr-Commit-Position: refs/heads/master@{#326943}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Code review comments. #Messages
Total messages: 8 (1 generated)
|