[luatex] segfault dumping xits fonts

David Carlisle d.p.carlisle at gmail.com
Thu Sep 22 20:07:32 CEST 2016

This was reported (for unspecified version/operating system) on stackexchange


but I see the same using 0.98.4 on cygwin64, and Enrico just confirmed
that the OSX build also segfaults.

Taking a file file.tex as

\setmathfont{XITS Math}


luatex --ini "&lualatex file.tex\dump"

produces a terminal output as listed below.

I don't think the dump would work as the user hoped (too much lua
state involved in the files) but it presumably shouldn't segfault.

While I was writing this, Enrico just confirmed the results with other fonts:

> On the other hand Latin Modern Math is good.
> Also STIX Math, but not Asana Math
> It seems a font specific problem


This is LuaTeX, Version 0.98.4 (TeX Live 2017/dev)  (INITEX)
 restricted system commands enabled.



(load luc: /usr/local/texlive/2016/texmf-var/luatex-cache/generic/fonts/otl/xi
ts-math.luc)(load luc: /usr/local/texlive/2016/texmf-var/luatex-cache/generic/f
Beginning to dump on file file.fmt
 (format=file 2016.9.22)
23263 strings using 381023 bytes
894279 memory locations dumped; current usage is 280&434569
21646 multiletter control sequences
fault (core dumped)

More information about the luatex mailing list