<html>
<head>
<base href="http://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 --- - ASAN: Forward real abort(3) once done handling errors and printing the stack"
href="http://llvm.org/bugs/show_bug.cgi?id=16276">16276</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ASAN: Forward real abort(3) once done handling errors and printing the stack
</td>
</tr>
<tr>
<th>Product</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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>compiler-rt
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dfarler@apple.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>