<html>
    <head>
      <base href="https:llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - cannot pass SIGSEGV on darwin arm"
   href="https:llvm.org/bugs/show_bug.cgi?id=22868">22868</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>cannot pass SIGSEGV on darwin arm
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>crawshaw@golang.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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:

<a href="https://golang.org/issue/10043">https://golang.org/issue/10043</a>

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:

<a href="http://lists.cs.uiuc.edu/pipermail/lldb-dev/2013-July/002009.html">http://lists.cs.uiuc.edu/pipermail/lldb-dev/2013-July/002009.html</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>