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

Issue 1409693011: win: Only retry in UseHandler() loop on ERROR_PIPE_BUSY (Closed)

Created:
5 years, 1 month ago by scottmg
Modified:
5 years, 1 month ago
Reviewers:
Mark Mentovai
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: Only retry in UseHandler() loop on ERROR_PIPE_BUSY This is better because now end_to_end_test.py fails immediately with [1180:9020:20151106,145204.830:ERROR registration_protocol_win.cc:39] CreateFile: The system cannot find the file specified. (0x2) R=mark@chromium.org BUG=crashpad:75 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/ff274507dc30cb3b4273a04cd73f3ab5240d02e7

Patch Set 1 #

Total comments: 4

Patch Set 2 : make end_to_end work again #

Patch Set 3 : fixes #

Total comments: 6

Patch Set 4 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -8 lines) Patch
M snapshot/win/end_to_end_test.py View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M util/win/registration_protocol_win.cc View 1 2 3 4 chunks +16 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
scottmg
5 years, 1 month ago (2015-11-06 22:54:03 UTC) #1
Mark Mentovai
It looks like you and I collided, but I think our changes can complement each ...
5 years, 1 month ago (2015-11-06 23:03:34 UTC) #2
scottmg
How about like this? https://codereview.chromium.org/1409693011/diff/1/util/win/registration_protocol_win.cc File util/win/registration_protocol_win.cc (right): https://codereview.chromium.org/1409693011/diff/1/util/win/registration_protocol_win.cc#newcode43 util/win/registration_protocol_win.cc:43: if (!WaitNamedPipe(pipe_name.c_str(), 1000)) { On ...
5 years, 1 month ago (2015-11-06 23:10:59 UTC) #3
Mark Mentovai
LGTM https://codereview.chromium.org/1409693011/diff/40001/snapshot/win/end_to_end_test.py File snapshot/win/end_to_end_test.py (right): https://codereview.chromium.org/1409693011/diff/40001/snapshot/win/end_to_end_test.py#newcode107 snapshot/win/end_to_end_test.py:107: print 'Waiting for crashpad_handler to be ready...' Only ...
5 years, 1 month ago (2015-11-06 23:32:35 UTC) #4
scottmg
https://codereview.chromium.org/1409693011/diff/40001/snapshot/win/end_to_end_test.py File snapshot/win/end_to_end_test.py (right): https://codereview.chromium.org/1409693011/diff/40001/snapshot/win/end_to_end_test.py#newcode107 snapshot/win/end_to_end_test.py:107: print 'Waiting for crashpad_handler to be ready...' On 2015/11/06 ...
5 years, 1 month ago (2015-11-06 23:53:40 UTC) #5
scottmg
5 years, 1 month ago (2015-11-06 23:54:55 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
ff274507dc30cb3b4273a04cd73f3ab5240d02e7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698