dak at gnu.org
Tue Apr 3 16:00:14 CEST 2007
Taco Hoekwater <taco at elvenkind.com> writes:
> David Kastrup wrote:
>> I am afraid that I am too tired to dig into the allocation routines of
>> TeX right now.
> That's what I thought as well. I did some imperical tests to reach
> my conclusion and they could be skewed. But even if this is not the
> cause of all the slowness, it still needs to be resolved. Leaking
> memory is never a good thing.
I had one idea, namely dumping the format file after compiling the
file, and see whether I find large repetitive patterns (in which case
I'd look up their node type).
Unfortunately, I got the following:
luatex -ini -fmt ztex plain "\let\end\dump \input tex"
This is luaTeX, Version 3.141592-snapshot-2007040210 (Web2C 7.5.6) (INITEX)
Preloading the plain format: codes, registers, parameters, fonts, more fonts,
macros, math definitions, output routines, hyphenation
(/usr/local/texlive/2007/texmf-dist/tex/plain/base/webmac.tex) *1  
     *17  Segmentation fault (core dumped)
Now the LuaTeX documentation explicitly says that hyphenation in
iniTeX may crash the system. Any idea how hard it would be to fix?
In the mean time, I'll probably switch off hyphenation and hope that
the situation turns out similar enough for the bug to show.
More information about the dev-luatex