[luatex] Crash: type(r) == unset_node
luigi scarso
luigi.scarso at gmail.com
Thu Jun 16 17:31:51 CEST 2016
On Thu, Jun 16, 2016 at 4:44 PM, Javier Bezos <listas at tex-tipografia.com>
wrote:
> The following minimal file crashes with TL2016 (win7/64)
> and TL2015:
>
> \documentclass{article}
>
> \directlua{
> luatexbase.add_to_callback("hpack_filter", function() end, 'desc')
> }
>
> ------------
> Assertion failed!
>
> Program: C:\...\lualatex.exe
> File: ./tex/align.w
> Line: 966
>
> Expression: type(r) == unset_node
> ------------
>
> Unfortunately, using directly callback.register() doesn't work
> in LaTeX any more :-(, but it seems the problem is in luatexbase
> because using the latter in plain passes.
>
> Javier
>
your example gives
# lualatex test.tex
This is LuaTeX, Version 0.95.0 (TeX Live 2016)
restricted system commands enabled.
(./test1.tex
LaTeX2e <2016/03/31>
Babel <3.9r> and hyphenation patterns for 1 language(s) loaded.
(/media/Iomega_Ext_Drive/opt/luatex/texlive/2016/texmf-dist/tex/latex/base/arti
cle.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/media/Iomega_Ext_Drive/opt/luatex/texlive/2016/texmf-dist/tex/latex/base/size
10.clo)))
*
# cat test1.tex
\documentclass{article}
\begin{document}
\directlua{
luatexbase.add_to_callback("hpack_filter", function() end, 'desc')
}
\end{document}
# lualatex test1.tex
This is LuaTeX, Version 0.95.0 (TeX Live 2016)
restricted system commands enabled.
(./test1.tex
LaTeX2e <2016/03/31>
Babel <3.9r> and hyphenation patterns for 1 language(s) loaded.
(/media/Iomega_Ext_Drive/opt/luatex/texlive/2016/texmf-dist/tex/latex/base/arti
cle.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/media/Iomega_Ext_Drive/opt/luatex/texlive/2016/texmf-dist/tex/latex/base/size
10.clo)) (./test1.aux) (./test1.aux))
349 words of node memory still in use:
2 hlist, 1 vlist, 1 rule, 7 glue, 39 glue_spec, 2 write nodes
avail lists: 2:12,3:1,4:1,5:3,7:1,8:1,9:1
warning (pdf backend): no pages of output.
Transcript written on test1.log.
--
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20160616/24dbb10c/attachment.html>
More information about the luatex
mailing list