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

Bug 136691

Summary: www-client/mozilla-firefox-1.5.0.4 crashes when opening *some* web pages
Product: Gentoo Linux Reporter: Abraham Marin Perez <abraham>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED DUPLICATE    
Severity: normal CC: calchan, frp.bissey
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: https://correo.uv.es
Whiteboard:
Package list:
Runtime testing required: ---

Description Abraham Marin Perez 2006-06-13 11:20:50 UTC
I just emerged stable firefox 1.5.0.4 and it seems to crash when opening some web pages. I can access pages like

https://bugs.gentoo.org/

but it crashes with pages like

https://correo.uv.es/ (as indicated in URL field)
https://www.bancaja.es/ (not at the beginning, but when logging in)

The error message firefox outputs when executed from the command line is:

/usr/libexec/mozilla-launcher: line 117: 32386 Violaci
Comment 1 Abraham Marin Perez 2006-06-13 11:20:50 UTC
I just emerged stable firefox 1.5.0.4 and it seems to crash when opening some web pages. I can access pages like

https://bugs.gentoo.org/

but it crashes with pages like

https://correo.uv.es/ (as indicated in URL field)
https://www.bancaja.es/ (not at the beginning, but when logging in)

The error message firefox outputs when executed from the command line is:

/usr/libexec/mozilla-launcher: line 117: 32386 Violación de segmento  "$mozbin" "$@"
firefox-bin exited with non-zero status (139)

****************************
emerge --info

Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.14
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp -fforce-addr -frerun-loop-opt -floop-optimize -frerun-cse-after-loop -falign-functions=4"CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=athlon-xp -fforce-addr -frerun-loop-opt -floop-optimize -frerun-cse-after-loop -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict test"
GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/ http://ftp.caliu.info/pub/gentoo/ http://mirror.ovh.net/gentoo-distfiles/"LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es en"
MAKEOPTS="-j1"
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.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 acpi alsa apache2 asf audiofile avi bash-completion bidi bitmap-fonts bzip2 bzlib canna cdr cjk cli crypt cups dga directfb divx4linux doc dri dvb dvd dvdr dvdread eds emboss encode esd evo exif fbcon fftw flac foomaticdb freewnn ftp gb gcj gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml iconv imlib iodbc isdnlog java jikes jpeg kde libg++ libwww mad memlimit mikmod mime mmx motif mozilla mp3 mpeg msn nas nls nptl nsplugin nvidia odbc offensive ogg oggvorbis openal opengl pam pcre pdflib perl png pnp posix ppds pppd quicktime readline reflection samba sdl session sharedmem simplexml spell spl ssl svg svga sysvipc szip tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales videos vorbis win32codecs wmf x86 xine xml xmms xorg xv xvid zlib elibc_glibc kernel_linux linguas_es linguas_en userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jory A. Pratt 2006-06-13 15:06:35 UTC
tone down the CFLAGS and you might find your problem, your webpages work fine for me. Anyone else able to duplicate this issue.
Comment 3 Abraham Marin Perez 2006-06-17 04:16:04 UTC
I softened my CLFAGS to:

CFLAGS="-O2 -pipe -march=athlon-xp -floop-optimize"

and then it worked in those web pages it used to crash with. However, there's still one page where firefox hangs:

www.map24.com

The funny point is that even mozilla hangs when browsing that webpage, could it be something related to the page itself? Mozilla hasn't ever failed until now...
Comment 4 Abraham Marin Perez 2006-06-18 03:12:03 UTC
I tried again with CFLAGS:

CFLAGS="-O2 -pipe -march=athlon-xp"

and it still crashes with some web pages; for examble

http://forums.gentoo.org/

I think CFLAGS are soft enough, so the problem must be somewhere else. I'll rebuild firefox with those CFLAGS and --emptytree option and see what happens.

I changed some stuff in make.conf, my new emerge --info:

Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.14
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict test"
GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/ http://ftp.caliu.info/pub/gentoo/ http://mirror.ovh.net/gentoo-distfiles/"LANG="es_ES.UTF-8@euro"
LC_ALL="es_ES.UTF-8@euro"
LINGUAS="es en"
MAKEOPTS="-j1"
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.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 acpi alsa apache2 asf audiofile avi bash-completion bidi bitmap-fonts bzip2 bzlib canna cdr cjk cli crypt cups dga directfb divx4linux doc dri dvb dvd dvdr dvdread eds emboss encode esd evo exif fbcon fftw flac foomaticdb freewnn ftp gb gcj gd gdbm gif gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv imlib iodbc isdnlog java jikes jpeg kde libg++ libwww mad memlimit mikmod mime mmx motif mozilla mp3 mpeg msn nas nls nptl nsplugin nvidia odbc offensive ogg oggvorbis openal opengl pam pcre pdflib perl png pnp posix ppds pppd quicktime readline reflection samba sdl session sharedmem simplexml spell spl ssl svg svga sysvipc szip tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales videos vorbis win32codecs wmf x86 xine xml xmms xorg xprint xv xvid zlib elibc_glibc kernel_linux linguas_es linguas_en userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 François Bissey 2006-06-20 03:16:28 UTC
It started to crash for me too yesterday. ...On slashdot...
I am not completly sure of the cause but somtimes I can 
open slashdot and some other time I crash, or even the page
start to load and the content to appear and then crash. It makes
me suspect the ad content of the website as a cause.
Here is my emerge info:
 Portage 2.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r3, 2.6.16-gentoo-r6 i686)
