http://llvm.org/bugs/show_bug.cgi?id=16276

            Bug ID: 16276
           Summary: ASAN: Forward real abort(3) once done handling errors
                    and printing the stack
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

On darwin, processes spawned by launchd (launch daemons or agents) that crash
will trigger ReportCrash. This will drop a crash log on the filesystem which
can be automatically symbolicated.

Unfortunately, it looks like programs linked with ASAN won't forward an abort
signal to the operating system, exiting 1 instead. launchd won't trigger crash
reports when processes exit normally with a return code.

Is there some way we can uninstall the signal handler and/or forward an abort
somehow?

Steps to reproduce:

- Create a test C program that triggers an ASAN memcpy range overlap error.
- Run it

Results:

Process returns 1.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to