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

Issue 6368072: Adding crash reporting on Linux for the GPU process.... (Closed)

Created:
9 years, 10 months ago by Vangelis Kokkevis
Modified:
9 years, 6 months ago
Reviewers:
Lei Zhang, agl
CC:
chromium-reviews
Visibility:
Public.

Description

Adding crash reporting on Linux for the GPU process. BUG=49577 TEST=Tested as follows: 1. Set GYP_DEFINES="linux_breakpad=1" 2. From src/ issue: ./build/gyp_chromium -f make 3. Build chromium 4. Run: chrome --enable-crash-reporter 5. Visit a page that causes the gpu process to be launched (e.g. "about:gpu") 6. Go to "about:gpucrash" to force a gpu process crash 7. Verify that a .dmp file is create in ~/.config/chromium/Crash\ Reports/ Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=73639

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -4 lines) Patch
M chrome/app/breakpad_linux.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/child_process_launcher.cc View 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/crash_handler_host_linux.h View 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/crash_handler_host_linux.cc View 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/crash_handler_host_linux_stub.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/gpu_process_host.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Vangelis Kokkevis
CL ready for review. Would you mind taking a look or suggest an appropriate reviewer? ...
9 years, 10 months ago (2011-02-03 07:47:00 UTC) #1
Lei Zhang
Looks like you need to fix up crash_handler_host_linux_stub.cc for Chromium. http://codereview.chromium.org/6368072/diff/1/chrome/browser/crash_handler_host_linux.cc File chrome/browser/crash_handler_host_linux.cc (right): http://codereview.chromium.org/6368072/diff/1/chrome/browser/crash_handler_host_linux.cc#newcode365 ...
9 years, 10 months ago (2011-02-03 08:00:44 UTC) #2
Vangelis Kokkevis
Thank you for the quick response, Lei. I modified crash_handler_host_linux_stub.cc and submitted another try job. ...
9 years, 10 months ago (2011-02-03 08:26:33 UTC) #3
Lei Zhang
9 years, 10 months ago (2011-02-03 08:40:59 UTC) #4
On 2011/02/03 08:26:33, Vangelis Kokkevis wrote:
> Thank you for the quick response, Lei.  I modified
> crash_handler_host_linux_stub.cc and submitted another try job.
> 
>
http://codereview.chromium.org/6368072/diff/1/chrome/browser/crash_handler_ho...
> File chrome/browser/crash_handler_host_linux.cc (right):
> 
>
http://codereview.chromium.org/6368072/diff/1/chrome/browser/crash_handler_ho...
> chrome/browser/crash_handler_host_linux.cc:365: process_type_ = "gpu-process";
> On 2011/02/03 08:00:45, Lei Zhang wrote:
> > nit: gpu is fine.
> 
> I wasn't sure if this is supposed to match the process type name that's set
in:
>
https://cs.corp.google.com/#chrome/trunk/src/chrome/app/chrome_main.cc&q=kgpu...
> 
> and defined in:
>
https://cs.corp.google.com/#chrome/trunk/src/chrome/common/chrome_switches.cc...
> 
> On the crash dashboard for the other platforms, gpu process crashes get a
> process type = "gpu-process" .

The other process types show up as "browser", "renderer", and "plugin", without
"-process" in their name. However, if the other platforms already have gpu
crashes labeled as "gpu-process", then it's fine to do the same on Linux to keep
it consistent.

LGTM (and I'll look forward to the GPU crash reports)

Powered by Google App Engine
This is Rietveld 408576698