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

Issue 12390027: Crash the network or desktop process when an unknown IPC message is received. (Closed)

Created:
7 years, 9 months ago by alexeypa (please no reviews)
Modified:
7 years, 9 months ago
Reviewers:
Lambros, Wez
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

Crash the network or desktop process when an unknown IPC message is received. When an unknown IPC message is received by the daemon, the sender process is asked to terminate itself to generate a crash dump. When such a message is received by either network or desktop process the receiver CHECK(). The crashed process will be automatically restarted by the daemon (applying exponential backoff as needed). BUG=179215 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186274

Patch Set 1 #

Total comments: 9

Patch Set 2 : CR feedback #

Total comments: 2

Patch Set 3 : rebased #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -6 lines) Patch
M remoting/host/daemon_process.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M remoting/host/desktop_process.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/host/desktop_session_agent.cc View 1 1 chunk +1 line, -6 lines 0 comments Download
M remoting/host/desktop_session_proxy.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/desktop_session_win.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
alexeypa (please no reviews)
PTAL.
7 years, 9 months ago (2013-02-28 23:50:33 UTC) #1
Wez
https://chromiumcodereview.appspot.com/12390027/diff/1/remoting/host/daemon_process.cc File remoting/host/daemon_process.cc (right): https://chromiumcodereview.appspot.com/12390027/diff/1/remoting/host/daemon_process.cc#newcode153 remoting/host/daemon_process.cc:153: DeleteAllDesktopSessions(); nit: We should really tear-down the IPC channel ...
7 years, 9 months ago (2013-02-28 23:53:13 UTC) #2
alexeypa (please no reviews)
On 2013/02/28 23:53:13, Wez wrote: > https://chromiumcodereview.appspot.com/12390027/diff/1/remoting/host/daemon_process.cc > File remoting/host/daemon_process.cc (right): > > https://chromiumcodereview.appspot.com/12390027/diff/1/remoting/host/daemon_process.cc#newcode153 > ...
7 years, 9 months ago (2013-03-01 00:09:49 UTC) #3
Wez
https://chromiumcodereview.appspot.com/12390027/diff/1/remoting/host/daemon_process.cc File remoting/host/daemon_process.cc (right): https://chromiumcodereview.appspot.com/12390027/diff/1/remoting/host/daemon_process.cc#newcode74 remoting/host/daemon_process.cc:74: return handled; Do you know what IpcChannel itself does ...
7 years, 9 months ago (2013-03-04 23:17:09 UTC) #4
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/12390027/diff/1/remoting/host/daemon_process.cc File remoting/host/daemon_process.cc (right): https://chromiumcodereview.appspot.com/12390027/diff/1/remoting/host/daemon_process.cc#newcode74 remoting/host/daemon_process.cc:74: return handled; On 2013/03/04 23:17:09, Wez wrote: > Do ...
7 years, 9 months ago (2013-03-05 00:01:44 UTC) #5
Wez
LGTM for the CHECKs and RestartDesktopProcess() call but not sure of the value of the ...
7 years, 9 months ago (2013-03-05 02:12:30 UTC) #6
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/12390027/diff/4002/remoting/host/daemon_process.cc File remoting/host/daemon_process.cc (right): https://chromiumcodereview.appspot.com/12390027/diff/4002/remoting/host/daemon_process.cc#newcode71 remoting/host/daemon_process.cc:71: CrashNetworkProcess(FROM_HERE); On 2013/03/05 02:12:31, Wez wrote: > Why do ...
7 years, 9 months ago (2013-03-05 18:09:15 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/12390027/12001
7 years, 9 months ago (2013-03-05 19:58:53 UTC) #8
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 9 months ago (2013-03-05 20:07:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/12390027/22001
7 years, 9 months ago (2013-03-05 20:47:10 UTC) #10
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 9 months ago (2013-03-05 20:54:36 UTC) #11
alexeypa (please no reviews)
7 years, 9 months ago (2013-03-05 22:47:30 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 manually as r186274 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698