[xorg-bugzilla-noise] [Bug 1248] New: ttmkfdir segfaults for (some)
truetype font dirs
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Aug 31 03:25:51 PDT 2004
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://freedesktop.org/bugzilla/show_bug.cgi?id=1248
Summary: ttmkfdir segfaults for (some) truetype font dirs
Product: xorg
Version: 6.8.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: Fonts/other
AssignedTo: xorg-bugzilla-noise at freedesktop.org
ReportedBy: msahertian at gmail.com
ttmkfdir throws a Segmenation Fault for at least two truetype font directories.
Partial Output from /etc/init.d/xfs mkfontdirs
* /usr/share/fonts/util... [ ok ]
* /usr/share/fonts/local...
/etc/init.d/xfs: line 230: 1079 Segmentation
fault /usr/X11R6/bin/ttmkfdir -x 2 -
e /usr/share/fonts/encodings/encodings.dir -o ${x}/fonts.scale -d ${x}
>/dev/null [
ok ]
* /usr/share/fonts/TTF...
/etc/init.d/xfs: line 230: 1083 Segmentation
fault /usr/X11R6/bin/ttmkfdir -x 2 -
e /usr/share/fonts/encodings/encodings.dir -o ${x}/fonts.scale -d ${x}
>/dev/null [
ok ]
# strace /usr/X11R6/bin/ttmkfdir -x 2 -
e /usr/share/fonts/encodings/encodings.dir -o /usr/share/fonts/TTF/fonts.scale -
d /usr/share/fonts/TTF
(output attached)
By examing the strace output, i found that
/usr/share/fonts/encodings
- suneu-greek.enc.gz
- large/cns11643-1.enc.gz
- large/cns11643-2.enc.gz
- large/cns11643-3.enc.gz
were giving problems and thus i moved those away.
The problem dissapeared, but this doesn't seem to be a permanent solution.
X Window System Version 6.7.99.903 (6.8.0 RC 3)
Build Operating System: Linux 2.6.8.1 i686 [ELF]
Current Operating System: Linux xinu 2.6.8.1 #1 Thu Aug 19 09:44:54 CEST 2004
i686
Build Date: 31 August 2004
gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
Tried the cvs HEAD too, had the same problem.
Attached (should be) the strace output and the contents of /usr/share/fonts/TTF
--
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list