-
Notifications
You must be signed in to change notification settings - Fork 13.4k
SIGSEGV in LLVM 13 #93372
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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. |
Uh oh!
There was an error while loading. Please reload this page.
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: