On 05/17/2012 07:31 PM, Marco Pessotto wrote:
Anyway, I think I got the backtrace:
Nice backtrace.
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"
Program received signal SIGSEGV, Segmentation fault. 0x08148923 in getpdf (L=0x8916158) at ../../../texk/web2c/luatexdir/lua/lpdflib.c:615 615 lua_pushnumber(L, static_pdf->posstruct->pos.h);
Somewhere in that line is a reference to a non-valid pointer. I assume static_pdf itself is fine, so the problem is likely the posstruct entry. You could try to print these in the debugger (gdb) p static_pdf (gdb) p static_pdf->posstruct (gdb) p *static_pdf->posstruct you should get something like this: $1 = (PDF) 0x174de00 $2 = (posstructure *) 0x175e1c0 $3 = {pos = {h = 0, v = 0}, dir = 0} but I cannot help much further as the crash does not happen on my architecture: Ubuntu 12.04, x86_64. Best wishes, Taco