Skip to content

error: rustc interrupted by SIGBUS (stable/nightly) #147078

@tarcieri

Description

@tarcieri

While invoking rustc via cargo test:

error: rustc interrupted by SIGBUS, printing backtrace

[...]

note: maximum backtrace depth reached, frames may have been lost
note: we would appreciate a report at https://github.com/rust-lang/rust
note: backtrace dumped due to SIGBUS! resuming signal

Meta

rustc --version --verbose:

rustc 1.92.0-nightly (4645a7988 2025-09-17)
binary: rustc
commit-hash: 4645a7988177c286f61609cc667ecae4c571a2e8
commit-date: 2025-09-17
host: aarch64-apple-darwin
release: 1.92.0-nightly
LLVM version: 21.1.1
Backtrace

0   librustc_driver-6bef486ded886959.dy 0x00000001108992e8 _RNvNtCsg5V23xBWzPv_17rustc_driver_impl14signal_handler17print_stack_trace + 140
1   libsystem_platform.dylib            0x000000018d22d6a4 _sigtramp + 56
2   rustc                               0x00000001043b06ac zone_size + 96
3   libsystem_malloc.dylib              0x000000018d025910 find_zone_and_free + 188
4   librustc_driver-6bef486ded886959.dy 0x0000000114511cd4 _ZN4llvm9DwarfFile8addRangeERKNS_16DwarfCompileUnitENS_11SmallVectorINS_9RangeSpanELj2EEE + 352
5   librustc_driver-6bef486ded886959.dy 0x00000001144e2cb4 _ZN4llvm16DwarfCompileUnit17addScopeRangeListERNS_3DIEENS_11SmallVectorINS_9RangeSpanELj2EEE + 164
6   librustc_driver-6bef486ded886959.dy 0x00000001144e1168 _ZN4llvm16DwarfCompileUnit23attachRangesOrLowHighPCERNS_3DIEENS_11SmallVectorINS_9RangeSpanELj2EEE + 208
7   librustc_driver-6bef486ded886959.dy 0x00000001144e313c _ZN4llvm16DwarfCompileUnit23attachRangesOrLowHighPCERNS_3DIEERKNS_15SmallVectorImplINSt3__14pairIPKNS_12MachineInstrES8_EEEE + 956
8   librustc_driver-6bef486ded886959.dy 0x00000001144e2b94 _ZN4llvm16DwarfCompileUnit24constructLexicalScopeDIEEPNS_12LexicalScopeE + 712
9   librustc_driver-6bef486ded886959.dy 0x00000001144e14a0 _ZN4llvm16DwarfCompileUnit17constructScopeDIEEPNS_12LexicalScopeERNS_3DIEE + 148

### cycle encountered after 10 frames with period 11
0   librustc_driver-6bef486ded886959.dy 0x00000001144e26a4 _ZN4llvm16DwarfCompileUnit25createAndAddScopeChildrenEPNS_12LexicalScopeERNS_3DIEE + 3712
1   librustc_driver-6bef486ded886959.dy 0x00000001144e26a4 _ZN4llvm16DwarfCompileUnit25createAndAddScopeChildrenEPNS_12LexicalScopeERNS_3DIEE + 3712
2   librustc_driver-6bef486ded886959.dy 0x00000001144e26a4 _ZN4llvm16DwarfCompileUnit25createAndAddScopeChildrenEPNS_12LexicalScopeERNS_3DIEE + 3712
3   librustc_driver-6bef486ded886959.dy 0x00000001144e26a4 _ZN4llvm16DwarfCompileUnit25createAndAddScopeChildrenEPNS_12LexicalScopeERNS_3DIEE + 3712
4   librustc_driver-6bef486ded886959.dy 0x00000001144e26a4 _ZN4llvm16DwarfCompileUnit25createAndAddScopeChildrenEPNS_12LexicalScopeERNS_3DIEE + 3712
5   librustc_driver-6bef486ded886959.dy 0x00000001144e26a4 _ZN4llvm16DwarfCompileUnit25createAndAddScopeChildrenEPNS_12LexicalScopeERNS_3DIEE + 3712
6   librustc_driver-6bef486ded886959.dy 0x00000001144e26a4 _ZN4llvm16DwarfCompileUnit25createAndAddScopeChildrenEPNS_12LexicalScopeERNS_3DIEE + 3712
7   librustc_driver-6bef486ded886959.dy 0x00000001144e26a4 _ZN4llvm16DwarfCompileUnit25createAndAddScopeChildrenEPNS_12LexicalScopeERNS_3DIEE + 3712
8   librustc_driver-6bef486ded886959.dy 0x00000001144e26a4 _ZN4llvm16DwarfCompileUnit25createAndAddScopeChildrenEPNS_12LexicalScopeERNS_3DIEE + 3712
9   librustc_driver-6bef486ded886959.dy 0x00000001144e26a4 _ZN4llvm16DwarfCompileUnit25createAndAddScopeChildrenEPNS_12LexicalScopeERNS_3DIEE + 3712
10  librustc_driver-6bef486ded886959.dy 0x00000001144e26a4 _ZN4llvm16DwarfCompileUnit25createAndAddScopeChildrenEPNS_12LexicalScopeERNS_3DIEE + 3712
### recursed 22 times

0   librustc_driver-6bef486ded886959.dy 0x00000001144e26a4 _ZN4llvm16DwarfCompileUnit25createAndAddScopeChildrenEPNS_12LexicalScopeERNS_3DIEE + 3712
1   librustc_driver-6bef486ded886959.dy 0x00000001144e26a4 _ZN4llvm16DwarfCompileUnit25createAndAddScopeChildrenEPNS_12LexicalScopeERNS_3DIEE + 3712
2   librustc_driver-6bef486ded886959.dy 0x00000001144e26a4 _ZN4llvm16DwarfCompileUnit25createAndAddScopeChildrenEPNS_12LexicalScopeERNS_3DIEE + 3712
3   librustc_driver-6bef486ded886959.dy 0x00000001144e26a4 _ZN4llvm16DwarfCompileUnit25createAndAddScopeChildrenEPNS_12LexicalScopeERNS_3DIEE + 3712

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)C-bugCategory: This is a bug.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions