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

Issue 2694023002: linux/cros: Print a warning when StackDumpSignalHandler calls _exit(1) (Closed)

Created:
3 years, 10 months ago by James Cook
Modified:
3 years, 10 months ago
Reviewers:
Mark Mentovai, erikchen
CC:
chromium-reviews, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

linux/cros: Print a warning when StackDumpSignalHandler calls _exit(1) StackDumpSignalHandler is used by EnableInProcessStackDumping, usually on non- official builds. On Mac it prints the stack and re-raises the signal. On Linux it prints the stack and calls _exit(1). This means that Linux and Chrome OS builds won't leave core files or call crash_reporter. This is super-confusing for developers, since most of us don't run official builds. Print a warning that the crashing process is calling _exit(1) and that a core file will not be generated. BUG=551681 TEST=manual, trigger a CHECK, see the warning printed Review-Url: https://codereview.chromium.org/2694023002 Cr-Commit-Position: refs/heads/master@{#450192} Committed: https://chromium.googlesource.com/chromium/src/+/bb9edce13cdf6f840b3a940d3649d5631c660544

Patch Set 1 #

Patch Set 2 : just warn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M base/debug/stack_trace_posix.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (16 generated)
James Cook
erikchen, please take a look. I hate to add logging, but I've been burned twice ...
3 years, 10 months ago (2017-02-13 23:16:18 UTC) #11
erikchen
On 2017/02/13 23:16:18, James Cook wrote: > erikchen, please take a look. I hate to ...
3 years, 10 months ago (2017-02-13 23:36:30 UTC) #12
James Cook
mark, can I get OWNERS? As I mentioned to Erik above, I hate to add ...
3 years, 10 months ago (2017-02-13 23:55:13 UTC) #14
Mark Mentovai
LGTM because this at least makes what’s happening obvious, but StackDumpSignalHandler is a mess. Also, ...
3 years, 10 months ago (2017-02-14 01:18:23 UTC) #17
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/2694023002/20001
3 years, 10 months ago (2017-02-14 01:30:11 UTC) #19
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 01:39:07 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/bb9edce13cdf6f840b3a940d3649...

Powered by Google App Engine
This is Rietveld 408576698