Subject: xsrc/24032: Xserver is crashed with xtt
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/10/2004 03:13:04
>Number:         24032
>Category:       xsrc
>Synopsis:       Xserver is crashed with xtt
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 09 18:14:00 UTC 2004
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 1.6ZG
System: NetBSD firefly.localdomain 1.6ZG NetBSD 1.6ZG (FIREFLY.MP) #69: Fri Jan 9 13:06:39 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
	I have a problem with X that was built by src/x11. When I try to
	display TrueType fonts with xtt, Xserver is crashed because codeconv
	modules do not work. This is part of /var/log/XFree86.0.log.

(II) Loading /usr/X11R6/lib/modules/codeconv/libJISX0208.a
(EE) LoadModule: Module JISX0208 does not have a JISX0208ModuleData data object.
(II) UnloadModule: "JISX0208"
(II) Unloading /usr/X11R6/lib/modules/codeconv/libJISX0208.a

Fatal server error:
libc_wrapper error: passed invalid FILE handle to xf86fprintf

	If I add following definition to
	src/x11/Xserver/Xfont/xtt/${SUBDIR}/Makefile, it works fine.


CPPFLAGS+=      -I${X11SRCDIR.xc}/programs/Xserver/include \
                -I${X11SRCDIR.xc}/lib/font/include \
                -I${X11SRCDIR.xc}/include \


	try to display TrueType fonts with xtt

	add `-DFONTMODULE', `-DMODNAME=${LIB}' and some directories to
	CPPFLAGS of src/x11/Xserver/Xfont/xtt/${SUBDIR}/Makefile