Subject: Re: core dumps with TrueType fonts
To: None <pkgsrc-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2007.salmi.ch>
List: pkgsrc-users
Date: 01/21/2007 19:47:02
Bernd Ernesti --> pkgsrc-users (2007-01-21 19:00:49 +0100):
> On Sun, Jan 21, 2007 at 06:52:29PM +0100, Jukka Salmi wrote:
> > Steven M. Bellovin --> pkgsrc-users (2007-01-21 12:32:34 -0500):
> > > On two -current machines, I rebuilt all of my packages, from up-to-date
> > > HEAD.  I use xorg.  Here's what the daily job showed on both this
> > > morning:
> > > 
> > > 	Possible core dumps:
> > > 	/usr/pkg/lib/X11/fonts/TTF/ttmkfdir.core
> > > 	/usr/pkg/xorg/lib/X11/fonts/TTF/ttmkfdir.core
> > 
> > I see ttmkfdir dumping core quite reproducibly while running pkg_add
> > or pkg_delete on the ms-ttf package on a -current NetBSD/i386 system:
> 
> I had that too and removed the fonts.* files in these directories.
> ttmkfdir worked after I did that.
> 
> Unfortunally I didn't save the fonts.* files to compare them with the new
> working files.
> 
> Maybe you can do it to see whats the difference in these files.

Thanks for the hint. I noticed that I have some TTF fonts in
/usr/pkg/lib/X11/fonts/TTF which are not from the ms-ttf package. If
I remove these fonts, adding and deleting the ms-ttf package works
fine without ttmkfdir dumping core. If these local fonts exist in the
TTF directory, adding ms-ttf once works fine, but deleting and
subsequently re-adding it makes ttmkfdir dump core.

Hmm, I should probably move these local fonts to /usr/local/...


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~