[luatex] LuaTeX crashes

Khaled Hosny khaledhosny at eglug.org
Tue Jul 12 22:20:53 CEST 2011

On Tue, Jul 12, 2011 at 11:28:40AM +0200, Taco Hoekwater wrote:
> On 07/12/2011 10:56 AM, Taco Hoekwater wrote:
> >On 07/12/2011 09:11 AM, Hartmut Henkel wrote:
> >>
> >>looks as if the macro package calls for a direction other than the
> >>four implemented ones (TLT, TRT, LTL, RTT).
> >
> >That is just a side-effect. I have deduced so far, that the problem is
> >that one of internal structures for \halign becomes trashed somewhere
> >in the process. That gives one of the nodes a bad field, which in turn
> >causes a bad attribute assignment to happen, resulting in the assertion
> >failure.
> >
> >Revision 4327 (trunk) adds an assert() so that the actual problem is
> >discovered earlier (but luatex still crashes).
> The problem is caused because the loop in bidi.lua is adding
> stuff to node lists where it should not do so. I am not at all sure
> what the correct fix is, but this replacement function for bidi.lua
> makes the crash go away, at least:

It does not crash luatex, but I get no bidi at all too.

After some debugging, this unset box thing happens with groupcode
"fin_row" in pre_linebreak_filter, with some grepping through code I see
that "fin_row" contains unset boxes separated by glue at the end of raw
in [h|v]align (whatever that means, I've absolutely no idea). Now, any
idea what are the contents of these unset boxes and whether it is safe
to just skip it completely (i.e. just returning an unaltered head)?
(if I skip it, I get no crashes).


 Khaled Hosny

More information about the luatex mailing list