[XeTeX] xdvipdfmx segmentation fault
Rémy Oudompheng
oudomphe at clipper.ens.fr
Tue Jul 17 18:24:18 CEST 2007
"Kazuo Teramoto" <kazuo at socrates.if.usp.br>
writes:
> [snipped]
> The same with version 0.3 and 0.4 (the bt is for 0.4). I'm using
> Gentoo texlive 2007 (the bins are compiled by me) the libs version
> are:
>
> fontconfig-2.4.2
> libxml2-2.6.28
> freetype-2.3.5
> libpng-1.2.18
>
> I made some more test and this is what I have: If I don't set any ttf
> or otf font I don't get a seg. fault (the sample with cmr runs ok) but
> for any ttf or otf I set the xdvipdfx seg. fault (I can generate the
> xdv)
I am experiencing the same crashes on a 32-bit Gentoo system with the same
libraries and xdvipdfmx 0.4. I have compiled it on another system which
uses freetype 2.1 and it doesn't crash.
Program received signal SIGSEGV, Segmentation fault.
do_glyph_array (yLocsPresent=<value optimized out>) at dvi.c:1915
1915 font->glyph_widths[glyph_id] = metrics[glyph_id * 2];
(gdb) bt
#0 do_glyph_array (yLocsPresent=<value optimized out>) at dvi.c:1915
#1 0x080669dc in dvi_do_page (n=0, paper_width=595.27558655043595,
paper_height=841.88975342465756, hmargin=72, vmargin=72) at dvi.c:2175
#2 0x08068e13 in main (argc=-1079425356, argv=0x81c0c08) at dvipdfmx.c:705
#3 0x43bd2fdc in __libc_start_main (main=0x8068780 <main>, argc=3,
ubp_av=0xbfa946b4, init=0x80b4970 <__libc_csu_init>,
fini=0x80b4960 <__libc_csu_fini>, rtld_fini=0x43bad410 <_dl_fini>,
stack_end=0xbfa946ac) at libc-start.c:229
#4 0x0804a501 in _start ()
(gdb) print metrics
$2 = (FT_UShort *) 0x0
--
Rémy Oudompheng.
More information about the XeTeX
mailing list