[webkit-dev] PSA: Distinguishing between failed release assertions and other crashes

Mark Lam mark.lam at apple.com
Wed Feb 10 15:03:58 PST 2016


FYI, the change has landed in r196397: <http://trac.webkit.org/r196397>.

> On Feb 10, 2016, at 3:01 PM, Mark Lam <mark.lam at apple.com> wrote:
> 
> As I shared in a previous email, I’ll be changing the implementation of WTFCrash() for non-debug OS(DARWIN) builds to use an inlined asm statement that issues a breakpoint instruction.  See https://bugs.webkit.org/show_bug.cgi?id=153996 for details and discussion.  I will be landing this patch shortly.
> 
> After this patch lands, for release builds, failed assertions will manifest as a EXC_BREAKPOINT (SIGTRAP).  Failed assertions should be your only source of EXC_BREAKPOINT crashes.
> For debug builds, failed assertions will continue to manifest as EXC_BAD_ACCESS (SIGSEGV) on access of invalid address 0xbbadbeef.
> 
> Again, this change will only apply to OS(DARWIN) builds.  I’m leaving it up to the linux folks to decide if they also want to adopt this behavior on linux.
> 
> Thanks.
> 
> Mark
> 
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev



More information about the webkit-dev mailing list