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

Issue 2687193003: android: Report child exception by crashing (Closed)

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

Description

android: Report child exception by crashing This is the second attempt of https://codereview.chromium.org/2677563006/ DumpWithoutCrash should not be enabled for child processes on Android because the browser is not set up to read multiple crash reports for the same child process. So enabling DumpWithoutCrash could lead to real crash reports getting dropped. This new implementation just crashes the child process to cause a crash report to be generated. Note this does not replace the need for KillChildUncaughtExceptionHandler, which is installed much earlier during start up and is designed to not cause hangs for any problems during start up as well. BUG=680775 Review-Url: https://codereview.chromium.org/2687193003 Cr-Commit-Position: refs/heads/master@{#449632} Committed: https://chromium.googlesource.com/chromium/src/+/328eda136de7172f4970f94774ba68528ab22adc

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -10 lines) Patch
M base/android/java/src/org/chromium/base/JavaExceptionReporter.java View 2 chunks +10 lines, -7 lines 0 comments Download
M base/android/java_exception_reporter.h View 1 chunk +5 lines, -0 lines 0 comments Download
M base/android/java_exception_reporter.cc View 1 chunk +15 lines, -3 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/crash/content/app/breakpad_linux.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
boliu
ptal, no longer using DumpWithoutCrash I dunno how hard it would be to make DumpWithoutCrash ...
3 years, 10 months ago (2017-02-09 23:10:36 UTC) #2
boliu
On 2017/02/09 23:10:36, boliu wrote: > ptal, no longer using DumpWithoutCrash > > I dunno ...
3 years, 10 months ago (2017-02-09 23:12:33 UTC) #3
Tobias Sargeant
On 2017/02/09 23:12:33, boliu wrote: > On 2017/02/09 23:10:36, boliu wrote: > > ptal, no ...
3 years, 10 months ago (2017-02-10 11:29:27 UTC) #4
Torne
LGTM
3 years, 10 months ago (2017-02-10 12:02:48 UTC) #5
boliu
+grt for chrome/app again +rsesek for breakpad
3 years, 10 months ago (2017-02-10 14:54:24 UTC) #7
grt (UTC plus 2)
chrome/app lgtm
3 years, 10 months ago (2017-02-10 15:43:02 UTC) #8
Robert Sesek
lgtm
3 years, 10 months ago (2017-02-10 15:43:46 UTC) #9
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/2687193003/1
3 years, 10 months ago (2017-02-10 15:46:53 UTC) #11
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 16:40:37 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/328eda136de7172f4970f94774ba...

Powered by Google App Engine
This is Rietveld 408576698