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

Issue 1748016: Avoid reporting crashes for exceptions that hit our SEH from calls to the ori... (Closed)

Created:
10 years, 7 months ago by robertshield
Modified:
9 years, 6 months ago
CC:
chromium-reviews, amit
Visibility:
Public.

Description

Avoid reporting crashes for exceptions that hit our SEH from calls to the original implementation of BindToStorage() when we do not wrap the bind status callback. BUG=42660 TEST=Induce exception in code called under original IMoniker::BindToStorage implementation when we don't wrap the callback and notice that no crash is reported. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=46176

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 7

Patch Set 5 : '' #

Total comments: 4

Patch Set 6 : '' #

Total comments: 9

Patch Set 7 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+300 lines, -141 lines) Patch
M chrome_frame/chrome_frame_reporting.cc View 6 3 chunks +4 lines, -8 lines 0 comments Download
M chrome_frame/crash_reporting/crash_report.cc View 3 4 5 2 chunks +6 lines, -33 lines 0 comments Download
M chrome_frame/crash_reporting/vectored_handler-impl.h View 3 4 5 2 chunks +42 lines, -0 lines 0 comments Download
M chrome_frame/exception_barrier.h View 1 2 3 4 5 6 1 chunk +166 lines, -66 lines 0 comments Download
M chrome_frame/exception_barrier.cc View 1 2 3 4 5 6 2 chunks +52 lines, -12 lines 1 comment Download
M chrome_frame/exception_barrier_lowlevel.asm View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M chrome_frame/test/exception_barrier_unittest.cc View 6 4 chunks +16 lines, -19 lines 0 comments Download
M chrome_frame/urlmon_moniker.cc View 1 2 3 4 5 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
robertshield
10 years, 7 months ago (2010-04-29 18:39:01 UTC) #1
tommi (sloooow) - chröme
lgtm http://codereview.chromium.org/1748016/diff/1/3 File chrome_frame/exception_barrier.cc (right): http://codereview.chromium.org/1748016/diff/1/3#newcode48 chrome_frame/exception_barrier.cc:48: // unreferenced formal parameters do we need to ...
10 years, 7 months ago (2010-04-29 18:48:51 UTC) #2
amit
We have to take crash dumps for crashes with address directly in our code. Also, ...
10 years, 7 months ago (2010-04-29 18:58:18 UTC) #3
robertshield
Thanks! http://codereview.chromium.org/1748016/diff/1/3 File chrome_frame/exception_barrier.cc (right): http://codereview.chromium.org/1748016/diff/1/3#newcode48 chrome_frame/exception_barrier.cc:48: // unreferenced formal parameters On 2010/04/29 18:48:51, tommi ...
10 years, 7 months ago (2010-04-29 19:00:53 UTC) #4
robertshield
Altered the ExceptionBarrier that reported nothing to instead only report exceptions in our own module. ...
10 years, 7 months ago (2010-04-29 20:59:34 UTC) #5
robertshield
On 2010/04/29 20:59:34, robertshield wrote: > Altered the ExceptionBarrier that reported nothing to instead only ...
10 years, 7 months ago (2010-04-29 21:04:41 UTC) #6
robertshield
On 2010/04/29 21:04:41, robertshield wrote: > On 2010/04/29 20:59:34, robertshield wrote: > > Altered the ...
10 years, 7 months ago (2010-04-29 21:12:49 UTC) #7
amit
http://codereview.chromium.org/1748016/diff/20001/11007 File chrome_frame/crash_reporting/vectored_handler-impl.h (right): http://codereview.chromium.org/1748016/diff/20001/11007#newcode275 chrome_frame/crash_reporting/vectored_handler-impl.h:275: CrashHandlerTraits() {} dump_handler_(NULL) http://codereview.chromium.org/1748016/diff/20001/11007#newcode296 chrome_frame/crash_reporting/vectored_handler-impl.h:296: return dump_handler_(p); if (dump_handler_) ...
10 years, 7 months ago (2010-04-29 21:26:22 UTC) #8
stoyan
Things seems to become messy. In general we want to have ExceptionBarrier with different handlers ...
10 years, 7 months ago (2010-04-29 21:46:51 UTC) #9
robertshield
I have refactored the ExceptionBarrier code quite a bit, following one of Stoyan's suggestions. Different ...
10 years, 7 months ago (2010-04-30 19:24:20 UTC) #10
amit
http://codereview.chromium.org/1748016/diff/35001/36002 File chrome_frame/exception_barrier.cc (right): http://codereview.chromium.org/1748016/diff/35001/36002#newcode20 chrome_frame/exception_barrier.cc:20: ExceptionBarrierCustomHandler::s_custom_handler_ = NULL; need indent? http://codereview.chromium.org/1748016/diff/35001/36001 File chrome_frame/exception_barrier.h (right): ...
10 years, 7 months ago (2010-04-30 20:27:27 UTC) #11
robertshield
Please take another look. http://codereview.chromium.org/1748016/diff/35001/36002 File chrome_frame/exception_barrier.cc (right): http://codereview.chromium.org/1748016/diff/35001/36002#newcode20 chrome_frame/exception_barrier.cc:20: ExceptionBarrierCustomHandler::s_custom_handler_ = NULL; On 2010/04/30 ...
10 years, 7 months ago (2010-04-30 21:29:29 UTC) #12
amit
lgtm
10 years, 7 months ago (2010-04-30 21:43:25 UTC) #13
stoyan
http://codereview.chromium.org/1748016/diff/29008/41002 File chrome_frame/exception_barrier.cc (right): http://codereview.chromium.org/1748016/diff/29008/41002#newcode55 chrome_frame/exception_barrier.cc:55: CrashHandlerTraits traits; you know I really don't like this. ...
10 years, 7 months ago (2010-04-30 22:44:00 UTC) #14
robertshield
http://codereview.chromium.org/1748016/diff/35001/36002 File chrome_frame/exception_barrier.cc (right): http://codereview.chromium.org/1748016/diff/35001/36002#newcode20 chrome_frame/exception_barrier.cc:20: ExceptionBarrierCustomHandler::s_custom_handler_ = NULL; On 2010/04/30 21:29:29, robertshield wrote: > ...
10 years, 7 months ago (2010-05-01 02:10:30 UTC) #15
robert
So I checked this in (with reservations), since it is more useful than what we ...
10 years, 7 months ago (2010-05-01 02:17:42 UTC) #16
amit
10 years, 7 months ago (2010-05-01 23:28:45 UTC) #17
Excellent, thanks!

On Fri, Apr 30, 2010 at 7:17 PM, Robert Shield <robertshield@google.com>wrote:

> So I checked this in (with reservations), since it is more useful than what
> we had. Stoyan had a good idea about a better approach that I will
> investigate as soon as I can.
>
>
> On Fri, Apr 30, 2010 at 10:10 PM, <robertshield@chromium.org> wrote:
>
>>
>> http://codereview.chromium.org/1748016/diff/35001/36002
>>
>> File chrome_frame/exception_barrier.cc (right):
>>
>> http://codereview.chromium.org/1748016/diff/35001/36002#newcode20
>> chrome_frame/exception_barrier.cc:20:
>> ExceptionBarrierCustomHandler::s_custom_handler_ = NULL;
>> On 2010/04/30 21:29:29, robertshield wrote:
>>
>>> On 2010/04/30 20:27:27, amit wrote:
>>> > need indent?
>>>
>>
>>  I don't believe so, I think the variable name is supposed to be flush
>>>
>> when the
>>
>>> type_name + variable_name is longer than one line.
>>>
>>
>> I have had two requests for indent, so I added one.
>>
>>
>> http://codereview.chromium.org/1748016/show
>>
>
>

Powered by Google App Engine
This is Rietveld 408576698