任务单 #45298

warning (hpack filter): stack overflow

开放日期: 2022-08-02 20:08 最后更新: 2023-02-26 09:17

报告人:
属主:
类型:
状态:
关闭
组件:
(无)
里程碑:
(无)
优先:
7
严重性:
7
处理结果:
Fixed
文件:

任务单历史 (3/7 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
  • 属主 Update from (无) to h7k
  • 类型 Update from Support Request to Bugs
评论

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
评论

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
评论

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
评论

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
评论

Thank you. Your workaround works!

2023-02-26 09:17 Updated by: h7k
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from to Fixed
评论

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

LuaTeX binaries in TeX Live 2023 (which is now pretesting) should fix this issue. So I close this ticket.

Attachment File List

No attachments

编辑

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