Bug 252353
| Summary: | [Win] ASSERT() on Windows fires silently if caller has set up a SEH frame | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> |
| Component: | Web Template Framework | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | don.olmstead, fujii.hironori, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Brent Fulgham
If code in the callchain has set up a structured exception handling frame with __try/__except, exceptions will fire silently, causing code to get killed and execution to mysteriously continue.
This can happen if we are called back from another DLL, called from a Windows WM_TIMER callback, or called on a secondary thread.
We should consider implementing ASSERT() on Windows with a mechanism as described in:
http://www.codeproject.com/KB/debug/DebugBreakAnyway.aspx
<rdar://8033688>
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |