rust-lang / cargo-bisect-rustc

Bisects rustc, either nightlies or CI artifacts
https://rust-lang.github.io/cargo-bisect-rustc/
Apache License 2.0
174 stars 55 forks source link

Crash while bisecting #287

Closed apiraino closed 10 months ago

apiraino commented 10 months ago

Sorry for the vague report, just pinning down a crash as a self-reminder to investigate later.

Using cargo-bisect 0.6.6 to bisect https://github.com/rust-lang/rust/issues/114925, using its repro:

$ RUST_BACKTRACE=full cargo-bisect-rustc --preserve --start 2023-01-01 --script ./script.sh
... usual bisection output ....
********************************************************************************
Regression in 18fa7b9104aad0cbaba6d9aff8e19d6b96eedcef
********************************************************************************

Attempting to search unrolled perf builds
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/$USER/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-bisect-rustc-0.6.6/src/main.rs:1211:40
stack backtrace:
   0:     0x5582ad3a5a7c - <unknown>
   1:     0x5582ad201bcf - <unknown>
   2:     0x5582ad3756f4 - <unknown>
   3:     0x5582ad3a833f - <unknown>
   4:     0x5582ad3a7f3e - <unknown>
   5:     0x5582ad3a8fb0 - <unknown>
   6:     0x5582ad3a8a64 - <unknown>
   7:     0x5582ad3a89f6 - <unknown>
   8:     0x5582ad3a89e1 - <unknown>
   9:     0x5582ad13e462 - <unknown>
  10:     0x5582ad13e55c - <unknown>
  11:     0x5582ad1a232b - <unknown>
  12:     0x5582ad1826b1 - <unknown>
  13:     0x5582ad179cc6 - <unknown>
  14:     0x5582ad172cbf - <unknown>
  15:     0x5582ad1b8223 - <unknown>
  16:     0x5582ad1729bd - <unknown>
  17:     0x7f72306456ca - <unknown>
  18:     0x7f7230645785 - __libc_start_main
  19:     0x5582ad14b251 - <unknown>
  20:                0x0 - <unknown>
ehuss commented 10 months ago

I suspect this has already been fixed by #280.

I'll roll a new release. I didn't realize there were unreleased changes.

EDIT: 0.6.7 is now released

ehuss commented 10 months ago

0.6.7 is now released. If your issue is reproducible, can you try with the latest version to see if it works?

apiraino commented 10 months ago

0.6.7. fixed that :tada: ! thanks @lqd and @ehuss !