rust program that allocates a large temporary segfaults on MacOS #107814
Labels
A-stack-probe
Area: Stack probing and guard pages
C-bug
Category: This is a bug.
O-AArch64
Armv8-A or later processors in AArch64 mode
While playing around with rustc 1.69.0-nightly (bd39bbb 2023-02-07) on MacOS, I ran into the following:
With N <= 2088032 this program works fine; above that the binary that
rustc
makes produces a runtime abort. Both are acceptable outcomes.But with N >= 2092349 running the program results in a segmentation fault instead. It sounds like something has destroyed something that the stack unwinder relies on?
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: