diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-23 09:00:02 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-23 09:15:57 -0300 |
| commit | 0733d0a0d89bacb64f45d71b06ffbcf1abe6ffb3 (patch) | |
| tree | 3ba66f09cae28d443502bfb66ae13c45e966c8bb /runtime/root.zig | |
| parent | 4faf94b72b60ecb0656e7e90ca693b63b1fde71c (diff) | |
| download | pardes-0733d0a0d89bacb64f45d71b06ffbcf1abe6ffb3.tar.gz pardes-0733d0a0d89bacb64f45d71b06ffbcf1abe6ffb3.zip | |
pdf, build: the test of a PDF searched for what its page has not and asked the sections it has not, and the C-backed addons' own Zig built with the checks a release keeps: on the installed ReleaseSafe build (4faf94b72b60) a session with docs/design.pdf open aborts at the keys `/zzqxv<Enter>` (a search for a pattern page 1 does not have: the page's job asks the bridge for its hits, pardes_pdf_search_page answers OK with quads NULL and a count of 0, and pdf.zig:762 slices the NULL: "attempt to use null value" on a worker, the whole session gone), and at `f` on test/pdf-fixtures/tall.pdf (no outline: items NULL, count 0, sliced in sections()); no Debug run ever saw either because a Debug build compiled pdf.zig and image.zig at c_optimize, ReleaseFast, without the checks; now core.zig's `addon_optimize` (ReleaseSafe in Debug, c_optimize otherwise) builds the two addons' modules (their Zig and their bridge's C) as the user's build does, MuPDF, FreeType, zlib and stb staying at c_optimize; the test (test/behaviour/addons_pdf.zig, through 9P: `/zzqxv` on design.pdf, its `:1:1` a miss, `f` on tall.pdf said to have no outline) fails in Debug with the abort at pdf.zig:762 (logs/t1-dbg-filter.log: 1/2, 1 crashed)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'runtime/root.zig')
0 files changed, 0 insertions, 0 deletions
