[luatex] segfault lualatx in math_fraction (), texlive 2016, lualatex 0.95

Nasser M. Abbasi nma at 12000.org
Sun Jan 1 16:13:31 CET 2017


fyi,

I am getting seg fault compiling this one large latex file
under texlive 2016 on Linux mint.

I could not make a MWE, so I put the file, called KERNEL.tex in
this folder

http://12000.org/tmp/010117/

Here is what I found: I delete the .aux and .toc files, then
compile using
         lualatex KERNEL.tex
first time, ok, next time
         lualatex KERNEL.tex
gives seg fault:

-----------------------------
Underfull \hbox (badness 10000) in paragraph at lines 25157--25158
Program received signal SIGSEGV, Segmentation fault.
0x000000000048dd0b in math_fraction ()
(gdb)
(gdb) bt
#0  0x000000000048dd0b in math_fraction ()
#1  0x000000000047af72 in main_control ()
#2  0x000000000047260b in main_body ()
#3  0x000000000044643e in main ()
(gdb)
----------------------------------

To repeate, I delete .toc, .aux, and repeate the above. It
will seg fault again. Always on second run, not first.

This is what I found to bypass the segfault:

If I remove the line (22) which says

\setmainfont{CMU Serif}

the segfault goes away. Another way to remove the fault, is
to keep the above line, but comment away the following
listing lines (around line 53)

\usepackage{luacode}
\usepackage{listings}
\usepackage[most]{tcolorbox}

There might be other interactions also. The file is large
and full of just math equations. No graphics.

May be an expert can find why this happens.

which lualatex
/usr/local/texlive/2016/bin/x86_64-linux/lualatex

lualatex
This is LuaTeX, Version 0.95.0 (TeX Live 2016)

any other information needed, please let me know.

thanks,
--Nasser




More information about the luatex mailing list