Skip to content

segmentation fault in risc-v code #114473

Closed
Closed
@MaxHearnden

Description

@MaxHearnden

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.I-unsoundIssue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/SoundnessO-riscvTarget: RISC-V architecture

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions