[luatex] Crash with hyphenation patterns
Taco Hoekwater
taco at elvenkind.com
Tue Aug 24 19:25:29 CEST 2010
Joseph Wright wrote:
> Hello all,
>
> With the minimal format file
>
> \catcode `\{ = 1 \relax
> \catcode `\} = 2 \relax
> \catcode 32 = 9 \relax
> \endlinechar = 32 \relax
> \input hyphen.tex
> \dump
>
> everything works fine with either pdfTeX or XeTeX (TeX Live 2010 Pretest
> builds). However, with LuaTeX I get a crash:
>
> This is LuaTeX, Version beta-0.60.1-2010052109 (TeX Live 2010/pretest)
> (rev 3685) (INITEX)
> restricted \write18 enabled.
> (./format.tex
> (/usr/local/texlive/2010/texmf/tex/generic/hyphen/hyphen.texAbort trap
>
> Any idea why this is happening?
It crashed because this input creates a single pattern containing the
whole file, and the code that does the processing was not guarded
against that. I have now introduced a new error message:
! Pattern of enormous length ignored.
and that stops the crash (with an error).
Best wishes,
Taco
More information about the luatex
mailing list