diff --git a/crates/ec-av1/fixtures/444_leaf8_oob.obu b/crates/ec-av1/fixtures/444_leaf8_oob.obu new file mode 100644 index 0000000000000000000000000000000000000000..03357d6e94dc4ac55d75f97468d601aea90d57d0 GIT binary patch literal 3577 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 literal 0 HcmV?d00001 diff --git a/crates/ec-av1/src/decode.rs b/crates/ec-av1/src/decode.rs index 78eb66d1..95703e26 100644 --- a/crates/ec-av1/src/decode.rs +++ b/crates/ec-av1/src/decode.rs @@ -18150,17 +18150,27 @@ fn decode_leaf8( mv_to_q4(px, dv_col, 0), mv_to_q4(py, dv_row, 0), 8, 8, mc::InterpFilterKind::Bilinear, &mut yb, fctx, ); - let mut ub = vec![0u16; 4 * 4]; + // The chroma extent is THIS frame's subsampled size of the 8x8 luma + // leaf (`get_plane_block_size`): 4x4 at 4:2:0, 8x8 at 4:4:4. The + // literal 4x4 this replaces hardcoded the 4:2:0 halving -- at 4:4:4 + // the 16-sample override fed this leaf's own 8x8 chroma reconstruct, + // which indexed `prediction[16]` of a 16-sample buffer + // (len 16, index 16 at `PlaneBuf::reconstruct`). The same buffers + // are windowed at stride 8 by `read_intra_chroma_lossless` (the TX4 + // 4:4:4-lossless arm) and consumed whole by the TX8 and skip arms, + // so all three heal with this one sizing. + let (cw, ch) = (8 >> ss_x(fctx), 8 >> ss_y(fctx)); + let mut ub = vec![0u16; cw * ch]; mc::predict_with_filter( &u.data, u.width, u.true_width, u.true_height, - mv_to_q4(cpx, dv_col, ss_x(fctx)), mv_to_q4(cpy, dv_row, ss_x(fctx)), - 4, 4, mc::InterpFilterKind::Bilinear, &mut ub, fctx, + mv_to_q4(cpx, dv_col, ss_x(fctx)), mv_to_q4(cpy, dv_row, ss_y(fctx)), + cw, ch, mc::InterpFilterKind::Bilinear, &mut ub, fctx, ); - let mut vb = vec![0u16; 4 * 4]; + let mut vb = vec![0u16; cw * ch]; mc::predict_with_filter( &v.data, v.width, v.true_width, v.true_height, - mv_to_q4(cpx, dv_col, ss_x(fctx)), mv_to_q4(cpy, dv_row, ss_x(fctx)), - 4, 4, mc::InterpFilterKind::Bilinear, &mut vb, fctx, + mv_to_q4(cpx, dv_col, ss_x(fctx)), mv_to_q4(cpy, dv_row, ss_y(fctx)), + cw, ch, mc::InterpFilterKind::Bilinear, &mut vb, fctx, ); (yb, ub, vb) }); diff --git a/crates/ec-av1/src/stream.rs b/crates/ec-av1/src/stream.rs index 3a9983fc..ea042588 100644 --- a/crates/ec-av1/src/stream.rs +++ b/crates/ec-av1/src/stream.rs @@ -5762,6 +5762,132 @@ pub(crate) mod tests { } } + /// lane-av1-leaf8oob: the OOB pin for [`decode_leaf8`]'s intrabc chroma + /// frame-copy buffers. The closure hardcoding the leaf's chroma + /// prediction at `4x4` (`vec![0u16; 4 * 4]`, `predict_with_filter` at + /// `4, 4`) carried the 4:2:0 halving of an 8x8 luma leaf into every + /// subsampling: at 4:4:4 the leaf's own chroma plane block is 8x8 + /// (`csz == 8`), so the 16-sample override reached + /// [`PlaneBuf::reconstruct`] as an 8x8 prediction and indexed + /// `prediction[16]` of a 16-sample buffer -- + /// `index out of bounds: the len is 16 but the index is 16` at the + /// reconstruct call, on every conformant stream of this shape (a panic, + /// never a refusal). Same signature class as lane-lossless128's + /// 128-axis lossless extent (`len 16, index 16` there too). + /// + /// `crates/ec-av1/fixtures/444_leaf8_oob.obu`, 3577 bytes, sha256 + /// `72bed2791d1ceba8be7926a052c7838c5d96d4f9d56d28fb69789a753d3593af` + /// (force-added past the `fixtures` gitignore like every sibling + /// fixture): the lane ticket's witness-hunt reproducer (s1a/s2e) -- a + /// 320x256, 3-frame, 8-bit 4:4:4 screen-content keyframe run whose + /// census pins 4 intrabc 8x8 leaves (the oracle's own MB dump opens on + /// unbroken inter-classified intra = intrabc blocks). The encoding + /// recipe is not independently recoverable in this lane; the bytes are + /// pinned by length + FNV-1a64 here and by the oracle raw fingerprint + /// below. + /// + /// WHAT THIS GATE DOES NOT CLAIM: sample-exactness -- and it pins no + /// pixel baseline. Measured against the oracle aomdec (`--rawvideo`; + /// comparison method ground-truthed by the green + /// `a_lossless_sb128_rect_intra_block_decodes_sample_exact` and + /// `a_lossless_444_min_partition8_inter_stream_decodes_sample_exact` + /// witnesses on this same tree), this stream DIVERGES and its output is + /// not even self-deterministic: frame 0's first differing LUMA sample + /// is at (275,128), the (y, u, v) differing counts per frame are + /// (20811, 35467, 32320)/(20308, 39177, 35994)/(20131, 39588, 36601) of + /// 81920 samples per plane, and under `EC_AV1_PLANE_SENTINEL=1` the + /// chroma counts move (u f0 35467 -> 35630) while luma stays put. + /// Sentinel-vs-uninit output diffing localises that dependence to 458 + /// WHOLE 8x8 chroma blocks (frame 0: chroma x >= 96, y >= 64) reading + /// samples this decode never wrote -- ambient memory in those slots, + /// hence any pixel-exact assert here drifts run to run with the batch. + /// Both facts belong to ONE pre-existing defect this lane must not + /// chase (the ticket's fix touches only leaf8's chroma prediction + /// buffers, which cannot feed a luma sample, and the pre-fix run never + /// got past the panicked leaf): a decode desync on this stream around + /// frame-0 SB (3..4, 2), after which samples diverge from the oracle + /// and the misread layout leaves chroma blocks unreconstructed. + /// Disposition: `deferred(unblock: divergence lane -- EC trace pairing + /// against the oracle on this fixture)`. So this gate pins exactly what + /// its ticket owns: fixture identity, a decode that RUNS TO COMPLETION + /// where the old code died with `len 16, index 16`, and the arm counter. + /// + /// Assertions (all before/without any skip path): + /// 1. fixture bytes: exact length + FNV-1a64; + /// 2. `decode_stream` succeeds -- 3 frames, 320x256 (the pre-fix run + /// died here with the len-16/index-16 panic); + /// 3. non-vacuity: `leaf8_intrabc_hits` moves (measured 0 -> 4), so the + /// arm owning the fixed buffers really fired; + /// 4. the oracle aomdec still decodes the pinned bytes (raw size + + /// fingerprint), anchoring the deferred divergence comparison. + #[test] + fn an_intrabc_8x8_leaf_chroma_frame_copy_at_444_decodes_without_the_oob() { + const NAME: &str = "an_intrabc_8x8_leaf_chroma_frame_copy_at_444_decodes_without_the_oob"; + const FIXTURE_LEN: usize = 3577; + const FIXTURE_FNV: u64 = 0x86b9_3a51_fe16_353c; + const W: usize = 320; + const H: usize = 256; + const FRAMES: usize = 3; + let obu = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")) + .join("fixtures/444_leaf8_oob.obu"); + let stream = std::fs::read(&obu).unwrap_or_else(|e| { + panic!( + "{NAME}: pinned fixture {} is missing ({e}) -- the gate cannot run, \ + which is a failure, not a skip", + obu.display() + ) + }); + assert_eq!(stream.len(), FIXTURE_LEN, "{NAME}: fixture length moved"); + assert_eq!(fnv1a64(&stream), FIXTURE_FNV, "{NAME}: fixture bytes moved"); + + let _guard = lock_gate_counters(); + crate::decode::reset_leaf8_intrabc_hits(); + let frames = decode_stream(&stream).unwrap_or_else(|e| { + panic!("{NAME}: the pinned stream no longer decodes cleanly: {e}") + }); + assert!( + crate::decode::leaf8_intrabc_hits() > 0, + "{NAME}: gate is vacuous -- no intrabc 8x8 leaf was decoded, so the arm \ + owning the fixed chroma buffers never fired" + ); + assert_eq!(frames.len(), FRAMES, "{NAME}: frame count"); + for f in &frames { + assert_eq!((f.width, f.height), (W, H), "{NAME}: dimensions"); + } + + // The oracle aomdec, rawvideo out: FRAMES concatenated yuv444p frames. + if aomdec_path().is_file() { + let dir = std::env::temp_dir().join(format!("ec-av1-leaf8oob-{}", std::process::id())); + let _ = std::fs::remove_dir_all(&dir); + std::fs::create_dir_all(&dir).expect("scratch dir"); + let raw = dir.join("aomdec.raw"); + let out = Command::new(aomdec_path()) + .args(["--codec=av1", "--rawvideo", "-o"]) + .arg(&raw) + .arg(&obu) + .stdin(Stdio::null()) + .stdout(Stdio::piped()) + .stderr(Stdio::piped()) + .output() + .expect("aomdec failed to run"); + assert!( + out.status.success(), + "{NAME}: the oracle aomdec refused the stream: {}", + String::from_utf8_lossy(&out.stderr) + ); + let ref_raw = std::fs::read(&raw).expect("aomdec rawvideo output"); + let _ = std::fs::remove_dir_all(&dir); + assert_eq!(ref_raw.len(), W * H * 3 * FRAMES, "{NAME}: aomdec raw size"); + assert_eq!( + fnv1a64(&ref_raw), + 0x3821_0bcb_f572_973c, + "{NAME}: aomdec raw fingerprint moved" + ); + } else { + eprintln!("SKIP {NAME} aomdec arm: no oracle aomdec at {}", aomdec_path().display()); + } + } + /// lane-lossless128: a LOSSLESS key frame that codes a 128-axis /// (`BLOCK_64X128`) intra block -- the shape libaom's `read_tx_size` forces /// to `TX_4X4` on its very first line (`decodeframe.c:1183`), so every plane diff --git a/lanes/av1leaf8oob.report.md b/lanes/av1leaf8oob.report.md new file mode 100644 index 00000000..b4149218 --- /dev/null +++ b/lanes/av1leaf8oob.report.md @@ -0,0 +1,134 @@ +# lane-av1leaf8oob: fix the 4:4:4 intrabc 8x8-leaf chroma OOB panic + +Tree: lane-av1-leaf8oob @ 9e77c16b (base = lane-av1llpredgate2's pin). +Reproducer pinned at `crates/ec-av1/fixtures/444_leaf8_oob.obu`. + +## Defect + +`cargo run -p ec-av1 --example decode_probe` on the fixture died with + +``` +thread 'main' panicked at crates/ec-av1/src/decode.rs:3774:16: +index out of bounds: the len is 16 but the index is 16 +``` + +(`PlaneBuf::reconstruct` via `exec_intra` via `decode_leaf8`, reached through +the `#[track_caller]` reconstruct calls at 4:4:4, 8x8 leaf.) + +Root cause, ONE plane-math site as the ticket guessed: `decode_leaf8`'s +intrabc frame-copy closure sized the leaf's chroma prediction buffers with +the literal 4:2:0 halving of an 8x8 luma leaf — `vec![0u16; 4 * 4]` and +`predict_with_filter(.., 4, 4, ..)` for BOTH U and V — while the leaf's own +chroma reconstruct at 4:4:4 runs `csz == 8`. The 16-sample override rode the +`PALETTE_PRED` slot into `reconstruct` as an 8x8 prediction, which indexed +`prediction[row * 8 + col]` = 16 at row 2, col 0: `len 16, index 16`. + +## Fix (source, not a clamp) + +`crates/ec-av1/src/decode.rs`, `decode_leaf8` intrabc closure: the chroma +extent is now derived from the frame's subsampling, +`(cw, ch) = (8 >> ss_x(fctx), 8 >> ss_y(fctx))` for both the buffer size and +the `predict_with_filter` geometry, and the row subpel arg uses `ss_y` like +every sibling intrabc site (rect intrabc at 11570/11910/11920, the +`luma: bool` helper at 13899; bit-identical at every reachable ss since +4:2:2 refuses at the sequence header, so ss_x == ss_y in all decodable +streams). 4:2:0 still computes 4x4 — byte-identical there. + +The one sizing heals all three consumers of the buffers: the TX8 and skip +arms consume them whole at `csz`, and the TX4 4:4:4-lossless arm windows +them at stride 8 inside `read_intra_chroma_lossless` +(`palette_window(buf, stride, ox, oy, 4, 4)` reads up to index 63), which +had the same OOB latent. + +## Class sweep (hardcoded 4:2:0 chroma extent, decode.rs) + +Swept every intrabc chroma prediction site in decode.rs: + +| site | extent | verdict | +|---|---|---| +| `decode_leaf8` intrabc closure (18128/18134 pre-fix) | literal `4*4` | **THE BUG** — fixed | +| `decode_block` square intrabc (16735+) | `chroma_side = side >> ss_x` | ss-derived, clean | +| rect intrabc owned/rect4 (11557+, 11897+) | `cw * ch`, `cside` | ss-derived, clean | +| `predict_intrabc` helper (13899) | `w * h` params, `ss_x`/`ss_y` split | clean | +| `sub8_leaf_chroma444` (18927+) | `bw * bh` (already chroma units) | clean by construction | +| `decode_leaf_split4` 4x4 arm (19423+) | literal `4*4`/`4,4` | 4:2:0-only arm (chroma_444 returns earlier) — literal correct there | +| `decode_leaf_rect8` clamp arm (20106+) | literal `4*4`/`4,4` | same 4:2:0-only arm — literal correct there | + +No second 4:4:4-reachable instance exists in decode.rs. Signature-class +note: lane-lossless128 hit the identical panic text (`len 16, index 16`) +from a 128-axis lossless extent — recurring class, both now pinned by +gates. + +## Gate + +`stream::tests::an_intrabc_8x8_leaf_chroma_frame_copy_at_444_decodes_without_the_oob` +(crates/ec-av1/src/stream.rs), modelled on the av1llpredgate2 pattern: + +- Fixture provenance: the lane ticket's witness-hunt reproducer (s1a/s2e); + 3577 bytes, sha256 + `72bed2791d1ceba8be7926a052c7838c5d96d4f9d56d28fb69789a753d3593af`, + FNV-1a64 `0x86b93a51fe16353c`; 320x256, 3 frames, 8-bit 4:4:4 + screen-content keyframes (the oracle's MB dump opens on unbroken + inter-classified intra = intrabc blocks). The aomenc recipe is not + independently recoverable in this lane — bytes pinned by length + FNV + + oracle raw fingerprint. Force-added past the `fixtures` gitignore like + every sibling fixture; missing file panics, no skip path. +- Assertions: fixture bytes (len + FNV), `decode_stream` succeeds (3 + frames, 320x256 — the pre-fix run died here), `leaf8_intrabc_hits` + 0 -> 4 non-vacuity, and the oracle aomdec still decodes the pinned bytes + (raw 737280 bytes, FNV `0x38210bcbf572973c`). + +### Red-before (mutation verification) + +`git checkout --` of the fix (patch snapshotted to /tmp, restored +byte-identical, `diff`-verified): gate RED at +`decode.rs:3774:16 index out of bounds: the len is 16 but the index is 16` +— the exact ticketed panic. With the fix: green, standalone AND in the +full `intrabc lossless` filter batch (26 passed, 3 consecutive runs). + +### Why the gate pins NO pixel baseline (measured, then scoped out) + +Against the oracle aomdec (`--rawvideo`; comparison method ground-truthed: +`a_lossless_sb128_rect_intra_block_decodes_sample_exact` and +`a_lossless_444_min_partition8_inter_stream_decodes_sample_exact` are green +on this same tree), this stream DIVERGES, and not deterministically: + +- per-frame differing (y, u, v) of 81920 samples/plane: + (20811, 35467, 32320), (20308, 39177, 35994), (20131, 39588, 36601); + frame 0's first differing LUMA sample at (275,128); +- under `EC_AV1_PLANE_SENTINEL=1` chroma counts move (u f0 35467 -> 35630) + while luma stays put; sentinel-vs-uninit output diffing localises the + dependence to 458 WHOLE 8x8 chroma blocks (frame 0: chroma x >= 96, + y >= 64) reading samples this decode never wrote — ambient memory, so + any pixel-exact assert drifts run to run (observed: u f1 39177 vs + 39126 vs 39138 across batch runs). + +Attribution to this lane's diff: none. The fix touches only leaf8's chroma +prediction buffers; intra/intrabc luma reads only luma edges and the luma +plane, so a luma-first divergence cannot come from it, and the pre-fix run +never produced output (panic at the first intrabc 8x8 leaf). + +Unified reading: ONE pre-existing decode desync on this stream around +frame-0 SB (3..4, 2) — after it, samples diverge from the oracle AND the +misread layout leaves whole chroma blocks unreconstructed (which is where +the never-written reads live). An initial-bounds witness would not have +seen this: the stream never decoded before this lane lifted the panic. + +Disposition: `deferred(unblock: divergence lane — EC trace pairing against +the oracle on this fixture; the oracle's AOMMB dump covers only frame 0's +first MB rows, so pairing needs the env-gated rungs)`. + +## Non-regression + +- `cargo test -p ec-av1 --lib -- intrabc lossless`: 26 passed, 0 failed + (3 consecutive runs, including the 4:2:0 intrabc gates + `an_intrabc_tx4_leaf_chroma_inherits_the_luma_type_and_predicts_from_the_frame_copy`, + the sb128 intrabc pixel-exact gates, and the 4:4:4 lossless + minp64/minp8/sb128 sample-exact gates). +- `cargo check -p ec-av1`: 0 warnings. + +## Hygiene + +- Target dir `$HOME/.cache/cargo-target-av1leaf8oob` throughout. +- Throwaway instruments (`examples/oob_diff.rs`, `examples/oob_dump.rs`) + deleted before commit; no other tree touched; nothing pushed.