Skip to content

Add tex-output test reproducing issue #1757 - #426

Open
lbssousa wants to merge 1 commit into
gregorio-project:developfrom
lbssousa:fix-1757
Open

Add tex-output test reproducing issue #1757#426
lbssousa wants to merge 1 commit into
gregorio-project:developfrom
lbssousa:fix-1757

Conversation

@lbssousa

@lbssousa lbssousa commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

@davidweichiang

Copy link
Copy Markdown
Contributor

Could this have been a tex-output test?

Reproduces the LuaTeX os.spawn() fd-inheritance bug, where compiling
a score via \gregorioscore or \gabcsnippet inside a file loaded with
\input can corrupt the parent's read position on a clean build,
causing part of the file to be reprocessed.

fix-1757.tex \input-s fix-1757-fragment.ltx, which exercises both
affected call sites padded past LuaTeX's input buffer size so the
corruption is observable; a recurrence duplicates paragraphs/scores
in the output PDF.
@lbssousa lbssousa changed the title Add scripted test reproducing issue #1757 Add tex-output test reproducing issue #1757 Jul 11, 2026
@lbssousa

Copy link
Copy Markdown
Contributor Author

Just refactored the test from scripted to tex-output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants