LLVM debuginfo assertion "overlapping or duplicate fragments" #129206
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
E-needs-bisection
Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Uh oh!
There was an error while loading. Please reload this page.
Original issue is below. As expected, this assertion can be hit without silly flags:
Will eventually fail with
This still requires a custom build and cannot be easily bisected because this requires a toolchain with LLVM assertions.
This assertion can also be reproduced with varying flags on the following crates:
I just tried using
git bisect
and the first few commits I tried to find a start point of my bisect don't build for various dumb reasons including missing books. I'm not going to fight with months-old bootstrap bugs.I compile a toolchain locally and
cargo install
utilities with it, using some ridiculous flags intended to get more mileage out of assertions in the toolchain.The compiler for this is built with:
Then installing some crates with this will fail, the one I've been minimizing (yes really, this is somewhat minimized) the set of flags is tokei:
Compilation will eventually fail with this error:
This is NOT caused by #128861. The assertion can be hit on the commit directly before that one.
The text was updated successfully, but these errors were encountered: