[luatex] Segfault with null argument to -output-comment

luigi scarso luigi.scarso at gmail.com
Fri May 22 12:21:59 CEST 2015


On Fri, May 22, 2015 at 7:44 AM, luigi scarso <luigi.scarso at gmail.com>
wrote:

>
>
> On Fri, May 22, 2015 at 2:46 AM, Hironori KITAGAWA <
> h_kitagawa2001 at yahoo.co.jp> wrote:
>
>> Hello all,
>>
>> LuaTeX raises a segmentation fault,
>> when -output-comment is just null:
>>
>> --- a.tex ---
>> \expandafter\ifx\csname pdfoutput\endcsname\relax
>>   \else\pdfoutput0 \fi
>> abc\bye
>> ---
>>
>> $ luatex -output-comment= a.tex
>> This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238)
>>  restricted \write18 enabled.
>> (./a.texzsh: segmentation fault (core dumped)  luatex -output-comment=
>> a.tex
>>
>> Other engines, such as tex, pdftex (and aleph) work fine:
>>
>> $ tex -output-comment= a.tex
>> This is TeX, Version 3.14159265 (TeX Live 2015) (preloaded format=tex)
>> (./a.tex [1] )
>> Output written on a.dvi (1 page, 188 bytes).
>> Transcript written on a.log.
>>
>> $ pdftex -output-comment= a.tex
>> This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded
>> format=pdftex)
>>  restricted \write18 enabled.
>> entering extended mode
>> (./a.tex [1] )
>> Output written on a.dvi (1 page, 188 bytes).
>> Transcript written on a.log.
>>
>> Regards
>> Hironori KITAGAWA <h_kitagawa2001 at yahoo.co.jp>
>>
>
> Confirmed, thank you for the report .
> I will fix asap.
> --
> luigi
>

A patch in trunk,
revision 5253.

-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20150522/6fdb4b99/attachment.html>


More information about the luatex mailing list