Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 75957

Summary: firefox segfault opening a specific URL
Product: Gentoo Linux Reporter: crusaderky
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Stack trace created by visiting ati.com
Stack trace created by visiting vmware.com

Description crusaderky 2004-12-28 15:31:19 UTC
I've got mozilla-firefox-1.0-r3.

This page makes firefox segfault, 100% of the times:
http://pub.tv2.no/nettavisen/spray/ 

$ emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache digest distcc distlocks fixpackages sandbox sfperms userpriv"
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/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X X509 aalib acl alsa apache2 apm avi berkdb bitmap-fonts bonobo cdparanoia cdr chroot crypt cscope cups curl dga directfb doc dv dvb dvd dvdr encode erandom esd extensions faad fam fbcon flac flash foomaticdb fortran gd gdbm ggi gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile ieee1394 imagemagick imap imlib innodb ipv6 jack javajavascript jikes joystick jpeg junit kde kerberos krb4 lcms ldap libcaca libwww live lzo mad mcal md5sum memlimit mikmod mmx mng motif mozilla mpeg mpi mysql ncurses network nls nptl nvidia odbc offensive oggvorbis opengl pam parse-clocks pcre pdflib perl pic png ppds prelude python qt quicktime readline real rtc samba scanner sdl skey slang slp sndfile snmp socks5 speex spell sqlite sse ssl svg svga tcltk tcpd tetex tga theora tiff truetype usb v4l v4l2 vim-with-x wmf wxwindows xchattext xml xml2 xmms xprint xv xvid xvmc yaz zlib linguas_it"
Comment 1 crusaderky 2004-12-28 15:34:27 UTC
mmh sometimes it works. If you can't reproduce it, close the page and try again 4-5 times.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2004-12-28 15:44:08 UTC
Did you try it w/o any plugins? This is most likely something you should report to https://bugzilla.mozilla.org/
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2004-12-28 15:45:52 UTC
Chances are its a dodgy plugin crashing firefox.
Please disable all plugins via Edit --> Preferences --> Downloads --> Plugins and let us know what effect this has.
Comment 4 Ernst Sjöstrand 2004-12-30 08:56:48 UTC
Freetype 2.1.9 ?

Firefox is crashing on www.ati.com and my bank among other sites. It's got something to do with the fonts they are using, and there's an open bug for it  in mozilla's bugzilla.
Comment 5 crusaderky 2004-12-30 09:34:42 UTC
freetype-2.1.9-r1 here. 
FYI, freetype-2.1.9 is known to be buggy. Please try updating it.
Comment 6 Casen P. 2005-01-04 06:15:08 UTC
Created attachment 47578 [details]
Stack trace created by visiting ati.com
Comment 7 Casen P. 2005-01-04 06:15:30 UTC
Created attachment 47579 [details]
Stack trace created by visiting vmware.com
Comment 8 Casen P. 2005-01-04 06:19:27 UTC
Similar behavior here visiting several sites including ati.com, vmware.com, and the J2SE javadoc pages. 

No change was seen doing the following:
* Recompiling mozilla-firefox-1.0-r3
* Disabling all extensions
* Removing profile directory

The previous two attachments are the output to console from firefox when its compiled with the debug use flag and is sent to those sites.  My vmware Windows firefox instance has no problem visiting the previously mentioned sites.

Freetype: 2.1.9-r1
GTK2: 2.4.14

Emerge info:
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r10 i686)
=================================================================
System uname: 2.6.9-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 25 2004, 13:12:14)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r2, 1.5, 1.9.3, 1.6.3, 1.7.9, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm arts ati avi berkdb bitmap-fonts cddb cdparanoia cdr crypt cups dvd encode fam foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk2 howl imagemagick imlib java jpeg junit kde ldap libwww mad mikmod mmx mmx2 motif mpeg mpeg4 mysql ncurses network nls oggvorbis opengl pam pdflib perl png python qt quicktime readline real samba sdl slang spell sse sse2 ssl svga tcltk tcpd tiff truetype xml2 xmms xscreensaver xv zlib"
Comment 9 Casen P. 2005-01-11 10:25:29 UTC
After some further investigation on the Gentoo forums, it was mentioned that Firefox and Freetype 2.1.9 have had some issues.  They're suppsoed to have been addressed in mozilla-firefox-1.0-r3 and freetype-2.1.9-r1, which were both what I had installed.

However, downgrading to freetype 2.1.5-r1 immediately solved my problems, going to a known bad URL worked with 2.1.5-r1.  Reinstalling 2.1.9-r1 caused the URL to once again crash the browser.  I tried compiling 2.1.9-r1 with the debug flag but wasn't able to get any additional information.  I can confirm the problem exists between the Firefox and Freetype libraries, however.
Comment 10 Patrick Borjesson 2005-01-18 10:28:21 UTC
I had the same problem and can confirm that downgrading freetype from 1.2.9 fixed the problem.
Comment 11 Aron Griffis (RETIRED) gentoo-dev 2005-03-23 18:34:31 UTC

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