pdfcraft/crates
Brandon Thomas d341651b20 Tests: one wgpu device compiles shaders at a time in view.rs (WARP ARM64 crash)
On GitHub's Windows 11 ARM64 runner (no GPU, so wgpu uses Microsoft's WARP)
tests/view.rs died with STATUS_ACCESS_VIOLATION in about 1 run in 4. A crash
dump puts it inside WARP's pixel-shader JIT
(d3d10warp!PixelJitProgram::ClassifyVars, on WARP's own thread pool) when the
two tests that render pixels compile shaders on separate devices at once.
Single-threaded, or each test alone, it never crashed (180 runs); bigger
thread stacks didn't help (6/30 vs 7/30), so it's that race, not our code.
The app has one device on a real GPU and can't hit it.

Those two tests now hold a per-binary lock for their whole run (taken before
the harness, so released after its device drops). Other test binaries render
from at most one test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 10:43:49 -04:00
..
a11y Never crash: filters, fonts, js, optimize and a11y deny the panic lints 2026-10-04 13:06:23 -04:00
annot Fix text editing layout and preserve source PDF font styles (#36) 2026-10-05 07:48:23 -04:00
automation Forms: say so when a document is an XFA form (#60) 2026-10-06 07:22:33 -04:00
compare Never crash: deny the panic lints in crates that are already clean 2026-10-04 13:12:21 -04:00
content Never crash: deny the panic lints in crates that are already clean 2026-10-04 13:12:21 -04:00
cos Never crash: the fuzz job's eleven hangs finish (parser retries, inline images, Type 3 fan-out) 2026-10-05 07:35:38 -04:00
create Never crash: create has no expect calls 2026-10-04 13:12:21 -04:00
crypt Never crash: crypt has no panic paths 2026-10-04 13:06:23 -04:00
edit M7: move and resize existing text boxes in Edit text (#40) 2026-10-06 07:19:53 -04:00
engine Comments: Squiggly underline tool (Highlight flyout, All tools, command) 2026-10-05 18:57:28 -04:00
export Export tables: linear column lookups, a column cap, RTF spans 2026-10-06 07:38:17 -04:00
filters Never crash: filters, fonts, js, optimize and a11y deny the panic lints 2026-10-04 13:06:23 -04:00
fonts Fix text editing layout and preserve source PDF font styles (#36) 2026-10-05 07:48:23 -04:00
forms Fix text editing layout and preserve source PDF font styles (#36) 2026-10-05 07:48:23 -04:00
geom Never crash: deny the panic lints in crates that are already clean 2026-10-04 13:12:21 -04:00
js Merge pull request #16 from storytold/pr/never-crash-small 2026-10-04 14:46:43 -04:00
model Never crash: deny the panic lints in crates that are already clean 2026-10-04 13:12:21 -04:00
ocr Never crash: deny the panic lints in crates that are already clean 2026-10-04 13:12:21 -04:00
optimize Merge pull request #16 from storytold/pr/never-crash-small 2026-10-04 14:46:43 -04:00
organize Never crash: organize has no expect/unreachable 2026-10-04 13:12:20 -04:00
preflight Never crash: deny the panic lints in crates that are already clean 2026-10-04 13:12:21 -04:00
print Never crash: deny the panic lints in crates that are already clean 2026-10-04 13:12:21 -04:00
redact Never crash: deny the panic lints in crates that are already clean 2026-10-04 13:12:21 -04:00
render Forms: say so when a document is an XFA form (#60) 2026-10-06 07:22:33 -04:00
sign Never crash: sign has no expect/unreachable 2026-10-04 13:12:20 -04:00
ui-egui Tests: one wgpu device compiles shaders at a time in view.rs (WARP ARM64 crash) 2026-10-06 10:43:49 -04:00
xfdf XFDF: gracefully ignore invalid Unicode annotation colours (#48) 2026-10-05 16:36:08 -04:00