-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.Category: This is a bug.I-unsoundIssue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/SoundnessIssue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/SoundnessO-riscvTarget: RISC-V architectureTarget: RISC-V architecture
Description
see https://github.com/MaxHearnden/rust-bug for accompanying files
The function tokio::runtime::scheduler::multi_thread::park::Parker::shutdown (which is _ZN91_$LT$tokio..runtime..scheduler..multi_thread..park..Parker$u20$as$u20$tokio..park..Park$GT$8shutdown17hc45107ddb2018849E in the provided files) contains a pattern match (present in the llvm-ir) which is not in the generated assembly. This causes a segmentation fault when the structure bound by the match is read on line 78373 in the generated assembly.
Meta
rustc --version --verbose
:
1.70
fgaz
Metadata
Metadata
Assignees
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.Category: This is a bug.I-unsoundIssue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/SoundnessIssue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/SoundnessO-riscvTarget: RISC-V architectureTarget: RISC-V architecture