[Webkit-unassigned] [Bug 252353] New: [Win] ASSERT() on Windows fires silently if caller has set up a SEH frame

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 15 15:00:13 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=252353

            Bug ID: 252353
           Summary: [Win] ASSERT() on Windows fires silently if caller has
                    set up a SEH frame
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org
                CC: don.olmstead at sony.com, Hironori.Fujii at sony.com

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>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230215/a1831208/attachment.htm>


More information about the webkit-unassigned mailing list