Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156263 - www-client/mozilla-firefox-2.0-r1 crashes when it can't read a font.
Summary: www-client/mozilla-firefox-2.0-r1 crashes when it can't read a font.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-25 17:14 UTC by David Brigada
Modified: 2006-12-08 12:48 UTC (History)
0 users

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 David Brigada 2006-11-25 17:14:40 UTC
When I try to run Firefox, and it tries to access a font that it does not have read access to, rather than failing gracefully with an error message or falling back to another font, it segfaults.

Steps to reproduce:
1. Change a font to not be readable by the target user.
2. Go to a webpage that uses that font.

I am using www-client/mozilla-firefox-2.0-r1.

eta ~ # emerge --info
Portage 2.1.2_rc2-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.12.6
Last Sync: Fri, 24 Nov 2006 18:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -fomit-frame-pointer -O3 -pipe -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -fomit-frame-pointer -O3 -pipe -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X bash-completion berkdb bitmap-fonts cairo cli cracklib crypt cups dbus dlloader doc dri dvi elibc_glibc fontconfig gdbm glitz gtk iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads jpeg kernel_linux libg++ mmx ncurses no-old-linux nptl nptlonly pam pcre pdf perl png ppds pppd readline reflection samba session spell spl sse sse2 ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts udev userland_GNU video_cards_radeon vim-syntax xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

In my package.use file, I add the flags java and mozbranding to the firefox package.

My Portage overlay only contains an updated ebuild for wmii-3.1.
Comment 1 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2006-12-08 12:48:11 UTC
Please provide a stack trace (see http://www.gentoo.org/proj/en/qa/backtraces.xml for more info on how to obtain this).