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

Issue 2664373002: android: Add debug url to throw uncaught exception (Closed)

Created:
3 years, 10 months ago by boliu
Modified:
3 years, 10 months ago
CC:
chromium-reviews, creis+watch_chromium.org, vmpstr+watch_chromium.org, nasko+codewatch_chromium.org, jam, sadrul, darin-cc_chromium.org, piman+watch_chromium.org, kalyank
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

android: Add debug url to throw uncaught exception Currently there are no crash handlers for uncaught java exceptions in child processes. Add a chrome debug url to crash the GPU process with an uncaught java exception to aid in testing this code path. The plumbing is same as chrome://gpucrash, except everything is behind OS_ANDROID guards. The actual implementation of throwing the exception is in base. BUG=680775 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2664373002 Cr-Commit-Position: refs/heads/master@{#447908} Committed: https://chromium.googlesource.com/chromium/src/+/7a81c252f5f9cf8981f5df770a5acbb8d736eb6e

Patch Set 1 #

Patch Set 2 : complete #

Patch Set 3 : comment #

Patch Set 4 : fix missing os_android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -0 lines) Patch
M base/BUILD.gn View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
A base/android/java/src/org/chromium/base/ThrowUncaughtException.java View 1 1 chunk +23 lines, -0 lines 0 comments Download
A base/android/throw_uncaught_exception.h View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
A base/android/throw_uncaught_exception.cc View 1 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/debug_urls.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_process_host_ui_shim.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_process_host_ui_shim.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/common/gpu_host_messages.h View 1 chunk +5 lines, -0 lines 0 comments Download
M content/gpu/gpu_child_thread.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 3 chunks +10 lines, -0 lines 0 comments Download
M content/public/common/url_constants.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/url_constants.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
boliu
torne for base and overall thoughts so my plan is land this (and perhaps another ...
3 years, 10 months ago (2017-02-01 06:13:46 UTC) #5
Torne
Seems like a reasonable approach to me. Does the existing crash-in-java URL crash the browser ...
3 years, 10 months ago (2017-02-01 12:03:08 UTC) #6
boliu
On 2017/02/01 12:03:08, Torne wrote: > Seems like a reasonable approach to me. Does the ...
3 years, 10 months ago (2017-02-01 16:49:52 UTC) #7
boliu
ptal +nick for content and chrome as well (url_constants has owner=*) +ochang for content/common/gpu_host_messages.h
3 years, 10 months ago (2017-02-01 16:57:24 UTC) #9
Oliver Chang
On 2017/02/01 16:57:24, boliu wrote: > ptal > > +nick for content and chrome as ...
3 years, 10 months ago (2017-02-02 01:48:17 UTC) #10
ncarter (slow)
lgtm
3 years, 10 months ago (2017-02-02 20:16:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2664373002/40001
3 years, 10 months ago (2017-02-02 20:49:48 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/380702)
3 years, 10 months ago (2017-02-02 21:03:12 UTC) #15
boliu
On 2017/02/02 21:03:12, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 10 months ago (2017-02-02 21:15:01 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2664373002/60001
3 years, 10 months ago (2017-02-02 22:29:46 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/111800)
3 years, 10 months ago (2017-02-03 00:44:39 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2664373002/60001
3 years, 10 months ago (2017-02-03 00:53:05 UTC) #23
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 03:41:40 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/7a81c252f5f9cf8981f5df770a5a...

Powered by Google App Engine
This is Rietveld 408576698