Mojca Miklavec
On Thu, May 17, 2012 at 2:37 PM, Marco Pessotto wrote:
Hans Hagen
writes: On 16-5-2012 21:02, Marco Pessotto wrote:
mtx-context | fatal error: no return code, message: luatex: execution interrupted[21:00]
looks like a crashing luatex
I forgot to report the architecture and the platform, which is Gnu/Linux i386, Debian stable.
If you send me instructions how to give you a backtrace, I'll be glad to do it.
gdb luatex r --fmt="/media/data/melmoth/progetti/texlive-2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en" --lua="/media/data/melmoth/progetti/texlive-2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui" --backend="pdf" "./ciao.tex"
(But that luatex is probably stripped.)
Indeed it is. [17:32] melmoth@universe:~/progetti/debug$ gdb luatex GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /media/data/melmoth/progetti/texlive2012/bin/i386-linux/luatex...(no debugging symbols found)...done. (gdb) run --fmt="/media/data/melmoth/progetti/texlive2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en" --lua="/media/data/melmoth/progetti/texlive2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui" --backend="pdf" "./ciao.tex" Starting program: /media/data/melmoth/progetti/texlive2012/bin/i386-linux/luatex --fmt="/media/data/melmoth/progetti/texlive2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en" --lua="/media/data/melmoth/progetti/texlive2012/texmf-var/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui" --backend="pdf" "./ciao.tex" This is LuaTeX, Version beta-0.70.1-2012051323 (TeX Live 2012) \write18 enabled. (ciao.tex ConTeXt ver: 2012.05.14 16:00 MKIV fmt: 2012.5.17 int: english/english system > cont-new.mkiv loaded (/media/data/melmoth/progetti/texlive2012/texmf-dist/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > ciao.top loaded (ciao.top) fonts > latin modern fonts are not preloaded languages > language en is active {/media/data/melmoth/progetti/texlive2012/texmf-dist/fonts/map/pdftex/context/mkiv-base.map} fonts > preloading latin modern fonts (second stage) fonts > typescripts > unknown: library 'loc' {/media/data/melmoth/progetti/texlive2012/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/media/data/melmoth/progetti/texlive2012/texmf-dist/fonts/map/dvips/lm/lm-rm.map} fonts > virtual math > unable to resolve name mapsfromchar fonts > fallback modern rm 12pt is loaded backend > xmp > using file '/media/data/melmoth/progetti/texlive2012/texmf-dist/tex/context/base/lpdf-pdx.xml' Program received signal SIGSEGV, Segmentation fault. 0x08132e87 in ?? () (gdb) bt #0 0x08132e87 in ?? () #1 0x0826d4dd in ?? () #2 0x0826d700 in ?? () #3 0x0827b935 in ?? () #4 0x0827bac2 in ?? () #5 0x0827c684 in ?? () #6 0x0826d751 in ?? () #7 0x08266921 in ?? () #8 0x0826ccf0 in ?? () #9 0x0826da18 in ?? () #10 0x0826698a in lua_pcall () #11 0x080d173f in ?? () #12 0x080d188b in late_lua () #13 0x0817434e in out_what () #14 0x08174f2e in hlist_out () #15 0x000003c4 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) quit A debugging session is active. Inferior 1 [process 12490] will be killed. Quit anyway? (y or n) y
Is the problem reproducible if you copy Luatex from TeX Live to ConTeXt distribution? Since the version of ConTeXt is exactly the same.
Same outcome: cp /media/data/melmoth/progetti/texlive2012/bin/i386-linux/luatex `which luatex` [17:38] melmoth@universe:~/progetti/debug$ which luatex /media/data/melmoth/progetti/context-cutting-edge/tex/texmf-linux/bin/luatex [17:38] melmoth@universe:~/progetti/debug$ cp /media/data/melmoth/progetti/texlive2012/bin/i386-linux/luatex `which luatex` [17:38] melmoth@universe:~/progetti/debug$ which context /media/data/melmoth/progetti/context-cutting-edge/tex/texmf-linux/bin/context [17:38] melmoth@universe:~/progetti/debug$ context ciao.tex [here lot of output from expired cache] mtx-context | run 1: luatex --fmt="/media/data/melmoth/progetti/context-cutting-edge/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en" --lua="/media/data/melmoth/progetti/context-cutting-edge/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui" --backend="pdf" "./ciao.tex" \stoptext This is LuaTeX, Version beta-0.70.1-2012051323 (TeX Live 2012) \write18 enabled. (ciao.tex ConTeXt ver: 2012.05.14 16:00 MKIV fmt: 2012.5.17 int: english/english system > cont-new.mkiv loaded (/media/data/melmoth/progetti/context-cutting-edge/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > ciao.top loaded (ciao.top) fonts > latin modern fonts are not preloaded languages > language en is active {/media/data/melmoth/progetti/context-cutting-edge/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts > preloading latin modern fonts (second stage) fonts > typescripts > unknown: library 'loc' {/media/data/melmoth/progetti/context-cutting-edge/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/media/data/melmoth/progetti/context-cutting-edge/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fonts > virtual math > unable to resolve name mapsfromchar fonts > fallback modern rm 12pt is loaded backend > xmp > using file '/media/data/melmoth/progetti/context-cutting-edge/tex/texmf-context/tex/context/base/lpdf-pdx.xml' mtx-context | fatal error: no return code, message: luatex: execution interrupted Then I run again the first-setup.sh and the file compiles again. I hope this helps. Best regards -- Marco