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

Issue 335011: Move creation of SEH frame into a separate funcion.... (Closed)

Created:
11 years, 2 months ago by stoyan
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org
Visibility:
Public.

Description

Move creation of SEH frame into a separate funcion.For any function that uses SEH, the compiler creates a single EXCEPTION_REGISTRATION record at the function prolog (even if the function has nested or inside condition statement __try/__except constructs). When __try block is entered and leaved only the index to the relevant scope table is updated.When the exception occurs the __except_handler4 may ignore it if there is no scope table set i.e. we are outside __try block.In ChromeFrame when exception happens, the global vectored exception filter walks through the SEH chain and is misled that there is handler/filter installed and therefore skips creation of a crashdump. BUG=23845 TEST=crashes in ChromeFrame background threads are reported. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30066

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -7 lines) Patch
M base/message_loop.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M base/message_loop.cc View 1 1 chunk +12 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
stoyan
11 years, 2 months ago (2009-10-23 19:17:55 UTC) #1
darin (slow to review)
I'd like to defer this code review to Carlos.
11 years, 2 months ago (2009-10-23 20:51:40 UTC) #2
cpu_(ooo_6.6-7.5)
Consider __declspec(noinline) because if the compiler inlines your fix is broken. I am almost positive ...
11 years, 2 months ago (2009-10-23 21:46:22 UTC) #3
stoyan
(noinline) and BUG/TEST added. WPO did not inlined the code.
11 years, 2 months ago (2009-10-23 23:31:24 UTC) #4
cpu_(ooo_6.6-7.5)
11 years, 1 month ago (2009-10-26 17:05:12 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698