Re: Kochi Mincho causes segfault (was Re: Multi lingual fontconfig names)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 26 Feb 2005 22:26:33 -0800
Keith Packard wrote:

> So, either Fontconfig is using iconv incorrectly or libiconv has a
> bug. From the backtrace, there's no way to tell.  I can load Kochi
> Mincho here and get both an ascii and kanji name, so I'm afraid we'll
> need you to find out why it doesn't work in your environment.

If following log is useless either, I have no way at present.
(Env. variable of 5th step will be changed, if I had export -n xxx.)
Anyway, thanks.

$ dbx /usr/local/bin/fc-cache
dbx version 7.3.1 68542_Oct26 MR Oct 26 2000 17:50:34
Core from signal SIGBUS: Bus error
(dbx) where
>  0 libiconv(icd = 0xffffffff, inbuf = 0x10018c68, inbytesleft = 0x7ffd7a2c, outbuf = 0x7ffd7a30, outbytesleft = 0x7ffd7a34)
     ["libiconv-1.9.2/lib/iconv.c":426, 0x5fda81ac]
   1 FcFreeTypeQuery(file = 0x10016f30 = "[...]/kochi-mincho.ttf", id = 0, blanks = 0x1001d400, count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   2 FcFreeTypeQuery(file = 0x66, id = 0, blanks = (nil), count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   3 FcFreeTypeQuery(file = (nil), id = 0, blanks = (nil), count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   4 FcFreeTypeQuery(file = 0x7ffd88c7 = "XML_CATALOG_FILES=/usr/local/etc/xml/catalog", id = 2147322100, blanks = 0x7ffd892c, count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   5 FcFreeTypeQuery(file = 0x2f757372, id = 795243109, blanks = 0x65776172, count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   6 FcFreeTypeQuery(file = 0x52415259, id = 1311978079, blanks = 0x50415448, count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   7 FcFreeTypeQuery(file = 0x3b33313a, id = 707680829, blanks = 0x30313b33, count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   8 FcFreeTypeQuery(file = 0x616d3d30, id = 825963317, blanks = 0x3a2a2e71, count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   9 FcFreeTypeQuery(file = 0x6e2f696e, id = 1718580069, blanks = 0x61726368, count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   10 FcFreeTypeQuery(file = 0x62696e3a, id = 796226418, blanks = 0x2f667265, count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   11 FcFreeTypeQuery(file = 0x65742061, id = 1763734643, blanks = 0x3d342073, count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   12 FcFreeTypeQuery(file = 0x722f6c6f, id = 1667329071, blanks = 0x6c69622f, count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   13 FcFreeTypeQuery(file = 0x3d2d524d, id = 4677446, blanks = 0x494c454e, count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   14 FcFreeTypeQuery(file = 0x65657761, id = 1919233907, blanks = 0x68617265, count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   15 FcFreeTypeQuery(file = (nil), id = 0, blanks = (nil), count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   16 FcFreeTypeQuery(file = (nil), id = 0, blanks = (nil), count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   17 FcFreeTypeQuery(file = (nil), id = 0, blanks = (nil), count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   [...]
   97 FcFreeTypeQuery(file = (nil), id = 0, blanks = (nil), count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   98 FcFreeTypeQuery(file = (nil), id = 0, blanks = (nil), count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
   99 FcFreeTypeQuery(file = (nil), id = 0, blanks = (nil), count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82e8]
(dbx) dump
libiconv(icd = 0xffffffff, inbuf = 0x10018c68, inbytesleft = 0x7ffd7a2c, outbuf = 0x7ffd7a30, outbytesleft = 0x7ffd7a34)
     ["libiconv-1.9.2/lib/iconv.c":426, 0x5fda81ac]
cd = <expression or syntax error>
(dbx) up
FcFreeTypeQuery: 626  size_t    did = iconv (cd,
(dbx) dump
FcFreeTypeQuery(file = 0x10016f30 = "[...]/kochi-mincho.ttf", id = 0, blanks = 0x1001d400, count = 0x10075248)
     ["fontconfig/src/fcfreetype.c":626, 0x5ffc82d8]
face = 0x100159c8
pat = 0x1001d748
slant = -1
weight = -1
width = -1
i = -1
cs = 0x7ffd79d0
ls = 0x10075248
ftLibrary = 0x10020b68
complex = <expression or syntax error>
foundry = (nil)
spacing = 140
os2 = 0x10015b38
psfontinfo = struct PS_FontInfoRec {
    version = (nil)
    notice = 0xfbe2050 = "\377\377\377\377"
    full_name = (nil)
    family_name = 0xfbe0418 = "\377\377\377\377"
    weight = (nil)
    italic_angle = 2147318272
    is_fixed_pitch = ''
    underline_position = 0
    underline_thickness = 0
}
prop = struct BDF_PropertyRec_ {
    type = 1076887552
    u = union {
        atom = (nil)
        integer = 0
        cardinal = 0
    }
}
head = 0x10018c68
exclusiveLang = (nil)
sname = struct FT_SfntName_ {
    platform_id = 1
    encoding_id = 0
    language_id = 1041
    name_id = 0
    string = 0x10018c68 = "Public Domain(except NAGA10)"
    string_len = 28
}
snamei = 0
snamec = 24
nfamily = 0
nfamily_lang = 0
nstyle = 0
nstyle_lang = 0
nfullname = 0
nfullname_lang = 0
style = (nil)
st = -1
(dbx)

Regards,
-- 
Daichi

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux