DescriptionEnable Breakpad for crashes in trusted code in Native Client on Chrome for Linux.
This change ensures that the appropriate command line flag (SetCrashReporterCommandLine())
is set for the NaCl process and read by the NaCl main process when it starts.
TEST=
0. Ensure that Native Client is DEPS'ed in at revision 4097 or higher
1. From src/ issue
./build/gyp_chromim -f make -dlinux_breakpad=1
2. Build Chromium (debug build)
3. With env. variable CHROME_HEADLESS=1 and NACL_CRASH_TEST=1 run
out/Debug/chrome --enable-nacl --enable-crash-reporter
4. Visit a page that attempts to load a NaCl module, e.g.,
http://naclports.googlecode.com/svn/trunk/src/gallery/index.html
5. Observe that a .dmp file is created in ~/.config/chromium/Crash\ Reports/
BUG= http://code.google.com/p/nativeclient/issues/detail?id=206
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71459
Patch Set 1 #
Total comments: 2
Patch Set 2 : '' #
Messages
Total messages: 2 (0 generated)
|