Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27450 - XFree crashes when selecting fonts
Summary: XFree crashes when selecting fonts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-27 16:53 UTC by Michael P. Jung
Modified: 2004-06-30 02:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael P. Jung 2003-08-27 16:53:50 UTC
When selecting fonts in GIMP (maybe other applications, too) I can only check
about 20 - sometimes even less - fonts before xfree crashes. It does not depend
on the font I select but occures in random manner. I played a bit with that bug
and got one situation where even the initial selected font of the text-tool in
gimp was enough to crash gimp

Reproducible: Always
Steps to Reproduce:
1. Put some fonts (including some truetype fonts) in your XF86Config fontpath
(fonts.dir generated by ttmkfdir)
2. Add 'Loai "freetype"' to your XF86Config
3. Start XFree
4. Start GIMP
5. Use the TEXT tool and select some fonts. Best done with the dynamic text tool
as it is possible to preview the text in the selected font. Just press up- and
down-arrow key to scroll tru the list and see xfree crash.

Actual Results:  
XFree crashes in random manner when using the text tool of GIMP.

Expected Results:  
XFree should NEVER crash because of fonts!

Portage 2.0.49-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gaming-r3)
=================================================================
System uname: 2.4.20-gaming-r3 i686 AMD Athlon(tm) XP 2500+
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://212.219.56.146/sites/www.ibiblio.org/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.inode.at/
rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow xmms tcpd esd aalib acpi alsa apache2 -apm -arts avi berkdb
bonobo cdr crypt cscope cups curl dedicated dga directfb doc dvb dvd encode
ethereal evo fbcon flash foomaticdb gb gd gdbm ggi gif gnome gphoto2 gpm gps
gstreamer gtk gtk2 gtkhtml guile imap imlib ipv6 jack java jikes joystick jpeg
junit -kde kerberos krb4 ldap libg++ libwww lirc mad maildir -mbox mikmod
memlimit mmx motif mozilla mpeg mysql ncurses -nls oggvorbis opengl oss pam
pdflib perl plotutils png postgres prelude python qt quicktime readline ruby
samba sasl scanner sdl slang snmp spell sse ssl svga tcltk truetype usb videos
wmf wxwindows X Xaw3d xinerama xosd xml2 xv zlib"

 ---

As this bug could result in loss of data and makes working with gimp and other
apps a pain - I marked this bug critical.

I have about 46 MB extra fonts in my list. Currently I use the freefont,
sharefont and microsoft font-package. Additionaly I loaded some fonts from
fontz.de and some corel draw cdrom. This fonts never made any trouble when I
used Debian on my machine.

I'm quite sure this bug is caused by either a buggy freetype or xfree86 package
as GIMP should have no possibility to crash xfree as they run in completely
different address spaces.
Comment 1 Michael P. Jung 2003-08-27 17:18:38 UTC
When replacing "freetype" by "xtt" xfree86 does no longer crash. Found that solution on the xfree86 mailing list: http://www.mail-archive.com/xfree86@xfree86.org/msg06876.html.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2003-10-07 19:59:58 UTC
If you have some time, could you remerge xfree-4.3.0-r3 and see if it still
has this problem? I've added some patches.
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-06-30 02:10:13 UTC
seems to work