[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

http://tex.stackexchange.com/questions/330842/

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

\documentclass{minimal}
\usepackage{lualatex-math}
\usepackage[partial=upright,nabla=upright]{unicode-math}
\usepackage{amsmath}
\setmathfont{XITS Math}

then

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


David


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

....

ending

(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
onts/otl/xits-mathbold.luc))
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
\font\nullfont=nullfont
\font\OMX/cmex/m/n/10=cmex10
\font\tenln=line10
\font\tenlnw=linew10
\font\tencirc=lcircle10
\font\tencircw=lcirclew10
\font\OT1/cmr/m/n/5=cmr5
\font\OT1/cmr/m/n/7=cmr7
\font\OT1/cmr/m/n/10=cmr10
\font\OML/cmm/m/it/5=cmmi5
\font\OML/cmm/m/it/7=cmmi7
\font\OML/cmm/m/it/10=cmmi10
\font\OMS/cmsy/m/n/5=cmsy5
\font\OMS/cmsy/m/n/7=cmsy7
\font\OMS/cmsy/m/n/10=cmsy10
\font\EU2/lmr/m/n/10=file:lmroman10-regular:script=latn;+trep;+tlig;
\font\EU2/lmr/m/sl/10=file:lmromanslant10-regular:script=latn;+trep;+tlig;
\font\EU2/lmr/m/it/10=file:lmroman10-italic:script=latn;+trep;+tlig;
\font\EU2/lmr/bx/n/10=file:lmroman10-bold:script=latn;+trep;+tlig;
\font\EU2/lmss/m/n/10=file:lmsans10-regular:script=latn;+trep;+tlig;Segmentation
fault (core dumped)


More information about the luatex mailing list