=================================================================
System uname: 2.6.16-gentoo-r6 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -fsigned-char -frename-registers -fno-strict-aliasing -fivopts -ftree-vectorize"
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/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -fsigned-char -frename-registers -fno-strict-aliasing -fivopts -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.citylink.co.nz/gentoo http://mirrors.tds.net/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo ftp://mirrors.tds.net/gentoo http://gentoo.eliteitminds.com"
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.au.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X a52 aac aalib acl alsa amr apache2 apm arts audiofile avi berkdb bidi bitmap-fonts bootsplash bzip2 cairo cdf cdparanoia cli crypt cups curl curlwrappers dga dri dts dvd dvdr dvdread edl emboss emul-linux encode esd exif expat fastcgi fb fbcon fftw flac font-server foomaticdb fortran fpx gdbm gif gimpprint gmp gpm graphviz gs gstreamer gtk gtk2 hal hdf icc idn imagemagick imlib imlib2 ipv6 isdnlog jack java jbig joystick jpeg jpeg2k kde kdexdeltas lcms libg++ libwww live lzw-tiff mad matroska mikmod mime mmx mmx2 mng motif mp3 mpeg ncurses netcdf network nls nptl ogg openal openexr opengl oss pam pcre pdf pdflib perl png portaudio posix pppd python qt qt4 quicktime readline real reflection sdl session spell spl sse ssl svg svga tcltk tcpd tetex tga theora tiff truetype truetype-fonts type1-fonts udev unicode usb vidix vorbis wmf xanim xine xml xmms xorg xpm xsl xv xvid zeroconf zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

My system is not enterely consistent, world has not been recompiled with
gcc-4.1.1 . I will try to tone the CFLAGS especially -ftree-vectorize which
seems to cause a lot of trouble. My ppc system with a similar configuration
has no trouble.
Comment 6 Denis Dupeyron (RETIRED) gentoo-dev 2006-07-06 11:12:15 UTC
I also had this issue, and also on a fully clean and recompiled system. I recompiled firefox with debug and visited slashdot. gdb told me that it crashed in mplayerplug-in.so, so I unmerged mplayerplug-in out of curiosity.

Since then firefox seems to behave. I'm keeping it like this for a while to confirm it does solve the issue (although it's not an acceptable solution), as the crashes seemed sometimes to come and go at random (or so it seemed).

Denis.
Comment 7 François Bissey 2006-07-06 13:27:57 UTC
My problem disapeared too. I recompiled my whole system as it was needed
anyway. Along the way I learnt if use you gcc4.1.1 on x86 you shouldn't
compile pango with -ftreevectorize as it is completly broken (it works 
all right on ppc).
While the problem did "misteriously" go away it didn't before I identify
a culprit: google ads. All the pages that were crashing contained google 
ads. I think the problem disapeared because google fixed something in 
their ads. And it is possibly also why this crash came out of nowhere
without me recompiling anything related to firefox.  
Comment 8 Ricardo 2006-07-13 14:04:04 UTC
I have had somewhat similar problems.  For me, I can't visit the website http://www.bbcworld.com without firefox crashing.  Check out my post in Bug 140020

-Ricardo-
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-11-11 14:54:21 UTC
For -ftree-vectorize issues, see Bug 151394. For the rest, well making this bug a dump space for random crashes is completely useless, various issues described here have mostly nothing in common with each other.
Comment 10 François Bissey 2006-11-11 19:07:09 UTC
(In reply to comment #8)
> For -ftree-vectorize issues, see Bug 151394. For the rest, well making this bug
> a dump space for random crashes is completely useless, various issues described
> here have mostly nothing in common with each other.
> 

While it has completely stoped on my system, I am pretty sure it had nothing to
do with the way I compiled firefox.
Like I said I had time to identify something common in the pages that crashed the
browser. In my case that was some google ads. And it wasn't really random in that I could reproduce it. I think I found that the login page from MozillaZine
website for example was repeatidly crashing, that's when I got the suspicion on
google ads by viewing that page in konqueror - I tried on a few other pages
featuring google ads and it was always the same.
So my conclusions is google did something to their ads, obviously I wasn't
the only one having trouble with the change and they fixed it in the week. 
Comment 11 Abraham Marin Perez 2006-11-13 11:08:07 UTC
(In reply to comment #8)
> For -ftree-vectorize issues, see Bug 151394. For the rest, well making this bug
> a dump space for random crashes is completely useless, various issues described
> here have mostly nothing in common with each other.
> 

I never used that flag and had problems with firefox since the very beginning of this bug (in fact, I am the reporter). I tuned down my CFLAGS till the max and firefox still crashes with some particular web pages; plus, I have to agree with Francois on the non-random aspect: when you can identify the input which will make your app crash you can't call it "random crashes".
Comment 12 Jory A. Pratt 2006-11-13 16:40:25 UTC
(In reply to comment #10)
> I never used that flag and had problems with firefox since the very beginning
> of this bug (in fact, I am the reporter). I tuned down my CFLAGS till the max
> and firefox still crashes with some particular web pages; plus, I have to agree
> with Francois on the non-random aspect: when you can identify the input which
> will make your app crash you can't call it "random crashes".
> 

Any way you cut it there is a bug in javascript .. as soon as upstream fixes we will push a new release into the tree.
Comment 13 Christian Marie (RETIRED) gentoo-dev 2006-12-18 19:46:37 UTC
Marking duplicate via anarchy.

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