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

Issue 1492523002: mojo: Improve crash stack. (Closed)

Created:
5 years ago by Peng
Modified:
5 years ago
Reviewers:
Elliot Glaysher, sadrul, sky
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mojo: Improve crash stack. Call base::debug::EnableInProcessStackDumping() just before initializing the sandbox, so we could cache symbols in all loaded libraries. BUG=564184 Committed: https://crrev.com/6758eae9b2a83b42ab8f7926b55cded4ddcd0f71 Cr-Commit-Position: refs/heads/master@{#362531}

Patch Set 1 : . #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -5 lines) Patch
M mojo/runner/desktop/main_helper.cc View 2 chunks +0 lines, -3 lines 1 comment Download
M mojo/runner/host/child_process.cc View 2 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Peng
Hi Scott, PTAL. Thanks.
5 years ago (2015-12-01 19:23:50 UTC) #3
sky
LGTM
5 years ago (2015-12-01 21:27:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1492523002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1492523002/20001
5 years ago (2015-12-01 21:48:47 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:20001)
5 years ago (2015-12-01 22:24:33 UTC) #8
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/6758eae9b2a83b42ab8f7926b55cded4ddcd0f71 Cr-Commit-Position: refs/heads/master@{#362531}
5 years ago (2015-12-01 22:26:34 UTC) #10
sadrul
https://codereview.chromium.org/1492523002/diff/20001/mojo/runner/desktop/main_helper.cc File mojo/runner/desktop/main_helper.cc (left): https://codereview.chromium.org/1492523002/diff/20001/mojo/runner/desktop/main_helper.cc#oldcode45 mojo/runner/desktop/main_helper.cc:45: base::debug::EnableInProcessStackDumping(); Remove this caused no backtrace when mus crashes. ...
5 years ago (2015-12-03 18:15:51 UTC) #12
jam
This also broke Windows.
5 years ago (2015-12-08 20:35:29 UTC) #13
Peng
On 2015/12/08 20:35:29, jam wrote: > This also broke Windows. What do you mean? The ...
5 years ago (2015-12-08 20:38:21 UTC) #14
jam
On 2015/12/08 20:38:21, Peng wrote: > On 2015/12/08 20:35:29, jam wrote: > > This also ...
5 years ago (2015-12-08 21:58:07 UTC) #15
chromium-reviews
5 years ago (2015-12-09 00:39:27 UTC) #16
Message was sent while issue was closed.
Thanks for taking care of the issue.

On Tue, Dec 8, 2015 at 4:58 PM, <jam@chromium.org> wrote:

> On 2015/12/08 20:38:21, Peng wrote:
>
>> On 2015/12/08 20:35:29, jam wrote:
>> > This also broke Windows.
>>
>
> What do you mean? The StackTrace() doesn't work on Windows for mus
>> process, or
>>
> a
>
>> crash happens.
>>
>
> stack traces don't show up in both mojo's main runner process, and also
> child
> processes (like mus).
>
> i have a fix for this in https://codereview.chromium.org/1508053003
>
> https://codereview.chromium.org/1492523002/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698