[Dev-luatex] new luatex binary in TL pretest crashes when \directmeatpost is used
Petr Olsak
petr at olsak.net
Tue Feb 28 20:19:50 CET 2023
Hello luatex developers,
I installed TL pretest with new luatex binary and I found a bug in it,
when \directmetapost defined in minim-mp package is used. Try the
following file:
\input minim-mp
\directmetapost{
% define the pattern
picture letter; letter = maketext("a");
beginpattern(a)
draw letter rotated 45;
matrix = identity rotated 45;
endpattern(12pt,12pt);
% use the pattern
beginfig(1)
fill fullcircle scaled 3cm withpattern(a) withcolor 3/4red;
draw fullcircle scaled 3cm withpen pencircle scaled 1;
endfig;
}
\bye
and run luatex. The luatex from TL 2022 runs without problems but luatex
from TL 2023 says:
This is LuaTeX, Version 1.16.0 (TeX Live 2023)
restricted system commands enabled.
(./test.tex
(/usr/local/texlive/2023/texmf-dist/tex/luatex/minim-mp/minim-mp.tex
(/usr/local/texlive/2023/texmf-dist/tex/luatex/minim/minim-alloc.tex)
(/usr/local/texlive/2023/texmf-dist/tex/luatex/minim/minim-pdfresources.tex)){/
usr/local/texlive/2023/texmf-var/fonts/map/pdftex/updmap/pdftex.map}
! error: (pdf backend): 2 unmatched 'save' after form shipout
! ==> Fatal error occurred, no output PDF file produced!
Michal Vlasak noticed that the problem is probably related to the commit:
https://gitlab.lisn.upsaclay.fr/texlive/luatex/-/commit/c1909e4a4c5311197a253708614af973d9a6f989
Best regards
Petr Olsak
More information about the dev-luatex
mailing list