After upgrading to Xfree-4.3.0-r2, I couldn't start X. I figured there was a problem with XFT, and did "export GDK_USE_XFT=0" before running startx. This made GNOME work somewhat, even if nautilus was unusable and the system had quirks, beside an ugly look. The problem, I discovered, was that fc-cache suddenly didn't run. It segfaulted. After compiling wihtout -fomit-frame-pointer, I traced it to some fonts of mine. After moving them from the directory mentioned in the backtrace, I could run fc-config again. The font that caused the bork was "mints-mild.fon". It hadn't worked before(i.e. I couldn't use it), but fc-config worked flawlessly(as far as I could tell) until the upgrade. Reproducible: Always Steps to Reproduce: 1.Have the font "mints-mild.fon"(or any *.fon?) in a font directory found in /XF86Config 2.fc-cache Actual Results: segfault Expected Results: Normal return, generation of font cache. Running "unstable" Gentoo version.
I can confirm that this happened to me too. I just deleted the .fon files, but that's no real solution. Probably it's something upstream (freetype/fontconfig/both)
what version of freetype/fontconfig
With me the newest/masked ones (freetype-2.1.4 and fontconfig-2.1.94) as they work best with the new bitstream vera fonts
emerge info please, CFLAGS in particular
Just for the record, I tried compiling freetype, fontconfig and xfree with both my current CFLAGS, and also some a lot more aggressive, same result. Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) ================================================================= System uname: 2.4.21_pre7-gss i686 AMD Athlon(tm) XP 1800+ GENTOO_MIRRORS="http://gentoo.linux.no http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss apm crypt gif jpeg libg++ libwww mikmod ncurses pdflib png quicktime truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline bonobo svga tcltk java guile sdl gpm tcpd pam ssl perl python imlib oggvorbis motif mozilla ldap X gtk gnome qt kde gtk2 mmx sse 3dnow opengl cdr dvd spell freetype -arts -esd avi encode pdf mpeg aalib cups moznoirc moznomail gphoto2 usb xft nls" COMPILER="gcc3" CHOST="i586-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -ffast-math" CXXFLAGS="-O2 -march=athlon-xp -pipe -ffast-math" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j1" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="ccache sandbox"
Well, freetype was a bit buggy with .gz'd Type1 fonts ... dunno if if is related.
hmm azarah, that font mentioned in the earlier bugreport still doesn't work for me so i suppose there are still fonts out there that won't work for or even crash fontconfig/freetype . reporter , try without athlon-xp set and (unrelated) why do you have i586 CHOST for an athlon (?) And compiling with more agressive CFLAGS then your normal settings isn't going to get you anywhere ofcourse ;)
As for the CHOST, I didn't change anything after my install of 1.4rc3, but what do I know. Anyway, I changed the CHOST, and compiled freetype and fontconfig with these CFLAGS: "-O2 -march=i686 -pipe". Unfortunatuly, that didn't change anything, it still segfaulted when I inserted a .fon file in /home/helmers.fonts; while everything went just peachy without it.
can you attach one of those fonts ?
Created attachment 11047 [details] The "nu" font, a cool bitmap font Also, I couldn't use this font before, it just didn't crash "fc-cache". If someone know how to make it work, please mail me about it, as this font is one of my favorites. ;)
Is this still a valid bug on current versions?
Please reopen and change the summary if this is still a problem with >=xorg-x11-6.8.0.