<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/98806>98806</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[compiler-rt][nsan] abort_on_error=1 causes hang of the process
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
chestnykh
</td>
</tr>
</table>
<pre>
Setting `NSAN_OPTIONS=abort_on_error=1` causes hang of the process created from the binary which was built with nsan rt.
This happens because __nsan_init doesn't disable coredump creation and the kernel tries to create monster coredump file.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kT1vpDAQhn-NaUZBxnzsUlAkQitdk5y06ZENs9gXYyPPkNX--xMkUoqTrnIxnvd57UcTuTkgdqJ-EXWf6Y1tTN1okTg8Pmxm4vTorsjswgyika_X59fh7ff7r7fXqyh7bWLiIYYBU4pJlH0hGgmj3ggJrA4zxBuwRVhTHJEIxoSacYJbissxMC7o9IC7daOFuyYwm_MMd8cWAukAiXMheyGf363bM9cVA4HBAwLDsF8aXHAMU0QKQp0YJkfaeIQxJpy2Zf3CuhhAh-nAfmAK6IGTQwKO371giYEY08_izXnMs6krp7ZsdYZdcVKyrYuzqjPbSTwXt7NuSnNqtGkbYxTKFtU4YVU1dZG5TklVyVNRFbKQqs5PNaqmUVOlWynH9iYqiYt2Pvf-c8ljmjNHtGHXns-yybw26OmQo1TAOxxDodTuKnX7zpPZZhKV9I6YflLYsT-sjnFZncf0lFjUvahf9v8SdQ__qvuPt2xLvrPMK4nyWaiLUJfZsd1MPsZFqMvO_T6e1hT_4MhCXY62JNTl6zWfnfobAAD__1-b0Ow">