[lldb-dev] [Bug 22868] New: cannot pass SIGSEGV on darwin arm

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 10 05:42:22 PDT 2015


https:llvm.org/bugs/show_bug.cgi?id=22868

            Bug ID: 22868
           Summary: cannot pass SIGSEGV on darwin arm
           Product: lldb
           Version: unspecified
          Hardware: Other
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: crawshaw at golang.org
    Classification: Unclassified

On darwin arm (iOS 8.1.3, XCode 6.1.1) lldb always stops on EXC_BAD_ACCESS and
will not continue. The result is SIGSEGV cannot be passed. That is, this does
not work:

    process handle SIGSEGV --stop false --pass true --notify false

Programs that expect to continue processing by turning SIGSEGV into an
exception cannot be run under lldb. In particular this affects the Go
programming language:

https://golang.org/issue/10043

For now we are working around it by registering a mach exception handler on the
thread port. But ideally lldb would be able to see the signal and choose what
to do with it.

This issue was also brought up on lldb-dev:

http://lists.cs.uiuc.edu/pipermail/lldb-dev/2013-July/002009.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150310/0c5af22c/attachment.html>


More information about the lldb-dev mailing list