strict_differential: the pixel differential is silently off because its renderer probe expects 1 and gfx_open returns true
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
調査の方向性
tools/strict_differential.shの1593行目付近にあるrendererプローブの比較から始め、tests/test_asan_gfx.shは関連する背景情報としてのみ確認してください。その部分は#1723に属します。falseの場合のみピクセルの同一性を無効にし、trueの場合は差分テストを実行し、それ以外の出力では失敗するようにスクリプトを更新してください。動作するrendererでピクセル行が実行されることと、意図的に仕込んだgfx_readの不具合によってスクリプトがゼロ以外の終了コードで終了することを確認してください。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C
- スター
- 3
- フォーク
- 7
- 平均マージ
- 11時間 28分
- マージ済み PR(30日)
- 262
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
InauguralSystems/EigenScript のほかの issue
-
Amalgamation compiles with warnings at -O0 (-Wreturn-type) and -O1 (-Wmaybe-uninitialized)対応中かも @facelessdevhack が 4 日前に担当しました。 オープンarea:embed bug found-by:code-review kind:gate-defect
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
InauguralSystems/EigenScript#1775 ·
メンテナーはふだん 1 日以内に返信
-
UB: (int) cast of a user double outside int range in dispatch / vm_index_is_int / flat_index_atオープンarea:runtime-vm kind:silent-wrong
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
InauguralSystems/EigenScript#1748 ·
メンテナーはふだん 1 日以内に返信
-
area:gfx bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
InauguralSystems/EigenScript#1684 ·
メンテナーはふだん 1 日以内に返信
-
area:stdlib bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
InauguralSystems/EigenScript#1679 ·
メンテナーはふだん 1 日以内に返信
-
area:consumer
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
InauguralSystems/EigenScript#1658 ·
メンテナーはふだん 1 日以内に返信
InauguralSystems/EigenScript の issue をすべて見る
似ている issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
VirusTotal/yara#2255 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
neutralinojs/neutralinojs#1861 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] Filename sequence expansion (`+`) panics on numeric values exceeding `i32::MAX`対応中かも @muntasir-396 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
CCExtractor/ccextractor#2402 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
FujiNetWIFI/fujinet-lib#204 ·
メンテナーはふだん 1 日以内に返信
-
os:linux
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
mpv-player/mpv#18649 ·
メンテナーはふだん 1 日以内に返信