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

Issue 41193002: Attempt3 at landing this. The previous attempt failed on Windows XP because the \Sessions\Session i… (Closed)

Created:
7 years, 2 months ago by ananta
Modified:
7 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

Attempt3 at landing this. The previous attempt failed on Windows XP because the \Sessions\Session id\BaseNamedObjects path does not always exist on Windows XP. It only exists for terminal server sessions. Relanding this with fixes for the SyncPolicyTest.TestEvent and SyncPolicyTest.TestEventReadOnly tests. Replace the CreateEvent/OpenEvent patches with their Nt counterparts like NtOpenEvent and NtCreateEvent. Reason being :- We patch these APIS via the Export table patch which does not work with bound imports. This results in our patched functions never getting called. This should fix the GPU process hang with the XP presentation path. The change from the previous patch is to resolve the BaseNamedObjects path via the \Sessions\BNOLinks directory which contains the BaseNamedObjects symbolic links for the running sessions BUG=305815 R=cpu@chromium.org, rvargas@chromium.org, cpu, rvargas Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231063

Patch Set 1 #

Total comments: 15

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+332 lines, -255 lines) Patch
M sandbox/win/src/interceptors.h View 1 chunk +2 lines, -4 lines 0 comments Download
M sandbox/win/src/interceptors_64.h View 1 chunk +8 lines, -16 lines 0 comments Download
M sandbox/win/src/interceptors_64.cc View 1 chunk +15 lines, -28 lines 0 comments Download
M sandbox/win/src/nt_internals.h View 1 chunk +26 lines, -0 lines 0 comments Download
M sandbox/win/src/sync_dispatcher.h View 1 chunk +2 lines, -3 lines 0 comments Download
M sandbox/win/src/sync_dispatcher.cc View 4 chunks +9 lines, -27 lines 0 comments Download
M sandbox/win/src/sync_interception.h View 1 chunk +23 lines, -46 lines 0 comments Download
M sandbox/win/src/sync_interception.cc View 2 chunks +91 lines, -115 lines 0 comments Download
M sandbox/win/src/sync_policy.h View 1 chunk +1 line, -2 lines 0 comments Download
M sandbox/win/src/sync_policy.cc View 1 2 chunks +155 lines, -14 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ananta
7 years, 2 months ago (2013-10-24 19:09:08 UTC) #1
cpu_(ooo_6.6-7.5)
can you paste here what is the new code?
7 years, 2 months ago (2013-10-24 22:06:50 UTC) #2
rvargas (doing something else)
lgtm It would have been nice to have a diff vs the first version :( ...
7 years, 2 months ago (2013-10-24 22:18:28 UTC) #3
ananta
On 2013/10/24 22:06:50, cpu wrote: > can you paste here what is the new code? ...
7 years, 2 months ago (2013-10-24 22:59:43 UTC) #4
ananta
https://codereview.chromium.org/41193002/diff/1/sandbox/win/src/sync_policy.cc File sandbox/win/src/sync_policy.cc (right): https://codereview.chromium.org/41193002/diff/1/sandbox/win/src/sync_policy.cc#newcode40 sandbox/win/src/sync_policy.cc:40: HANDLE symbolic_link_directory = NULL; On 2013/10/24 22:18:29, rvargas wrote: ...
7 years, 2 months ago (2013-10-24 22:59:50 UTC) #5
rvargas (doing something else)
To be honest, I don't think we should have all those DLOGs. It is nice ...
7 years, 2 months ago (2013-10-24 23:48:06 UTC) #6
cpu_(ooo_6.6-7.5)
lgtm
7 years, 1 month ago (2013-10-25 16:56:27 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ananta@chromium.org/41193002/290001
7 years, 1 month ago (2013-10-25 16:58:43 UTC) #8
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=32610
7 years, 1 month ago (2013-10-25 17:17:08 UTC) #9
ananta
7 years, 1 month ago (2013-10-25 18:46:21 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 manually as r231063 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698