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

Issue 12545006: The worker process launcher can now ask the worker to crash. (Closed)

Created:
7 years, 9 months ago by alexeypa (please no reviews)
Modified:
7 years, 9 months ago
Reviewers:
jschuh, Wez, Cris Neckar
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

The worker process launcher can now ask the worker process to crash. When the worker process launcher detects or is notified of a protocol violation: - It immediately stops processing IPCs from the worker, and requests that it crash. - The worker process may respect the request to crash, producing a dump for debugging. - If the worker ignores the request then it will be killed after a grace period has elapsed. BUG=179215 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187055

Patch Set 1 #

Total comments: 25

Patch Set 2 : CR feedback. #

Total comments: 2

Patch Set 3 : CR feedback. #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+382 lines, -120 lines) Patch
M remoting/host/chromoting_messages.h View 1 2 3 2 chunks +7 lines, -16 lines 0 comments Download
M remoting/host/daemon_process.h View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M remoting/host/daemon_process.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M remoting/host/daemon_process_unittest.cc View 1 2 3 6 chunks +15 lines, -1 line 0 comments Download
M remoting/host/daemon_process_win.cc View 1 2 3 3 chunks +10 lines, -0 lines 0 comments Download
M remoting/host/desktop_process.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/desktop_process.cc View 3 chunks +10 lines, -2 lines 0 comments Download
M remoting/host/desktop_process_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/desktop_session_win.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/host/desktop_session_win.cc View 1 2 3 4 chunks +5 lines, -6 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 3 4 chunks +11 lines, -3 lines 0 comments Download
M remoting/host/win/unprivileged_process_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/win/unprivileged_process_delegate.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M remoting/host/win/worker_process_launcher.h View 1 2 4 chunks +20 lines, -0 lines 0 comments Download
M remoting/host/win/worker_process_launcher.cc View 1 2 15 chunks +104 lines, -30 lines 0 comments Download
M remoting/host/win/worker_process_launcher_unittest.cc View 1 2 18 chunks +163 lines, -54 lines 0 comments Download
M remoting/host/win/wts_session_process_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/win/wts_session_process_delegate.cc View 4 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
alexeypa (please no reviews)
PTAL.
7 years, 9 months ago (2013-03-06 21:02:42 UTC) #1
Wez
On 2013/03/06 21:02:42, alexeypa wrote: > PTAL. nit: The CL description has some typos. It ...
7 years, 9 months ago (2013-03-07 01:38:35 UTC) #2
Wez
https://chromiumcodereview.appspot.com/12545006/diff/1/remoting/host/win/worker_process_launcher.cc File remoting/host/win/worker_process_launcher.cc (right): https://chromiumcodereview.appspot.com/12545006/diff/1/remoting/host/win/worker_process_launcher.cc#newcode49 remoting/host/win/worker_process_launcher.cc:49: const int kDelayTimeoutSeconds = 5; nit: Naming. e.g. kCrashRequestTimeoutSeconds? ...
7 years, 9 months ago (2013-03-07 01:54:34 UTC) #3
alexeypa (please no reviews)
PTAL. https://chromiumcodereview.appspot.com/12545006/diff/1/remoting/host/win/worker_process_launcher.cc File remoting/host/win/worker_process_launcher.cc (right): https://chromiumcodereview.appspot.com/12545006/diff/1/remoting/host/win/worker_process_launcher.cc#newcode49 remoting/host/win/worker_process_launcher.cc:49: const int kDelayTimeoutSeconds = 5; On 2013/03/07 01:54:35, ...
7 years, 9 months ago (2013-03-07 21:28:30 UTC) #4
Wez
LGTM w/ nits https://chromiumcodereview.appspot.com/12545006/diff/1/remoting/host/win/worker_process_launcher.cc File remoting/host/win/worker_process_launcher.cc (right): https://chromiumcodereview.appspot.com/12545006/diff/1/remoting/host/win/worker_process_launcher.cc#newcode49 remoting/host/win/worker_process_launcher.cc:49: const int kDelayTimeoutSeconds = 5; On ...
7 years, 9 months ago (2013-03-08 01:45:15 UTC) #5
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/12545006/diff/1/remoting/host/win/worker_process_launcher.cc File remoting/host/win/worker_process_launcher.cc (right): https://chromiumcodereview.appspot.com/12545006/diff/1/remoting/host/win/worker_process_launcher.cc#newcode98 remoting/host/win/worker_process_launcher.cc:98: static void Destruct(const Core* core); On 2013/03/08 01:45:15, Wez ...
7 years, 9 months ago (2013-03-08 17:43:19 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/12545006/3002
7 years, 9 months ago (2013-03-08 17:55:30 UTC) #7
commit-bot: I haz the power
Presubmit check for 12545006-3002 failed and returned exit status 1. INFO:root:Found 18 file(s). Running presubmit ...
7 years, 9 months ago (2013-03-08 17:55:39 UTC) #8
alexeypa (please no reviews)
Cris, could you please take a look at remoting/host/chromoting_messages.h? The CL just merges two messages ...
7 years, 9 months ago (2013-03-08 17:59:38 UTC) #9
alexeypa (please no reviews)
On 2013/03/08 17:59:38, alexeypa wrote: > Cris, could you please take a look at remoting/host/chromoting_messages.h? ...
7 years, 9 months ago (2013-03-08 18:11:29 UTC) #10
jschuh
On 2013/03/08 18:11:29, alexeypa wrote: > On 2013/03/08 17:59:38, alexeypa wrote: > > Cris, could ...
7 years, 9 months ago (2013-03-08 20:52:38 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/12545006/3002
7 years, 9 months ago (2013-03-08 20:59:07 UTC) #12
commit-bot: I haz the power
7 years, 9 months ago (2013-03-08 22:37:59 UTC) #13
Message was sent while issue was closed.
Change committed as 187055

Powered by Google App Engine
This is Rietveld 408576698