Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187634 - Firefox crashes on many sites after upgrading to a fontconfig greater than 2.3.2-r1
Summary: Firefox crashes on many sites after upgrading to a fontconfig greater than 2....
Status: RESOLVED DUPLICATE of bug 187774
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-03 18:59 UTC by Beetle B.
Modified: 2007-08-14 01:14 UTC (History)
1 user (show)

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


Attachments
strace output of running (in safe mode). (attach.txt,33.98 KB, text/plain)
2007-08-03 23:48 UTC, Beetle B.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Beetle B. 2007-08-03 18:59:50 UTC
Am using Firefox 2.0.0.5, but the problem started in previous versions (not sure which one). 

After upgrading to a fontconfig greater than 2.3.2-r1, Firefox would crash on many pages (e.g. http://en.wikipedia.org/wiki/Mozilla). Just a plain segfault. So I had masked all fontconfigs greater than that version. However, I accidentally upgraded to 2.4.2, and that is now the only one available in Portage - so I'm stuck with it. 

Way too many sites cause Firefox to crash. Any ideas? I'm not alone in this. Possibly Bugs 148145 and 118825 are related. Also, the folks on this forum thread had the same problem:

http://forums.gentoo.org/viewtopic-t-564981-highlight-fontconfig+firefox.html

Problem occurs even in safe mode. Konqueror shows them fine, though. 

Reproducible: Always

Steps to Reproduce:
1.Upgrade to fontconfig-2.4.2
2.Use Firefox to go to Wikipedia's Mozilla page
3.See Firefox crash.

Actual Results:  
Segfault.

Expected Results:  
Should display it fine.

Output of emerge --info:

Portage 2.1.2.11 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.5-r4, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 03 Aug 2007 17:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.2.3-r5, 2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer nostrip parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://ftp.heanet.ie/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/"
LINGUAS="en ar"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects /usr/local/bmg-main"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acpi aim alsa apache2 apm asf avi berkdb bitmap-fonts bittorrent browserplugin cairo caps cdparanoia cdr cli cracklib crypt cups cvs dbus dga directfb divx4linux doc dri dvb dvd dvdnav dvdr dvdread eds emacs emboss encode exif fam fbcon fbdev ffmpeg firefox flac fortran ftp gd gdbm gif gimp glitz gnutella gphoto2 gpm gstreamer gtk guile hal hdri i8x0 iconv icq imagemagick imap imlib ipv6 isdnlog jabber java javascript jpeg jpeg2k justify kde lame lcms ldap leim libcaca libg++ live mad maildir matroska mbox md5sum midi mikmod mjpeg mmx mozilla mp2 mp3 mpeg msn mudflap musepack mysql ncurses network nls nptl nptlonly nsplugin oav ogg oggvorbis openexr opengl openmp oscar oss pam pcre pda pdf pdflib perl pgp php plotutils png pnm pnp ppds pppd python qt qt3 qt4 quicktime radio rar readline real reflection rtsp samba sasl sdl session shout speex spell spl srt sse ssl stream subtitles subversion svg svga tcpd tetex tga theora tiff tivo truetype truetype-fonts type1-fonts unicode usb v4l vcd vesa videos vidix vorbis wavpack win32codecs wma wmf wxwindows x86 xcomposite xine xml xorg xosd xv xvid yahoo zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ar" USERLAND="GNU" VIDEO_CARDS="radeon fglrx vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Beetle B. 2007-08-03 23:48:46 UTC
Created attachment 126835 [details]
strace output of running (in safe mode).

Attached an strace.
Comment 2 Beetle B. 2007-08-03 23:54:02 UTC
Just downloaded firefox-bin (not via Portage) - that works fine - at least in safe mode. 
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2007-08-04 01:33:25 UTC
i forgot about the wrapper script.  can you run strace directly against /usr/lib/mozilla-firefox/firefox-bin ?

also run `gdb /usr/lib/mozilla-firefox/firefox-bin`
then
`run -safe-mode`
cause the crash to happen, then
`bt`

you'll probably get the best results if you build firefox and freetype with -g in the CFLAGS and FEATURES="splitdebug".  i know it takes a while to do that, so maybe just the strace for now.
Comment 4 Beetle B. 2007-08-13 20:18:42 UTC
Turned out the following bug was relevant and fixed my problem:

http://bugs.gentoo.org/show_bug.cgi?id=187774

I never installed fonts manually, though. Don't know which font created the problem. I just did a recursive chmod.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2007-08-14 01:14:14 UTC

*** This bug has been marked as a duplicate of bug 187774 ***