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

Issue 248653002: Linux Breakpad: Keep reading from the crash upload progress until a complete crash id has been rece… (Closed)

Created:
6 years, 8 months ago by Lei Zhang
Modified:
6 years, 8 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Linux Breakpad: Keep reading from the crash upload progress until a complete crash id has been received. BUG=363660 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266286

Patch Set 1 #

Patch Set 2 : handle cros #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : refactor, fix stupid mistakes, fix lint errors #

Total comments: 9

Patch Set 5 : address comments #

Patch Set 6 : O_CLOEXEC #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -49 lines) Patch
M components/breakpad/app/breakpad_linux.cc View 1 2 3 4 5 8 chunks +117 lines, -49 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Lei Zhang
jochen: Please review vapier/achaulk: Is this going to work well with crash_reporter? Does crash_reporter send ...
6 years, 8 months ago (2014-04-23 03:02:14 UTC) #1
jochen (gone - plz use gerrit)
lgtm
6 years, 8 months ago (2014-04-23 08:08:11 UTC) #2
achaulk
No, crash_reporter doesn't do the upload immediately, so nothing gets returned
6 years, 8 months ago (2014-04-23 13:46:04 UTC) #3
Lei Zhang
On 2014/04/23 13:46:04, achaulk wrote: > No, crash_reporter doesn't do the upload immediately, so nothing ...
6 years, 8 months ago (2014-04-23 21:14:16 UTC) #4
vapier
the only thing this code does is update the crash log, but in the system ...
6 years, 8 months ago (2014-04-23 21:18:07 UTC) #5
Lei Zhang
On 2014/04/23 21:18:07, vapier wrote: > the only thing this code does is update the ...
6 years, 8 months ago (2014-04-23 21:29:35 UTC) #6
vapier
if we used "_sys_cr_finished", it'd be generic and not dependent upon CrOS :)
6 years, 8 months ago (2014-04-23 21:30:55 UTC) #7
Lei Zhang
On 2014/04/23 21:30:55, vapier wrote: > if we used "_sys_cr_finished", it'd be generic and not ...
6 years, 8 months ago (2014-04-23 21:34:32 UTC) #8
Lei Zhang
On 2014/04/23 21:34:32, Lei Zhang wrote: > On 2014/04/23 21:30:55, vapier wrote: > > if ...
6 years, 8 months ago (2014-04-23 21:44:19 UTC) #9
vapier
well, i think the fewer #ifdefs, the better. at least in the crash UI, i've ...
6 years, 8 months ago (2014-04-23 22:03:20 UTC) #10
Lei Zhang
I fixed things a bit and did some refactoring in patch set 4. HandleCrashDump() is ...
6 years, 8 months ago (2014-04-24 00:37:25 UTC) #11
vapier
https://codereview.chromium.org/248653002/diff/110001/components/breakpad/app/breakpad_linux.cc File components/breakpad/app/breakpad_linux.cc (right): https://codereview.chromium.org/248653002/diff/110001/components/breakpad/app/breakpad_linux.cc#newcode1058 components/breakpad/app/breakpad_linux.cc:1058: buf[bytes_to_read] = 0; // Always NULL terminate the buffer. ...
6 years, 8 months ago (2014-04-24 00:47:38 UTC) #12
Lei Zhang
https://codereview.chromium.org/248653002/diff/110001/components/breakpad/app/breakpad_linux.cc File components/breakpad/app/breakpad_linux.cc (right): https://codereview.chromium.org/248653002/diff/110001/components/breakpad/app/breakpad_linux.cc#newcode1058 components/breakpad/app/breakpad_linux.cc:1058: buf[bytes_to_read] = 0; // Always NULL terminate the buffer. ...
6 years, 8 months ago (2014-04-24 01:30:47 UTC) #13
vapier
https://codereview.chromium.org/248653002/diff/110001/components/breakpad/app/breakpad_linux.cc File components/breakpad/app/breakpad_linux.cc (right): https://codereview.chromium.org/248653002/diff/110001/components/breakpad/app/breakpad_linux.cc#newcode1113 components/breakpad/app/breakpad_linux.cc:1113: const int kLogOpenFlags = O_CREAT | O_WRONLY | O_APPEND; ...
6 years, 8 months ago (2014-04-24 02:16:48 UTC) #14
vapier
lgtm
6 years, 8 months ago (2014-04-24 02:17:52 UTC) #15
Lei Zhang
O_CLOEXEC it is. As soon as I can actually build platform2, I'll go fix crash_reporter ...
6 years, 8 months ago (2014-04-24 02:19:16 UTC) #16
Lei Zhang
The CQ bit was checked by thestig@chromium.org
6 years, 8 months ago (2014-04-25 05:48:17 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/248653002/150001
6 years, 8 months ago (2014-04-25 08:25:02 UTC) #18
commit-bot: I haz the power
6 years, 8 months ago (2014-04-25 23:34:51 UTC) #19
Message was sent while issue was closed.
Change committed as 266286

Powered by Google App Engine
This is Rietveld 408576698