Segfault in libfontconfig

Matt Dainty <[email protected]>
Newsgroups gmane.os.netbsd.ports.hpcsh,gmane.os.netbsd.ports.dreamcast
Message-ID <[email protected]>
(cc'd to port-dreamcast as well)

I'm getting a repeatable sigsegv in libfontconfig when I launch either
xclock or gtk-demo:

Backtrace from xclock:

(gdb) bt
#0  0x2046f888 in FcValueSave () from /usr/X11R6/lib/libfontconfig.so.1
#1  0x2047060a in FcPatternAddWithBinding ()
   from /usr/X11R6/lib/libfontconfig.so.1
#2  0x20470710 in FcPatternAdd () from /usr/X11R6/lib/libfontconfig.so.1
#3  0x20470880 in FcPatternAddString () from
/usr/X11R6/lib/libfontconfig.so.1
#4  0x204713b4 in FcNameParse () from /usr/X11R6/lib/libfontconfig.so.1
#5  0x20475678 in FcDirSave () from /usr/X11R6/lib/libfontconfig.so.1

gtk-demo backtrace is more lengthy, but FcValueSave() is the culprit in
both cases.

I've found these two pages:

http://www2.starcat.ne.jp/~yaoshi/diary/?200407b&to=200407200
http://www2.starcat.ne.jp/~yaoshi/diary/?0217

Which contain the same backtrace, but with the NetBSD/Dreamcast port. I
can't read anything else on the page, but it suggests to me that
this is perhaps a SuperH issue rather than anything hpcsh-specific.

I can sort of make out that the Dreamcast X11 was cross-compiled. My X11
was cross-compiled too, but I can't establish if that's pertinent to the
problem or not.

Matt
-- 
"The theory of Space and Time is a cultural artefact made possible by
the invention of graph paper."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.