[tex-live] [LuaLaTex] Bug with lscape and pdflascape

Heiko Oberdiek heiko.oberdiek at googlemail.com
Sat Apr 16 19:32:29 CEST 2011

On Sat, Apr 16, 2011 at 01:24:58PM +0200, Benoit RIVET wrote:

> The following minimal example (using lscape or pdflscape) causes a segmentation fault with LuaTex. The file compiles fine when removing the lscape package.
> This is LuaTeX, Version beta-0.60.2-2010071217 (TeX Live 2010) (rev 3736) 
>  restricted \write18 enabled.

> (/usr/local/texlive/2010/texmf-dist/tex/latex/latexconfig/graphics.cfg)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/pdftex-def/pdftex.def
> (/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
> [...] (./test.aux) [...]
> Segmentation fault

It's probably the bug recently discussed on the mailing list
dev-luatex. It's already fixed in the sources.

It's caused by "os.execute()" (the argumentless form). That
is used by package epstopdf-base.sty via pdftexcmds to
know whether shell escape is available (for conversion eps to pdf).

* You don't need shell escape:
  \directlua{os.execute = nil} at the beginning.
* No conversion eps to pdf:
  \newcommand*{\DoNotLoadEpstopdf}{} at the beginning
* With shell escape:
  --shell-escape (unrestricted seems to work)

Yours sincerely
  Heiko Oberdiek

More information about the tex-live mailing list