[luatex] [EXT] \expandafter\font\csname\endcsname causes segfault

Philip Taylor (RHBNC) P.Taylor at Rhul.Ac.Uk
Fri Aug 19 10:27:33 CEST 2022


On 19/08/2022 07:11, Hironori KITAGAWA via luatex wrote:

Hello all,

I found that foo.tex below causes Segmentation fault:
--- foo.tex (luatex or lualatex)
\input luaotfload.sty
\font\foo=cmr10
\expandafter\font\csname\endcsname=cmr10

Does not crash here, Kitagawa-san :

C:\Users\Philip Taylor>luatex
This is LuaTeX, Version 1.15.0 (TeX Live 2022)
 restricted system commands enabled.
**\input luaotfload.sty
(c:/TeX/Live/2022/texmf-dist/tex/luatex/luaotfload/luaotfload.sty
(c:/TeX/Live/2022/texmf-dist/tex/latex/base/ltluatex.tex))
*\font\foo=cmr10
*\expandafter\font\csname\endcsname=cmr10
*\end
warning  (pdf backend): no pages of output.
Transcript written on luaotfload.log.
--
Philip Taylor


This email, its contents and any attachments are intended solely for the addressee and may contain confidential information. In certain circumstances, it may also be subject to legal privilege. Any unauthorised use, disclosure, or copying is not permitted. If you have received this email in error, please notify us and immediately and permanently delete it. Any views or opinions expressed in personal emails are solely those of the author and do not necessarily represent those of Royal Holloway, University of London. It is your responsibility to ensure that this email and any attachments are virus free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20220819/ca50cd60/attachment.html>


More information about the luatex mailing list.