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

Issue 1702008: Add crash_reporter functionality (Closed)

Created:
10 years, 8 months ago by kmixter1
Modified:
9 years, 7 months ago
Reviewers:
petkov, sosa
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

Add crash_reporter functionality BUG=2616, 2617

Patch Set 1 #

Patch Set 2 : syntax fixes #

Total comments: 55

Patch Set 3 : respond to review #

Total comments: 14

Patch Set 4 : avoid re-initing crash-reporter #

Patch Set 5 : add more to todo #

Total comments: 1

Patch Set 6 : add set -e #

Unified diffs Side-by-side diffs Delta from patch set Stats (+576 lines, -3 lines) Patch
A src/platform/crash/Makefile View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A src/platform/crash/crash_reporter.cc View 1 2 3 4 1 chunk +115 lines, -0 lines 0 comments Download
A src/platform/crash/make_tests.sh View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
A src/platform/crash/system_logging.h View 1 chunk +30 lines, -0 lines 0 comments Download
A src/platform/crash/system_logging.cc View 1 chunk +44 lines, -0 lines 0 comments Download
A src/platform/crash/system_logging_mock.h View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
A src/platform/crash/system_logging_mock.cc View 1 chunk +35 lines, -0 lines 0 comments Download
A src/platform/crash/user_collector.h View 1 2 3 1 chunk +62 lines, -0 lines 0 comments Download
A src/platform/crash/user_collector.cc View 1 2 1 chunk +75 lines, -0 lines 0 comments Download
A src/platform/crash/user_collector_test.cc View 1 2 1 chunk +102 lines, -0 lines 0 comments Download
M src/platform/init/chromeos_shutdown View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A src/platform/init/crash-reporter.conf View 3 1 chunk +22 lines, -0 lines 0 comments Download
M src/scripts/build_tests.sh View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/scripts/run_tests.sh View 1 2 3 4 5 1 chunk +14 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
kmixter1
10 years, 8 months ago (2010-04-26 18:17:24 UTC) #1
sosa
http://codereview.chromium.org/1702008/diff/2001/3003 File src/platform/crash/crash_reporter.cc (right): http://codereview.chromium.org/1702008/diff/2001/3003#newcode24 src/platform/crash/crash_reporter.cc:24: "/var/run/crash_reporter/pending_clean_shutdown"; This location is on tmpfs so won't persist ...
10 years, 8 months ago (2010-04-26 20:45:51 UTC) #2
petkov
Mostly nits... http://codereview.chromium.org/1702008/diff/2001/3001 File src/platform/crash/Makefile (right): http://codereview.chromium.org/1702008/diff/2001/3001#newcode6 src/platform/crash/Makefile:6: CXXFLAGS ?= -Wall -Werror -g Does ebuild ...
10 years, 8 months ago (2010-04-26 23:27:10 UTC) #3
kmixter1
PTAL http://codereview.chromium.org/1702008/diff/2001/3001 File src/platform/crash/Makefile (right): http://codereview.chromium.org/1702008/diff/2001/3001#newcode6 src/platform/crash/Makefile:6: CXXFLAGS ?= -Wall -Werror -g It does and ...
10 years, 8 months ago (2010-04-29 02:19:38 UTC) #4
sosa
Did you upload all the changes? I noticed there is no new patch to user_collect.c/h ...
10 years, 7 months ago (2010-04-29 16:51:23 UTC) #5
kmixter1
You're right - it's uploaded now. On Thu, Apr 29, 2010 at 9:51 AM, <sosa@chromium.org> ...
10 years, 7 months ago (2010-04-29 20:21:45 UTC) #6
petkov
mostly questions/comments, no real issues, so lgtm in respect to my review. http://codereview.chromium.org/1702008/diff/2001/3003 File src/platform/crash/crash_reporter.cc ...
10 years, 7 months ago (2010-04-29 21:43:33 UTC) #7
sosa
lgtm + nit http://codereview.chromium.org/1702008/diff/19001/20009 File src/platform/crash/user_collector.h (right): http://codereview.chromium.org/1702008/diff/19001/20009#newcode27 src/platform/crash/user_collector.h:27: Kill this extra line
10 years, 7 months ago (2010-04-29 22:49:44 UTC) #8
petkov
http://codereview.chromium.org/1702008/diff/19001/20002 File src/platform/crash/crash_reporter.cc (right): http://codereview.chromium.org/1702008/diff/19001/20002#newcode35 src/platform/crash/crash_reporter.cc:35: static bool IsMetricsCollectionAllowed() { Actually, I do have some ...
10 years, 7 months ago (2010-04-30 15:06:09 UTC) #9
kmixter1
PTAL petkov http://codereview.chromium.org/1702008/diff/19001/20001 File src/platform/crash/Makefile (right): http://codereview.chromium.org/1702008/diff/19001/20001#newcode18 src/platform/crash/Makefile:18: $(CXX) $(CXXFLAGS) $(LIB_DIRS) $^ $(LIBS) -o $@ ...
10 years, 7 months ago (2010-04-30 23:18:52 UTC) #10
petkov
LGTM
10 years, 7 months ago (2010-05-03 06:16:10 UTC) #11
petkov
10 years, 7 months ago (2010-05-04 16:21:55 UTC) #12
http://codereview.chromium.org/1702008/diff/18002/29004
File src/platform/crash/make_tests.sh (right):

http://codereview.chromium.org/1702008/diff/18002/29004#newcode11
src/platform/crash/make_tests.sh:11: make tests
This should signal build failure to the ebuild or build_tests.sh would think it
succeeded even if "make tests" failed.

So maybe add "set -e".

Powered by Google App Engine
This is Rietveld 408576698