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

Issue 7301003: Make AboutCrash handler crash directly. (Closed)

Created:
9 years, 5 months ago by Scott Hess - ex-Googler
Modified:
9 years, 5 months ago
Reviewers:
msw, Nico
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Make AboutCrash handler crash directly. Was inadvertantly changed to use CHECK(false). Reverting to crash directly so that the crash signature is more useful (AboutHandler::AboutCrash rather than BreakDebugger). BUG=none TEST=about:crash still crashes the renderer. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91448

Patch Set 1 #

Total comments: 1

Patch Set 2 : Belt and suspenders. #

Patch Set 3 : Oops, and volatile to prevent optimizing undefined behavior. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M chrome/renderer/about_handler.cc View 1 2 1 chunk +8 lines, -1 line 1 comment Download

Messages

Total messages: 5 (0 generated)
Scott Hess - ex-Googler
9 years, 5 months ago (2011-07-01 19:38:05 UTC) #1
msw
LGTM. Sorry for any inconvenience.
9 years, 5 months ago (2011-07-01 19:47:44 UTC) #2
Scott Hess - ex-Googler
http://codereview.chromium.org/7301003/diff/1/chrome/renderer/about_handler.cc File chrome/renderer/about_handler.cc (right): http://codereview.chromium.org/7301003/diff/1/chrome/renderer/about_handler.cc#newcode48 chrome/renderer/about_handler.cc:48: *zero = 0; In an email thread, msw said: ...
9 years, 5 months ago (2011-07-01 19:59:01 UTC) #3
msw
On 2011/07/01 19:59:01, shess wrote: > http://codereview.chromium.org/7301003/diff/1/chrome/renderer/about_handler.cc > File chrome/renderer/about_handler.cc (right): > > http://codereview.chromium.org/7301003/diff/1/chrome/renderer/about_handler.cc#newcode48 > ...
9 years, 5 months ago (2011-07-01 20:04:47 UTC) #4
Nico
9 years, 5 months ago (2011-07-03 19:34:37 UTC) #5
http://codereview.chromium.org/7301003/diff/6001/chrome/renderer/about_handle...
File chrome/renderer/about_handler.cc (right):

http://codereview.chromium.org/7301003/diff/6001/chrome/renderer/about_handle...
chrome/renderer/about_handler.cc:52: // optimizes it away.
I don't think that can happen with a volatile pointer, 'cause volatile means
"contents can change in a volatile manner (e.g. when the pointer really reads
from a hardware device)"?

Powered by Google App Engine
This is Rietveld 408576698