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

luigi scarso luigi.scarso at gmail.com
Tue Aug 23 01:12:40 CEST 2022


On Fri, Aug 19, 2022 at 10:40 AM luigi scarso <luigi.scarso at gmail.com>
wrote:

>
>
> On Fri, Aug 19, 2022 at 8:12 AM Hironori KITAGAWA via luatex <
> luatex at tug.org> 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
>> ---
>> I don't know much about this,
>> but the segfault does not occur if the line 1 or 2 is commented out.
>>
>
> Confirmed,
> $ luatex --credits
> This is LuaTeX, Version 1.15.1 (TeX Live 2023/dev)
>
> The LuaTeX team is Hans Hagen, Hartmut Henkel, Taco Hoekwater, Luigi
> Scarso.
>
> LuaTeX merges and builds upon (parts of) the code from these projects:
>
> tex       : Donald Knuth
> etex      : Peter Breitenlohner, Phil Taylor and friends
> omega     : John Plaice and Yannis Haralambous
> aleph     : Giuseppe Bilotta
> pdftex    : Han The Thanh and friends
> kpathsea  : Karl Berry, Olaf Weber and others
> lua       : Roberto Ierusalimschy, Waldemar Celes and Luiz Henrique de
> Figueiredo
> metapost  : John Hobby, Taco Hoekwater, Luigi Scarso, Hans Hagen and
> friends
> pplib     : Paweł Jackowski
> fontforge : George Williams (partial)
> luajit    : Mike Pall (used in LuajitTeX)
>
> Compiled with libpng 1.6.37; using 1.6.37
> Compiled with lua version 5.3.6
> Compiled with mplib version 2.02
> Compiled with zlib 1.2.12; using 1.2.12
>
> Development id: 7538
>
>
Fixed in revision 7539.
-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20220823/d0237a50/attachment.html>


More information about the luatex mailing list.