[Dev-luatex] segfault on example in manual

Hironobu Yamashita h.y.acetaminophen at gmail.com
Mon Apr 8 13:53:29 CEST 2019


Hi Luigi,

On 2019-04-02 at 21:59:21 +0200, luigi scarso wrote:
>
> On Tue, Apr 2, 2019 at 9:48 PM Reinhard Kotucha <reinhard.kotucha at web.de>
> wrote:
>     I suppose that texlua crashes when trying to print the warning, see
>     gdb output below.  What I don't understand is is why luatex and
>     texlua behave differently here.
>
> because the print of the warning requires a TeX state. texlua has
> only a Lua state.

Do you have any plan of fixing this?
If not, please consider the attached patch.
Without this, even the simple file test.lua containing

pdfe.open("foo.pdf")

causes a segfault...


Hironobu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20190408_luaonly_tprint.patch
Type: application/octet-stream
Size: 459 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-live/attachments/20190408/165f142d/attachment.obj>


More information about the tex-live mailing list