New segfault in binaries built for musl targets
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 12/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- linux, rust
- Lĩnh vực
- operating-systems
Hướng nghiên cứu
The failure is a SIGSEGV in libc test binaries built for arm-unknown-linux-musleabihf under qemu, reproduced with cargo test --target arm-unknown-linux-musleabihf -p libc. The bisection points at rust-lang/rust PR 166191, so the work is in the compiler change, not this crate. Start by rerunning the bisect command against the libc-test ctest target. Done means identifying the regressing change and a fix or workaround that makes the musl tests pass in CI.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Code
No simple reproducer, but seen with:
root@1648141b76fd:~/checkout# cargo test --target arm-unknown-linux-musleabihf -p libc
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
Running unittests src/lib.rs (target/arm-unknown-linux-musleabihf/debug/build/libc/e8b5e2f453d9890c/out/libc-e8b5e2f453d9890c)
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
error: test failed, to rerun pass `-p libc --lib`
Caused by:
process didn't exit successfully: `qemu-arm -L /musl-arm /root/checkout/target/arm-unknown-linux-musleabihf/debug/build/libc/e8b5e2f453d9890c/out/libc-e8b5e2f453d9890c` (signal: 11, SIGSEGV: invalid memory reference)
on the latest at https://github.com/rust-lang/libc.
This is failing reliably in CI, e.g. https://github.com/rust-lang/libc/actions/runs/45410043147/job/138502869124?pr=5776.
Bisection
RESULT: 277240238554297f93fa9ee3c7643dfa03ccbbb4, ===> Compile error
searched toolchains 137d1d49458b73b7b85d2c1599d8730886d65e47 through 20fe935d50367c0ff8872c2ebfa050c5c99d9201
********************************************************************************
Regression in 277240238554297f93fa9ee3c7643dfa03ccbbb4
********************************************************************************
Attempting to search unrolled perf builds
Found commits ["63eafa4c", "6a86caea", "8d6c5110", "04a9ff0d", "393ed477", "9c1f76af"]
installing 63eafa4c189b1479a69a5d1408dcdc2a74f3098b
rust-std-nightly-aarch64-unknown-linux-gnu: 31.77 MB / 31.77 MB [=================================================================================================================================] 100.00 % 8.34 MB/s ERROR: error: Could not find 63eafa4c189b1479a69a5d1408dcdc2a74f3098b; url: https://ci-artifacts.rust-lang.org/rustc-builds/63eafa4c189b1479a69a5d1408dcdc2a74f3098b/rust-std-nightly-arm-unknown-linux-musleabihf.tar.gz
==================================================================================
= Please file this regression report on the rust-lang/rust GitHub repository =
= New issue: https://github.com/rust-lang/rust/issues/new =
= Known issues: https://github.com/rust-lang/rust/issues =
= Copy and paste the text below into the issue report thread. Thanks! =
==================================================================================
searched nightlies: from nightly-2026-11-01 to nightly-2026-11-24
regressed nightly: nightly-2026-11-24
searched commit range: https://github.com/rust-lang/rust/compare/137d1d49458b73b7b85d2c1599d8730886d65e47...20fe935d50367c0ff8872c2ebfa050c5c99d9201
regressed commit: https://github.com/rust-lang/rust/commit/277240238554297f93fa9ee3c7643dfa03ccbbb4
bisected with cargo-bisect-rustc v0.6.12
Host triple: aarch64-unknown-linux-gnu
Reproduce with:
cargo bisect-rustc --target arm-unknown-linux-musleabihf --preserve --start=2026-11-01 -v -- test -p libc-test --test ctest
Seems to point at https://github.com/rust-lang/rust/pull/166191, cc @bjorn3 @Gelbpunkt
- Ngôn ngữ chính
- Rust
- Star
- 2.7k
- Fork
- 1.4k
- Merge trung bình
- 3 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 45
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rust-lang/libc
-
NetBSD: `kevent()` updatedĐang mởC-bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
rust-lang/libc#5801 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
C-bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
SYS_kexec_file_load missing for aarch64-unknown-linux-muslCó thể đã có người làm @AdmerPRO đã nhận 5 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
rust-lang/libc#5722 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Expose `open_how` on AndroidCó thể đã có người làm @rizzabhdwaj đã nhận 35 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
rust-lang/libc#5673 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của rust-lang/libc
Issue tương tự
-
Android: a long press's `contextmenu` event carries no point (`clientX` and `clientY` are 0)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Test connection's password prompt says the password is never saved, also for a keychain profileĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: settings bug Haiku review: no-score ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MMFoundation/WallpaperMachine#346 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
rubys/roundhouse#2473 ·
-
bug mod: quantum info
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Qiskit/qiskit#17699 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày