[Dev-luatex] segfault on example in manual

Reinhard Kotucha reinhard.kotucha at web.de
Mon Apr 8 22:22:31 CEST 2019


On 2019-04-08 at 20:53:29 +0900, Hironobu Yamashita wrote:

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

Thank you very much!

Regards,
  Reinhard

--
------------------------------------------------------------------
Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:reinhard.kotucha at web.de
------------------------------------------------------------------



More information about the tex-live mailing list