Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68645 - xorg-x11 6.8.0-r1 crashes immediately when given bad font path
Summary: xorg-x11 6.8.0-r1 crashes immediately when given bad font path
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-23 09:50 UTC by Daniel Holth
Modified: 2005-05-25 04:24 UTC (History)
1 user (show)

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


Attachments
xfs config (config,1.28 KB, text/plain)
2004-10-23 11:00 UTC, Donnie Berkholz (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Holth 2004-10-23 09:50:47 UTC
When I put certain not-specifically-diagnosed directories in xorg.conf's fontpath or /etc/X11/fs/config's font path (referring xorg to the font server of course) X crashes. This is not the "cannot load font 'fixed'" problem. After a few crashes the console is no longer accessable.	

Reproducible: Always
Steps to Reproduce:
1. change font path
2. start xorg-x11
3. crash immediately

Actual Results:  
xorg-x11 crashed, returning to a somewhat mangled vesafb-tng console.

Expected Results:  
xorg-x11 should work with any font path that includes its required fonts.	

Offending xorg configurations in attatchements.

Portage 2.0.51-r2 (gcc34-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-dwh i686)
=================================================================
System uname: 2.6.9-gentoo-dwh i686 AMD Athlon(TM) XP 1600+
Gentoo Base System version 1.5.3
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/deltup"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts avi berkdb bitmap-fonts blender-game bluetooth bonobo c cairo caps cdr crypt cups directfb dvd encode esd f77 flac foomaticdb gcj gdbm gif gimp gimpprint gnome gphoto2 gpm gtk gtkhtml guile imlib ipv6 jabber jack java javascript jikes joystick jpeg kde ldap libg++ libwww lirc mad mikmod mmx motif mozilla moznoxft mozsvg mpeg ncurses network nls nptl objc ofx oggvorbis opengl oss pam pda pdflib perl pic png ppds python qt quicktime readline ruby sdl slang snmp speex spell ssl tcltk tcpd tetex theora threads tiff truetype usb v4l v4l2 x86 xinerama xml2 xmms xprint xv zlib zvbi"
Comment 1 Daniel Holth 2004-10-23 09:53:25 UTC
I'm having trouble with the web browser since X is wonky. This /etc/X11/fs font path, and xorg-x11 referring to the font server, will crash X immediately on startup.

catalogue =     /usr/share/fonts/75dpi/,
                /usr/share/fonts/CID/,
                /usr/share/fonts/Speedo/,
                /usr/share/fonts/TTF/,
                /usr/share/fonts/Type1/,
                /usr/share/fonts/afms/,
                /usr/share/fonts/baekmuk/,
                /usr/share/fonts/corefonts/,
                /usr/share/fonts/cyrillic/,
                /usr/share/fonts/freefont/,
                /usr/share/fonts/intlfonts/,
                /usr/share/fonts/local/,
                /usr/share/fonts/misc/,
                /usr/share/fonts/monafont/,
                /usr/share/fonts/tengwar-fonts/,
                /usr/share/fonts/terminus/,
                /usr/share/fonts/ttf-bitstream-vera/,
                /usr/share/fonts/ttf-gentium/,
                /usr/share/fonts/ttf-gentiva/,
                /usr/share/fonts/ttf/,
                /usr/share/fonts/ukr/,
                /usr/share/fonts/unifont/,
                /usr/share/fonts/urw-fonts/,
                /usr/share/fonts/util/,
                /usr/share/fonts/100dpi/
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-23 11:00:20 UTC
Created attachment 42460 [details]
xfs config

That's odd. Mine works just fine with paths to nonexistent directories, such as
/usr/share/fonts/ttf/western or /usr/share/fonts/ttf/decoratives. Are you on
6.8.0-r1?
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-23 11:00:35 UTC
Nevermind, the summary says you are.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2005-05-25 04:24:35 UTC
Is this still a problem in latest xorg? Please reopen when you reply.