Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222993 - www-client/mozilla-firefox-2.0.0.14: Segmentation Fault
Summary: www-client/mozilla-firefox-2.0.0.14: Segmentation Fault
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL: http://www.mozilla.com/en-US/firefox/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-20 18:37 UTC by Mounir
Modified: 2008-09-11 08:04 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 Mounir 2008-05-20 18:37:58 UTC
I've a problem popping out regularly when I try to visit some websites (not always the same) using Firefox. There are no specific steps to reproduce the errors but displaying pages with heavy javascript seems to be the reason for this problem.

Firefox version: 2.0.0.14

Kernel: 2.6.24-gentoo-r7

Here is the error message:

____________________________________________________________________________

No running windows found
/usr/libexec/mozilla-launcher: line 119: 8506 Segmentation fault $(type -P aoss) "$mozbin" $xulparams "$@"
firefox-bin exited with non-zero status (139)

____________________________________________________________________________

I'd like to add that this problem happened even with previous versions of firefox and previous versions of the kernel. 



Reproducible: Sometimes

Steps to Reproduce:
There are no specific steps to reproduce the problem



Expected Results:  
No segmentation fault.

I have no plug-ins installed, and it happens even when deleting the profile stored in .mozilla. Using Konqueror instead of Firefox solves partially the problem since I get a pop up error window but Konqueror, unlike FF, doesn't crash. That's why I believe it is something more related to Gentoo (USE variables or something) than to the browser.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-20 18:58:43 UTC
Looks like the usual memory leakage to me. Could you tell how much memory (RAM) your system has?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-20 18:59:30 UTC
Oh, and you forgot to include emerge --info.
Comment 3 Mounir 2008-05-20 19:59:33 UTC
(In reply to comment #1)
> Looks like the usual memory leakage to me. Could you tell how much memory (RAM)
> your system has?
> 

512 MB


(In reply to comment #2)
> Oh, and you forgot to include emerge --info.
> 

Here is the output to emerge --info:

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r7 i686)
=================================================================
System uname: 2.6.24-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1.80GHz
Timestamp of tree: Mon, 19 May 2008 01:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT=""
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X accessibility acl acpi alsa apache2 arts berkdb cairo cdr cli cracklib crypt cups dbus debug dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kerberos ldap mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg symlink tcpd tetex tiff truetype unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="dmix dshare extplug ioplug plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-21 00:04:18 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Looks like the usual memory leakage to me. Could you tell how much memory (RAM)
> > your system has?
> > 
> 
> 512 MB

That's not a lot. I have seen Firefox 2 do this a lot on a system with a mere 256MB and a single page open. But let's see what the maintainers think is the minimum supported amount of RAM. The URL says it's 64MB for a Linux system...
Comment 5 Mounir 2008-05-21 16:27:03 UTC
 
> That's not a lot. I have seen Firefox 2 do this a lot on a system with a mere
> 256MB and a single page open. But let's see what the maintainers think is the
> minimum supported amount of RAM. The URL says it's 64MB for a Linux system...
> 

It works fine with 256 MB on Fedora. I don't think that's related to the memory. I also don't believe that 512MB is not enough for FF2.
Comment 6 Sönke N. Greimann 2008-05-31 00:13:28 UTC
> Here is the error message:
> ____________________________________________________________________________
> 
> No running windows found
> /usr/libexec/mozilla-launcher: line 119: 8506 Segmentation fault $(type -P
> aoss) "$mozbin" $xulparams "$@"
> firefox-bin exited with non-zero status (139)
> ____________________________________________________________________________
> 

I can confirm this on 2.6.25-gentoo-r4.

emerge --info:

Portage 2.1.5.2 (default-linux/x86/2007.0/desktop, gcc-4.2.4, glibc-2.7-r2, 2.6.25-gentoo-r4 i686)
=================================================================
System uname: 2.6.25-gentoo-r4 i686 AMD Athlon(tm) XP 3000+
Timestamp of tree: Fri, 30 May 2008 22:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="distlocks fixpackages parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="                 ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/                 ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo                 ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo                 ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo                  ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/                 ftp://ftp.gentoo.mesh-solutions.com/gentoo/                 ftp://pandemonium.tiscali.de/pub/gentoo/                 ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/                 ftp://ftp.tu-clausthal.de/pub/linux/gentoo/                 ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo                "
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdparanoia cdr cli cracklib crypt cups dbus dmi dri dvd dvdr dvdread emboss encode esd evo fam ffmpeg firefox flac fortran gdbm gif gnome gnutls gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kerberos mad midi mikmod mmap mmx mmxext moznopango mp3 mpeg mudflap ncurses nforce2 nfs nls nptl nptlonly nsplugin nvidia odbc offensive ogg opengl openmp oss pam pcre pdf perl pidgin png pppd python qt3support qt4 quicktime readline real reflection reiserfs rtc samba sdl session spell spl sse ssl svg tcpd thunderbird tiff truetype unicode usb v4l v4l2 vorbis win32codecs x86 xml xorg xv xvid xvmc zlib" ALSA_CARDS="intel8x0 intel8x0m mpu401 usb-audio virmidi" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="joystick keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa v4l vga"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Patrick Lorazo 2008-06-28 23:49:01 UTC
(In reply to comment #5)
> > That's not a lot. I have seen Firefox 2 do this a lot on a system with a mere
> > 256MB and a single page open. But let's see what the maintainers think is the
> > minimum supported amount of RAM. The URL says it's 64MB for a Linux system...
> > 
> 
> It works fine with 256 MB on Fedora. I don't think that's related to the
> memory. I also don't believe that 512MB is not enough for FF2.
> 
I have the very same problem with 2 GB of memory; I also use mozilla-firefox-2.0.0.14.

The output of "emerge --info" is as follows :

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Timestamp of tree: Sat, 28 Jun 2008 04:01:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -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/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="fr_CA.utf8"
LINGUAS="fr pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d a52 aac aalib accessibility acl acpi addbookmarks aiglx alias alsa apm arts asf avi bash-completion berkdb bidi bitmap-fonts browserplugin cairo cdda cdio cdparanoia cdr cjk cli connectionstatus contactnotes cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss emovix encode esd evo extraicons f77 fam ffmpeg firefox foomaticdb fortran freetype ga
du gdbm gif gimp gimpprint glitz gnome gnutls gphoto2 gpm gstreamer gtk gtk2 hal highlight history httpd iconv imagemagick imlib ipod ipv6 isdnlog java jpeg jpeg2k kde kerberos ldap libg++ libwww live logitech-mouse mad midi mikmod mmx mng motif mozilla mozsvg mp3 mpeg mudflap mysql ncurses nls nowlistening nptl nptlonly nsplugin oav ogg openal opengl openmp oss pam pcre pdf perl png povray ppds pppd python qt qt-static qt3 qt3support qt4 quicktime readline real reflection samba scanner sdl session slang sms speex spell spl sse sse2 ssl stream svg svga symlink tcpd texteffect theora tiff timidity tk translator truetype truetype-fonts type1-fonts unicode usb v4l vcd vidix vlm vorbis webpresence win32codecs winpopup wxwindows x86 xanim xcb xcomposite xine xml xml2 xorg xosd xpm xprint xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es19
68 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file
 authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr pl" USERLAND="GNU" VIDEO_CARDS="fbdev radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2008-07-18 17:36:44 UTC
Try with -bin version
Comment 9 corax 2008-09-11 08:04:45 UTC
I could reliable reproduce this(?) error when visiting *one* site that uses a font  I had installed as a link in /usr/share/fonts/TTF, and later removed the linked-to font.
As soon as the link was updated, firefox stopped crashing.
#----------------------------------------------------------------------------

$ firefox 
No running windows found

(gecko:6946): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Matis - Ryzom 12'

(gecko:6946): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Matis - Ryzom 9.9990234375'
/usr/libexec/mozilla-launcher: line 119:  6946 Segmentation fault      $(type -P aoss) "$mozbin" $xulparams "$@"
firefox-bin exited with non-zero status (139)