<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>Perhaps not.</div>I am not quite sure what constitutes a genuine stack overflow.<div>However, after building the offending binary using the backtrace_on_stack_overflow crate, and I saw no evidence of of infinite recursion (<a href="https://docs.rs/backtrace-on-stack-overflow/latest/backtrace_on_stack_overflow/">https://docs.rs/backtrace-on-stack-overflow/latest/backtrace_on_stack_overflow/</a>).</div><div>Also, the `ulimit` and `sysctl ` values seem consistent across the different OSs I’ve tried.</div><div>I assume they are the same on the buildbots as well.</div><div><br></div><div>I will try adding`-stack_size` to the linker flags.</div><div>However, the same binary crashes on some OSs and succeeds on others, so I am not sure why the `-stack_size` would be acceptable on some OSs but not others.</div><div><br></div><div>Thank you for the suggestions,</div><div>Marcus</div><div><div><br><blockquote type="cite"><div>On Apr 27, 2024, at 4:03 AM, Joshua Root <jmr@macports.org> wrote:</div><br class="Apple-interchange-newline"><div><div>On 27/4/2024 19:30, Marcus Calhoun-Lopez wrote:<br><blockquote type="cite">As part of its build process, Rust creates a program called<br>`bootstrap`, which reports a stack overflow on 10.9 and 10.10 (see<br>ticket #68015).<br>What I cannot figure out is the following.<br>If I take the `bootstrap` built on 10.8, then it works just fine on<br>10.8 and 10.11.<br>That same binary crashes on t0.9 and 10.10.<br>If I take the `bootstrap` built on 10.9, then it crashes on 10.9.<br>However, that same binary runs fine on 10.10.<br>Can anyone imagine a scenario where the same binary runs on 10.8 and<br>10.11 but crashes on 10.9 and 10.10?<br></blockquote><br>Is it a genuine stack overflow? Could be just about anything if not.<br><br>If it is, there could be a different stack size limit, in either the linker (-stack_size) or in the OS (ulimit -s; sysctl kern.stack_size, kern.stack_depth_max) or both.<br><br>- Josh<br></div></div></blockquote></div><br></div></body></html>