[tex-live] xdvipdfm seg faults when using some TTF fonts (Was xelatex on OpenBSD sparc64 - Bus Error)

Edd Barrett vext01 at gmail.com
Sun Jun 24 15:26:12 CEST 2007


Hi,

I thought we should change the title of the thread in order to make it
easily searched for in the future. For those who were not following,
the conversation starts here:
http://tug.org/pipermail/tex-live/2007-June/014116.html

Anyway, here is gdb says about the whole ordeal:

$ gdb xdvipdfmx
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd4.1"...
(gdb) run -E test.xdv
Starting program: /usr/local/bin/xdvipdfmx -E test.xdv
test.xdv -> test.pdf
[1
** NOTICE: This document contains an embedded font with licensing
restrictions **
]
Program received signal SIGSEGV, Segmentation fault.
0x1c04dbc6 in create_ToUnicode_cmap4 (map=0x89d0c6a0,
cmap_name=0x82acd8c0 "/home/edd/.fonts/SQUATT__.TTF,000-UTF16",
cmap_add=0x0,
    used_glyphs=0x82c5c000 "\200", post=0x82acdf80)
    at /usr/ports/print/texlive/base/w-texlive_base-2007/texlive_base-2007/texk/xdvipdfmx/src/tt_cmap.c:956
956             gid = (map->glyphIndexArray[j+d] +
(gdb) bt
#0  0x1c04dbc6 in create_ToUnicode_cmap4 (map=0x89d0c6a0,
cmap_name=0x82acd8c0 "/home/edd/.fonts/SQUATT__.TTF,000-UTF16",
    cmap_add=0x0, used_glyphs=0x82c5c000 "\200", post=0x82acdf80)
    at /usr/ports/print/texlive/base/w-texlive_base-2007/texlive_base-2007/texk/xdvipdfmx/src/tt_cmap.c:956
#1  0x1c04e06e in otf_create_ToUnicode_stream (font_name=0x868b28c0
"\004", ttc_index=0, face=0x83ae2000,
    used_glyphs=0x82c5c000 "\200")
    at /usr/ports/print/texlive/base/w-texlive_base-2007/texlive_base-2007/texk/xdvipdfmx/src/tt_cmap.c:1145
#2  0x1c0560ea in add_ToUnicode (font=0x88da5800)
    at /usr/ports/print/texlive/base/w-texlive_base-2007/texlive_base-2007/texk/xdvipdfmx/src/type0.c:209
#3  0x1c0567bc in Type0Font_cache_close ()
    at /usr/ports/print/texlive/base/w-texlive_base-2007/texlive_base-2007/texk/xdvipdfmx/src/type0.c:549
#4  0x1c032fb0 in pdf_close_fonts ()
    at /usr/ports/print/texlive/base/w-texlive_base-2007/texlive_base-2007/texk/xdvipdfmx/src/pdffont.c:533
#5  0x1c02d75e in pdf_close_document ()
    at /usr/ports/print/texlive/base/w-texlive_base-2007/texlive_base-2007/texk/xdvipdfmx/src/pdfdoc.c:2108
#6  0x1c01ca90 in main (argc=0, argv=0x1)
    at /usr/ports/print/texlive/base/w-texlive_base-2007/texlive_base-2007/texk/xdvipdfmx/src/dvipdfmx.c:887

-- 
Best Regards

Edd

---------------------------------------------------
http://students.dec.bournemouth.ac.uk/ebarrett


More information about the tex-live mailing list