[Webkit-unassigned] [Bug 184408] New: CRASH() should call abort() except on Darwin and in developer builds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 8 20:50:41 PDT 2018


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

            Bug ID: 184408
           Summary: CRASH() should call abort() except on Darwin and in
                    developer builds
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com

CRASH() should call abort() except on Darwin and in developer builds, as discussed at https://lists.webkit.org/pipermail/webkit-dev/2018-March/029903.html. This should be slightly nicer than dereferencing 0xbadbeef.

On Darwin, CRASH() uses a breakpoint trap, which seems to corrupt the stack on Linux, so we can't do that.

Continue to call WTFCrash() in developer mode, and make no changes to WTFCrash(), since it is reportedly useful in nightmare scenarios where core dumps are unavailable: https://lists.webkit.org/pipermail/webkit-dev/2018-March/029907.html

-- 
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/20180409/230875ea/attachment-0002.html>


More information about the webkit-unassigned mailing list