strict_differential: the pixel differential is silently off because its renderer probe expects 1 and gfx_open returns true
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ó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- build-system, testing-qa
Hướng nghiên cứu
Bắt đầu với phần so sánh phép thăm dò renderer gần dòng 1593 trong tools/strict_differential.sh, sau đó chỉ xem lại tests/test_asan_gfx.sh như ngữ cảnh liên quan vì phần đó thuộc về #1723. Cập nhật script để chỉ false tắt tính đồng nhất pixel, true chạy kiểm thử vi sai và mọi đầu ra khác đều gây lỗi. Xác minh rằng các hàng pixel chạy trên renderer hoạt động bình thường và một lỗi được cố ý cài vào gfx_read khiến script thoát với mã khác không.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Found while verifying the #1758 R1.2 builder's fix on PR #1776 (phase2-numbers, commit 95ce2fed). On main, nothing has changed.
Since gfx_open returns a bool (#1637), print of (gfx_open of [8, 8, "pixdiff-probe"]) prints true. tools/strict_differential.sh:1593 still compares the probe's last line with "1". So on a machine with a working renderer it sets NO_RENDERER=1, prints NOTE: no renderer — pixel identity is OFF, and finishes OK without running the pixel differential.
Checked on main 0740af03: the probe prints true on Xvfb :99 and with SDL_VIDEODRIVER=dummy. The line is unchanged on origin/main 540f0bcf.
The builder's one-time plant on the branch: a pixel fault in gfx_read passed the old checker (exit 0, pixel rows skipped) and failed the fixed one (37/37 pixel rows differing).
tests/test_asan_gfx.sh's grep "sdl-present: 1" has the same cause; that half is #1723.
Done when
- On main,
tools/strict_differential.shruns its pixel differential whenever the probe printstrue, and fails, rather than reporting "no renderer", on any probe output other thantrueorfalse. - Planted fault, in the PR: a pixel fault in
gfx_readmakestools/strict_differential.shexit nonzero on a machine with a renderer; restored, it exits 0 with the pixel rows counted.
- Ngôn ngữ chính
- C
- Star
- 3
- Fork
- 7
- Merge trung bình
- 11 giờ 16 phút
- Pull request đã merge (30 ngày)
- 267
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc 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 InauguralSystems/EigenScript
-
area:ci area:runtime-vm bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
InauguralSystems/EigenScript#1859 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
phase2: test_bitwise.eigs cites ctl.scan.* rows; the MAP's refusal controls are ctl.N8.refuse-*Đang mởarea:gates kind:docs-drift
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
InauguralSystems/EigenScript#1851 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Amalgamation compiles with warnings at -O0 (-Wreturn-type) and -O1 (-Wmaybe-uninitialized)Có thể đã có người làm @facelessdevhack đã nhận 5 ngày trước. Đang mởarea:embed bug found-by:code-review kind:gate-defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
InauguralSystems/EigenScript#1775 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
UB: (int) cast of a user double outside int range in dispatch / vm_index_is_int / flat_index_atĐang mởarea:runtime-vm kind:silent-wrong
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
InauguralSystems/EigenScript#1748 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:gfx bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
InauguralSystems/EigenScript#1684 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của InauguralSystems/EigenScript
Issue tương tự
-
Mark ignored Mac OS partitions RecoveryOSContainer and iBootSystemContainerCó thể đã có người làm @meven đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
storaged-project/udisks#1559 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 71/100
awslabs/aws-checksums#121 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Bad tag for language cardĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100