From: FreeBSD-gnats-submit @ FreeBSD.org
Date: Tue, 24 Jun 2003 16:40:08 -0700 (PDT) (Wed 01:40 CEST)

Thank you very much for your problem report.
It has the internal identification `ports/53700'.
The individual assigned to look at your
report is: freebsd-ports-bugs. 

You can access the state of your problem report at any time
via this link:

http://www.freebsd.org/cgi/query-pr.cgi?pr=53700

-------------
To: FreeBSD-gnats-submit @ freebsd.org
cc: gnome @ FreeBSD.org, 
	Michael Jansson <mjan @ em2-solutions.com>,
	David Turner  <david @ freetype.org>
From: "Julian H. Stacey" jhs @ berklix.com
Reply-To: "Julian H. Stacey" jhs @ berklix.com
X-send-pr-version: 3.113
X-GNATS-Notify: 
Subject: 0 size lib/X11/fonts/Type1/fonts.cache-1 silently kills mozilla


>Submitter-Id:	current-users
>Originator:	"Julian H. Stacey" jhs @ berklix.com
>Organization:	berklix.com
>Confidential:	no <FreeBSD PRs are public data>
>Synopsis: 0 size lib/X11/fonts/Type1/fonts.cache-1 silently kills mozilla
>Severity:	non-critical 
>Priority:	medium 
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 4.8-RELEASE i386
>Environment:
System: FreeBSD wind 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Wed Apr 9 12:06:20 CEST 2003 jhs @ wind:/usr1/src/sys/compile/GENERIC i386


	<machine, os, target, libraries (multiple lines)>
>Description:

  Summary:
	A zero size /usr/local/lib/X11/fonts/Type1/fonts.cache-1 kills
	mozilla 1.2.1 silently, giving no display & no clue why the exit occurs.
  I built a FreeBSD-4.8 src/ & ports/www/mozilla along with 200+ other favourite ports
          ( http://www.berklix.com/~jhs/bin/.csh/make_ports_jhs )
  Mozilla ran OK on build host. Then stripped my 4.7 laptop Totaly
  clean (hand job, net cp of 4.8 DESTDIR, then mv of all 4.7 to 4.8
  etc), pkg_add of my 200 packages. OK, except Mozilla.
  A comparison of /usr/local on both hosts detected zero size files:
          /usr/local/lib/X11/fonts/Type1/fonts.cache-1
          /usr/local/lib/X11/fonts/TTF/fonts.cache-1
  I don't know how they occured, but /Type1/ was a silent mozilla killer !

>How-To-Repeat:
	cd /usr/local/lib/X11/fonts/Type1
	mv fonts.cache-1 fonts.cache-1.MOVED
	touch fonts.cache-1	
	reboot # OK, well, whatever to re-init the fonts.
	cd ; mozilla
	
>Fix:
	Add an error message if the font scan fails.
	Perhaps in work/mozilla/other-licenses/freetype/
		ChangeLog:       (T1_Open_Face): Deleted empty subroutines array test to make sure
		ChangeLog:       * src/type1/t1load.c (parse_subrs, T1_Open_Face): Ditto.
		src/type1/t1load.c:      FT_ERROR(( "T1_Open_Face: no charstrings array in face!\n" ));
		src/type1/t1load.c:  T1_Open_Face( T1_Face  face )
		src/type1/t1load.h:  T1_Open_Face( T1_Face  face );
		src/type1/t1objs.c:    error = T1_Open_Face( face );
	I've cc'd a couple of mozilla/freetype developers who may know.

-
Julian H. Stacey      Freelance Internet Consultant & Systems Engineer, Muenchen.
  Ihr Rauchen => mein allergischer Kopfschmerz !   Schnupftabak probieren.
