ports/51131: [fontconfig-2.1.94] fc-cache seg faults on TrueType directory

Joe Kelsey joek at zircon.staff.flyingcroc.net
Fri Apr 18 16:50:15 UTC 2003


>Number:         51131
>Category:       ports
>Synopsis:       [fontconfig-2.1.94] fc-cache seg faults on TrueType directory
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 18 09:50:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Joe Kelsey
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD zircon.staff.flyingcroc.net 4.8-STABLE FreeBSD 4.8-STABLE #9: Thu Apr 10 12:37:52 PDT 2003 joek at zircon.staff.flyingcroc.net:/usr/obj/usr/src/sys/ZIRCON i386

>Description:
	While processing the TrueType fonts copied from Windoze,
	fc-cache segmentation faults.

	fontconfig-2.1.93 does not seg fault.

	fontconfig-2.1.94 does seg fault.

>How-To-Repeat:
	Upgrade fontconfig to .94.

	Try to run fc-cache on fonts copied from windoze.

	Watch the seg fault.

	No symbol backtrace:

zircon# gdb ../../../bin/fc-cache fc-cache.core
GNU gdb 4.18 (FreeBSD)
Copyright 1998 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-freebsd"...
(no debugging symbols found)...
Core was generated by `fc-cache'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/libfontconfig.so.1...
(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/libfreetype.so.9...
(no debugging symbols found)...done.
Reading symbols from /usr/lib/libz.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/libexpat.so.4...
(no debugging symbols found)...done.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...
done.
#0  0x0 in ?? ()
(gdb) bt
#0  0x0 in ?? ()
#1  0x2809a735 in FT_Get_BDF_Property () from /usr/local/lib/libfreetype.so.9
#2  0x28077211 in FcFreeTypeQuery () from /usr/X11R6/lib/libfontconfig.so.1
#3  0x2807622e in FcFileScan () from /usr/X11R6/lib/libfontconfig.so.1
#4  0x280764af in FcDirScan () from /usr/X11R6/lib/libfontconfig.so.1
#5  0x8048d45 in FcFontSetDestroy ()
#6  0x8048e3d in FcFontSetDestroy ()
#7  0x8048ff8 in FcFontSetDestroy ()
#8  0x8048a22 in FcFontSetDestroy ()
(gdb) quit

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list