[luatex] TexLive 2012 LuaLaTeX segmentation fault

Michael Talbot-Wilson mtw at view.net.au
Mon Jul 30 07:19:27 CEST 2012


On Mon, 23 Jul 2012, Taco Hoekwater wrote:
> On 07/22/2012 01:00 PM, Dirk Laurie wrote:
>> ...
>> This is the input file 'sample.tex':
>> 
>> \documentclass{article}
>> \begin{document}
>> \directlua{
>>    mp=mplib.new{}
>>    mp:execute[[
>> beginfig(1);
>> fill fullcircle scaled 5cm withcolor green;
>> draw fullcircle scaled 4.5cm;
>> endfig;
>> ]]}
>> \end{document}
>
> Sorry about the crash, but this won't work, ever. Mplib does not know
> out of the box how to find input files that are not in the current
> directory...
> ... All in
> all, it is much easier to use a package like luamplib:
>
> \documentclass{article}
> \usepackage{luamplib}
> \begin{document}
> \begin{mplibcode}
> fill fullcircle scaled 5cm withcolor green;
> draw fullcircle scaled 4.5cm;
> \end{mplibcode}
> \end{document}

Okay,

$ luatex fix.tex #source below

Edited log file:

This is LuaTeX, Version beta-0.70.2-2012062812 (TeX Live 2012)
(format=luatex 2012.7.24)  30 JUL 2012 14:33
  restricted \write18 enabled.
**fix.tex
(./fix.tex
(/usr/local/libexec/texlive/2012/texmf-dist/tex/eplain/eplain.tex)
(/usr/local/libexec/texlive/2012/texmf-dist/tex/plain/graphics-pln/miniltx.tex
...
)
(/usr/local/libexec/texlive/2012/texmf-dist/tex/luatex/luamplib/luamplib.sty
luamplib.sty: 2011/12/09 v1.09 mplib package for LuaTeX
^^^^^^^^                       ^^^^^^^^^^^^^

(/usr/local/libexec/texlive/2012/texmf-dist/tex/luatex/luatexbase/luatexbase-mo
dutils.sty
luatexbase-modutils.sty: 2010/10/10 v0.3 Module utilities for LuaTeX

(/usr/local/libexec/texlive/2012/texmf-dist/tex/generic/oberdiek/ifluatex.sty
ifluatex.sty: 2010/03/01 v1.3 Provides the ifluatex switch (HO)
ifluatex: LuaTeX detected
)
(/usr/local/libexec/texlive/2012/texmf-dist/tex/luatex/luatexbase/luatexbase-lo
ader.sty
luatexbase-loader.sty: 2010/10/10 v0.3 Lua module loader for LuaTeX

61: Eplain: package `ifluatex' already loaded, skipping reloading
(/usr/local/libexec/texlive/2012/texmf-dist/tex/luatex/luatexbase/luatexbase-co
mpat.sty
luatexbase-compat.sty: 2010/10/10 v0.3 Compatibility tools for LuaTeX

61: Eplain: package `ifluatex' already loaded, skipping reloading
)
(/usr/local/libexec/texlive/2012/texmf-dist/tex/luatex/luatexbase/luatexbase.lo
ader.lua))
(/usr/local/libexec/texlive/2012/texmf-dist/tex/luatex/luatexbase/modutils.lua)
)
(/usr/local/libexec/texlive/2012/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
fancyvrb.sty: 2008/02/07

Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and
firstline=lastline fix
<2008/02/07> (tvz)
(/usr/local/libexec/texlive/2012/texmf-dist/tex/latex/graphics/keyval.sty
keyval.sty: 1999/03/16 v1.13 key=value parser (DPC)
...
\FV at CodeLineNo=\count52
\FV at InFile=\read1
\FV at TabBox=\box20

! Undefined control sequence.
l.1050 \newcounter
                   {FancyVerbLine}
? x
No pages of output.

fix.tex
-------
%\documentclass{article}
\input eplain
\beginpackages
\usepackage{luamplib}
%\begin{document}
\begin{mplibcode}
fill fullcircle scaled 5cm withcolor green;
draw fullcircle scaled 4.5cm;
\end{mplibcode}
%\end{document}
\endpackages

Being the blind following the fit, who seem to have disappeared (as
they say) over the horizon (as they call it)... in which direction
should I now turn?


More information about the luatex mailing list