[luatex] signal SIGSEGV, Segmentation fault., lualatex, TexLive 2015 on Linux mint

luigi scarso luigi.scarso at gmail.com
Fri Mar 18 09:38:00 CET 2016


On Mon, Mar 14, 2016 at 1:02 PM, Nasser M. Abbasi <nma at 12000.org> wrote:

> I have a large latex file. When I run lualatex using this command:
>
> lualatex report.tex
>
> I get a core dump
>
> Core was generated by `lualatex report.tex'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x0000000000508782 in ?? ()
>
> This happens only with lualatex and not with pdflatex and it happens
> on this latex file (it is large latex file).
>
> I am on Linux mint
>
> uname -r
>>
> 3.16.0-38-generic
>
> lsb_release -a
>>
> No LSB modules are available.
> Distributor ID: LinuxMint
> Description:    Linux Mint 17.2 Rafaela
> Release:        17.2
> Codename:       rafaela
>
> I am using TL 2015.
>
> lualatex -v
> This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238)
>
> There is one latex file and 2 include .tex files and lots of math
> images. I have zipped the whole folder into one zip file. it is
> large (200 MB) so will take few minutes to download if someone
> wants to reprduce it. The zip file is here
>
>          http://12000.org/tmp/031416/
>
> called tangent_bug.zip
>
> The command to see the crash is:
>
> ----------------------------------
> lualatex report.tex
> .....
> (/usr/local/texlive/2015/texmf-dist/tex/latex/microtype/mt-msb.cfg)
>
> Package hyperref Warning: old toc file detected, not used; run LaTeX again
> (chee
> rs from etoc).
>
> (/usr/local/texlive/2015/texmf-dist/tex/latex/psnfss/t1pcr.fd)
> (/usr/local/texlive/2015/texmf-dist/tex/latex/psnfss/ts1pcr.fd)
> [1{/usr/local/te
> xlive/2015/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] [2] [3]
>    Segmentation fault (core dumped)
> -------------------------
>
> I tried to put all needed files in the zip file. So all what is needed
> is unzip the file and run the above command. If I missed some file,
> will update. Any other info needed, please let me know.
>
> thanks,
> --Nasser
>

The problem looks here in align.w at line 988:
                     vlink(u) = new_glue(v);
vlink(u) means
varmem[(a)].hh.v.RH
but new_glue(v) can enlarge varmem before return the result.
I have a patch , can you compile from the source ?


-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20160318/eea54f5a/attachment-0001.html>


More information about the luatex mailing list