[luatex] LuaTeX fontloader segfault with cmap format 13

Hironobu YAMASHITA h.y.acetaminophen at gmail.com
Thu Apr 21 14:00:19 CEST 2016

I found that LuaTeX 0.95.0 fontloader crashes when input ttf file
has a cmap format 13.

AdobeBlank2.ttf freely available from
has a rare cmap format:
   <cmap_format_13 platformID="3" platEncID="10" format="13">
When I install it, LuaTeX causes segmentation fault:

% luatex test1.tex

This is LuaTeX, Version beta-0.95.0 (TeX Live 2016/W32TeX)
  restricted system commands enabled.
(./test1.texSegmentation fault: 11

LuaTeX 0.80.0 did not crash with the same font, so there might be
an accidental degradation. The issue reported in
with LastResort.ttf (MacOSX bundle) seems to be the same.

Hironobu Yamashita

More information about the luatex mailing list