<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:kcc@google.com" title="Kostya Serebryany <kcc@google.com>"> <span class="fn">Kostya Serebryany</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Address sanitizer: setrlimit() fails"
href="http://llvm.org/bugs/show_bug.cgi?id=15702">bug 15702</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>kcc@google.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WONTFIX
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Address sanitizer: setrlimit() fails"
href="http://llvm.org/bugs/show_bug.cgi?id=15702#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Address sanitizer: setrlimit() fails"
href="http://llvm.org/bugs/show_bug.cgi?id=15702">bug 15702</a>
from <span class="vcard"><a class="email" href="mailto:kcc@google.com" title="Kostya Serebryany <kcc@google.com>"> <span class="fn">Kostya Serebryany</span></a>
</span></b>
<pre>This is expected.
>From <a href="https://code.google.com/p/address-sanitizer/wiki/Flags">https://code.google.com/p/address-sanitizer/wiki/Flags</a> (just added that):
disable_core 0/1 Disable the core dumper. Since asan consumes many
terabytes of virtual memory on 64-bit, dumping core is unwise. Default: 0 on
32-bit and 1 on 64-bit.
% clang -fsanitize=address setrlimit.c ; ./a.out
ret: -1, errno: 1, message: Operation not permitted
% clang -fsanitize=address setrlimit.c ; ASAN_OPTIONS=disable_core=0 ./a.out
ret: 0, errno: 0, message: Success
% clang -m32 -fsanitize=address setrlimit.c ; ./a.out
ret: 0, errno: 0, message: Success
%
Why would you want to have a 20Tb core file on your disk?</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>