Ticket #45298

warning (hpack filter): stack overflow

Open Date: 2022-08-02 20:08 Last Update: 2022-08-09 01:06

Reporter:
Owner:
Type:
Status:
Open [Owner assigned]
Component:
(None)
MileStone:
(None)
Priority:
7
Severity:
7
Resolution:
None
File:
None

Ticket History (3/6 Histories)

2022-08-02 20:08 Updated by: henribranken
  • New Ticket "warning (hpack filter): stack overflow" created
2022-08-02 20:18 Updated by: h7k
  • Owner Update from (None) to h7k
  • Type Update from Support Request to Bugs
Comment

Sorry, I didn't notice that. LuaTeX-ja seems to have a memory leak. I'll check that.

2022-08-02 20:43 Updated by: h7k
Comment

Smaller example:

  1. %#! luatex
  2. \loggingall
  3. \input luatexja.sty
  4. \def\A{\advance\count0 1\shipout\vbox{\vrule}\A}\A
2022-08-04 18:47 Updated by: h7k
Comment

I think that dir_adjust_append_vlist (in ltj-lineskip.lua) is probably the cause of this error, but I'm still investigating...

2022-08-06 08:41 Updated by: h7k
Comment

Although LuaTeX-ja has several memory leaks (I'm working on these), fixing this "stack overflow" error requires the recompilation of LuaTeX binary (see a thread starting from here).

You can use following workaround (but this makes luatexja-adjust.sty useless):

  1. \usepackage{luatexja}
  2. ...
  3. \directlua{
  4. luatexbase.remove_from_callback('append_to_vlist_filter', 'ltj.lineskip')
  5. }
  6. ...
  7. \begin{document}

2022-08-09 01:06 Updated by: None
Comment

Thank you. Your workaround works!

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login