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

Issue 2849038: Send client ID in crash report (Closed)

Created:
10 years, 5 months ago by kmixter1
Modified:
9 years, 7 months ago
Reviewers:
petkov
CC:
chromium-os-reviews_chromium.org
Base URL:
ssh://git@chromiumos-git//crash-reporter.git
Visibility:
Public.

Description

Send client ID in crash report BUG=4110, 988

Patch Set 1 #

Total comments: 10

Patch Set 2 : Respond to reviews and improve cleanup/diagnostics on failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -31 lines) Patch
M Makefile View 2 chunks +9 lines, -14 lines 0 comments Download
M crash_sender View 1 8 chunks +46 lines, -17 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
kmixter1
10 years, 5 months ago (2010-07-01 06:02:54 UTC) #1
petkov
A few nits/questions, LGTM otherwise. http://codereview.chromium.org/2849038/diff/1/3 File crash_sender (right): http://codereview.chromium.org/2849038/diff/1/3#newcode20 crash_sender:20: MINIDUMP_UPLOADER=/usr/bin/minidump_upload Unused? Remove if ...
10 years, 5 months ago (2010-07-01 06:33:45 UTC) #2
kmixter1
10 years, 5 months ago (2010-07-01 21:33:37 UTC) #3
pushing...

http://codereview.chromium.org/2849038/diff/1/3
File crash_sender (right):

http://codereview.chromium.org/2849038/diff/1/3#newcode20
crash_sender:20: MINIDUMP_UPLOADER=/usr/bin/minidump_upload
On 2010/07/01 06:33:45, petkov wrote:
> Unused? Remove if so...
> 

Done.

http://codereview.chromium.org/2849038/diff/1/3#newcode39
crash_sender:39: SECONDS_SEND_SPREAD=${SECONDS_SEND_SPREADS:-600}
On 2010/07/01 06:33:45, petkov wrote:
> I assume you've tested this with dash?
> 

The autotest did.  Also, I've used the external override to send these
immediately - though you did point out a typo.

http://codereview.chromium.org/2849038/diff/1/3#newcode88
crash_sender:88: # See crosbug.com/3303.
On 2010/07/01 06:33:45, petkov wrote:
> Do you still need to issue reference? If so, it should probably point directly
> to 988 instead.

Done.

http://codereview.chromium.org/2849038/diff/1/3#newcode89
crash_sender:89: if [ -f "${CONSENT_ID}" ]; then
On 2010/07/01 06:33:45, petkov wrote:
> Maybe -r instead of -f ?
> 
> Also, it almost hurts when I see 5 lines instead of 2 but, again, no style
> requirement :-)
> 

I generally like this if/else formatting better since it's the same number of
lines as in C (though admittedly in this specific case you could return the
value immediately instead of branching on it).  But I've changed it to be less
painful to you. ;)

http://codereview.chromium.org/2849038/diff/1/3#newcode167
crash_sender:167: lecho "Crash report receipt ID $(cat ${report_id})"
On 2010/07/01 06:33:45, petkov wrote:
> It might make sense to include recent receipt IDs in about:system. Or do you
> assume users can get this info from syslog?
> 

From syslog - this is only useful to developers and they will know about syslogs
which also show up in about:system.

Powered by Google App Engine
This is Rietveld 408576698