[luatex] mkluatexfontdb devours memory

Reinhard Kotucha reinhard.kotucha at web.de
Sat May 11 23:53:30 CEST 2013

On 2013-05-11 at 12:41:14 +0200, Arno Trautmann wrote:

 > But this does not work, the .ini files are not found:

Hi Arno,
an invaluable tool in order to find out where programs expect files
is strace.  AFAIK it's provided by all Linux distributions.

By default it traces all system calls and thus produces more output
than desired.

If you only want to trace stat() and open() calls, just call

  strace -e open,stat <your command>

Output is written to stderr and it's often more convenient to redirect
it to a file and examine the file afterwards:

  strace -e open,stat <your command>  2>strace-output

This allows you to use the search facilities of your text editor in
order to examine the results.

Though it's a matter of fact that kpathsea-debug is the best tool for
debugging TeX-related problems, I'm convinced that being aware of
strace is extremely helpful.


Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotucha at web.de
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.

More information about the luatex mailing list