rayon-rs / rayon

Rayon: A data parallelism library for Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rayon 1.9.0 doctest failure - stack overflow on aarch64-unknown-linux-gnu

decathorpe opened this issue · comments

I attempted to update the Fedora Linux package for rayon to v1.9.0, but got stuck due to one new test failure on aarch64:

failures:
---- src/iter/splitter.rs - iter::splitter::split (line 46) stdout ----
Test executable failed (signal: 6 (SIGABRT) (core dumped)).
stderr:
thread '<unknown>' has overflowed its stack
fatal runtime error: stack overflow
failures:
    src/iter/splitter.rs - iter::splitter::split (line 46)
test result: FAILED. 242 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.68s
error: doctest failed, to rerun pass `--doc`
error: 1 target failed:
    `--doc`

Build environment:

  • Fedora Linux / Rawhide on aarch64
  • Rust 1.76.0
  • distro-wide default RUSTFLAGS: -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes

I don't see anything changed in 1.9.0 that looks relevant to this. The next step would be to try it with less aggressive optimization, or even all the way to the debug profile, and if that works then it may be a codegen issue (not rayon specific).

Weird - another test build passed without issues on aarch64. I guess it was a fluke (or a cosmic ray).