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.kotu...@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

Attachment: 20190408_luaonly_tprint.patch
Description: Binary data

_______________________________________________
dev-luatex mailing list
dev-luatex@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-luatex

Reply via email to