[XeTeX] a crash in xdvipdfmx
Petr Tomasek
tomasek at etf.cuni.cz
Thu Sep 8 17:55:21 CEST 2011
Hi!
A crash of xdvipdfm (or in xetex itself) occured for some input.
To "fix" it I did the following in my source XML (from which the
xetex source is generated):
- <kap><title>TODO: zařadit, nebo zabít :)</title>
+ <kap><title>TODO: zařadit, nebo kill</title>
The font used is Linux Libertine (in this section).
My XeTeX version (the last version which can be compiled directly
from SVN on my system - about a year and half old or something like
that. Can eventually try to find out which SVN revision exactly):
$ xetex --version
XeTeX 3.1415926-2.2-0.9995.2 (Web2C 7.5.6)
kpathsea version 3.5.6dev
Copyright 2009 SIL International and Jonathan Kew.
There is NO warranty. Redistribution of this software is
covered by the terms of both the XeTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the XeTeX source.
Primary author of XeTeX: Jonathan Kew.
Compiled with ICU version 4.0 [with modifications for XeTeX]
Compiled with zlib version 1.2.5; using 1.2.5
Compiled with FreeType2 version 2.3.7; using 2.3.7
Compiled with fontconfig version 2.8.0; using 2.8.0
Compiled with libpng version 1.2.15; using 1.2.15
Compiled with xpdf version 3.01
The backtrace (hope it helps somehow, sorry once I worked the issue around,
I cannot spent more time on the problem):
===========================================================
Core was generated by `xdvipdfmx -q -E -o dis.pdf'.
Program terminated with signal 6, Aborted.
#0 __kernel_vsyscall () at arch/x86/vdso/vdso32/sysenter.S:49
49 arch/x86/vdso/vdso32/sysenter.S: No such file or directory.
in arch/x86/vdso/vdso32/sysenter.S
Thread 1 (Thread 18834):
#0 __kernel_vsyscall () at arch/x86/vdso/vdso32/sysenter.S:49
No locals.
#1 0x006ce2f1 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
resultvar = <value optimized out>
resultvar = <value optimized out>
pid = 8556532
selftid = 18834
#2 0x006cfd5e in abort () at abort.c:92
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x7b94f9 <_dl_addr+601>, sa_sigaction = 0x7b94f9 <_dl_addr+601>}, sa_mask = {__val = {5772484, 135243072, 134508940, 3218764484, 1886, 3218764452, 134513128, 134513068, 3218764296, 4, 3218764380, 7807035, 134521089, 7215108, 8556532, 9, 3218765772, 3218764500, 7935564, 15, 3218764380, 4, 0, 3218764476, 3218767960, 2, 8315970, 8315974, 8309220, 8309167, 4, 3218764380}}, sa_flags = 8315982, sa_restorer = 0x7ee44a}
sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0x0070a51d in __libc_message (do_abort=2, fmt=0x7ee4ab "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
ap = 0x96edcf0 "*** stack smashing detected ***: xdvipdfmx terminated\n"
ap_copy = 0xbfda78e4 "\223\344~"
fd = 15
on_2 = <value optimized out>
list = <value optimized out>
nlist = <value optimized out>
cp = <value optimized out>
written = <value optimized out>
#4 0x007945bd in __fortify_fail (msg=0x7ee493 "stack smashing detected") at fortify_fail.c:32
No locals.
#5 0x0079456a in __stack_chk_fail () at stack_chk_fail.c:29
No locals.
#6 0x08099a9d in spc_exec_special (buffer=0x96edc20 "pdf: out 2 << /Title (5.6 TODO: za\305\231adit, nebo zab\303\255t :)) /Dest [@thispage /FitH @ypos] >>[", size=90, x_user=0, y_user=-173.51019492333438, mag=1) at specials.c:604
error = -1
i = -1216801140
found = <value optimized out>
spe = {x_user = 0, y_user = -173.51019492333438, mag = 1, pg = 13}
args = {curptr = 0x96edc7a "[", endptr = 0x96edc7a "[", base = 0x96edc20 "pdf: out 2 << /Title (5.6 TODO: za\305\231adit, nebo zab\303\255t :)) /Dest [@thispage /FitH @ypos] >>[", command = 0x80df80e "out"}
special = {key = 0x80db881 "pdf:", exec = 0x8095200 <spc_handler_pdfm_outline>}
#7 0x08065743 in dvi_do_special (buffer=0x96edc20, size=90) at dvi.c:850
No locals.
#8 0x080657f5 in do_xxx (size=90) at dvi.c:1743
i = 6
#9 0x08066269 in do_xxx3 (n=12, paper_width=595.27559099999996, paper_height=841.88976400000001, hmargin=72, vmargin=72) at dvi.c:1771
No locals.
#10 dvi_do_page (n=12, paper_width=595.27559099999996, paper_height=841.88976400000001, hmargin=72, vmargin=72) at dvi.c:2157
sbuf = "12\000\000\210\244\202\000\221&q\000\364\217\202\000>\347~\000\314\366~\000\273\325~\000|\000\000\000w\000\000\000n\000\000\000j\326~\000[\000\000\000\071\000\000\000\n", '\000' <repeats 19 times>, "\001\000\000\000\n\000\000\000K\000\000\000\330\243\202\000\000\000\000\000P\000\000\000\017'\000\000\240\243\202\000\300\000\000\000\320\243\202\000 \000\000\000 \000\000\000\240\243\202\000\364\217\202\000\240\243\202\000K\000\000\000\250{\332\277pPq\000\030\221\\\000\b\000\000\000\b\000\000\000\364\217\202\000\030\221\\\000K\000\000\000\a\000\000\000\310{\332\277\355R\\\000K\000\000\000\221&q\000\364\217\202\000\030\221\\\000\030\221\\\000K\000\000\000\350{\332\277\370V\\\000\070\244\202\000\274|\332\277X|\332\277>\347~\000\314\366~\000\273\325~\000|\000\000\000w\000\000\000n\000\000\000j\326~\000[\000\000\000<\000\000\000#\000\000\000\221&q\000\000\000\000\000\000\000\000\000\206\031"...
slen = 0
#11 0x08068cc5 in do_dvi_pages (argc=5, argv=0xbfda8084) at dvipdfmx.c:705
w = 595.27559099999996
yo = 72
h = 841.88976400000001
xo = 72
lm = 0 '\000'
page_no = 12
i = 0
step = 1
page_width = 595.27559099999996
page_height = 0
page_count = 13
mediabox = {llx = 0, lly = 0, urx = 595.27559099999996, ury = 841.88976400000001}
#12 main (argc=5, argv=0xbfda8084) at dvipdfmx.c:881
dvi2pts = 595.27559099999996
>From To Syms Read Shared Object Library
0x005b9770 0x005c5928 Yes /usr/lib/libkpathsea.so.4
0x00b3a430 0x00ba49b8 Yes /usr/lib/freetype-freeworld/libfreetype.so.6
0x00cc3f60 0x00cdfcf8 Yes /usr/lib/libfontconfig.so.1
0x00677b80 0x00678488 Yes /usr/lib/libpaper.so.1
0x005f4670 0x00601298 Yes /lib/libz.so.1
0x00587470 0x005a1b68 Yes /lib/libm.so.6
0x00ae2720 0x00afe718 Yes /usr/lib/libpng12.so.0
0x006b9c10 0x007d69c4 Yes /lib/libc.so.6
0x00b0b040 0x00b23ef8 Yes /lib/libexpat.so.1
0x00563850 0x0057ab3f Yes /lib/ld-linux.so.2
0x005d5f90 0x005ec818 Yes /lib/libgcc_s.so.1
$1 = 0x96edcf0 "*** stack smashing detected ***: xdvipdfmx terminated\n"
No symbol "__glib_assert_msg" in current context.
eax 0x0 0
ecx 0x4992 18834
edx 0x6 6
ebx 0x4992 18834
esp 0xbfda7194 0xbfda7194
ebp 0xbfda71ac 0xbfda71ac
esi 0x400 1024
edi 0x828ff4 8556532
eip 0x12e424 0x12e424 <__kernel_vsyscall+16>
eflags 0x200246 [ PF ZF IF ID ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
Dump of assembler code for function __kernel_vsyscall:
0x0012e414 <+0>: push %ecx
0x0012e415 <+1>: push %edx
0x0012e416 <+2>: push %ebp
0x0012e417 <+3>: mov %esp,%ebp
0x0012e419 <+5>: sysenter
0x0012e41b <+7>: nop
0x0012e41c <+8>: nop
0x0012e41d <+9>: nop
0x0012e41e <+10>: nop
0x0012e41f <+11>: nop
0x0012e420 <+12>: nop
0x0012e421 <+13>: nop
0x0012e422 <+14>: jmp 0x12e417 <__kernel_vsyscall+3>
=> 0x0012e424 <+16>: pop %ebp
0x0012e425 <+17>: pop %edx
0x0012e426 <+18>: pop %ecx
0x0012e427 <+19>: ret
End of assembler dump.
======================================================================
More information about the XeTeX
mailing list