-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIGSEGV in LLVM 13 #93372
Comments
Not sure if it makes sense to investigate this if it is not reproducible in current nightly. @Jake-Shadle Can you check if it is reproducible with the current beta? @rustbot label -I-ICE +I-crash +A-llvm |
Beta has the same crash unfortunately.
|
Nightly has the LLVM update #93081, which is nominated for beta but not yet approved or backported. However, those codegen changes are specific to AArch64, plus a little debuginfo addition for MSVC. It could also be that some other incidental change in nightly rustc output has hidden the underlying issue. |
Here's a reduction that crashes However, it works fine with LLVM main, so this has already been fixed upstream. As this is only a crash and not a miscompile, I'm inclined to not investigate this further let this be fixed with the LLVM 14 upgrade. |
I believe this has already been resolved, given that we are currently underway to LLVM 15? |
Yes, I can compile it on stable and latest nightly without issue now so I'm going to close this. |
Code
Unfortunately I don't have a minimal repro for this issue since this was a regression between rust versions reported by a user that I am just now getting around to filing, and the callstack is deep in LLVM so I have no hints as to the Rust code that might be triggering it.
The code in question is https://github.com/EmbarkStudios/texture-synthesis, the original issue reported by users is EmbarkStudios/texture-synthesis#164.
This segfault only occurs with
cargo build --release
, debug builds are not affected.Meta
All stable releases from 1.56.0 to 1.58.1 result in the same crash
rustc --version --verbose
:Rust 1.55.0 does not result in the crash
And neither does a recent nightly
Error output
Since this is not a panic but a segfault the normal rust backtrace is never printed.
The text was updated successfully, but these errors were encountered: