Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83177 - random Firefox segfault on line 415
Summary: random Firefox segfault on line 415
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-24 04:33 UTC by Quintin Pan
Modified: 2005-12-22 18:23 UTC (History)
1 user (show)

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 Quintin Pan 2005-02-24 04:33:04 UTC
Firefox 1.0-r3 crashes with /usr/bin/firefox: line 415: 11505 Segmentation fault      $mozbin "$@".

I've seen a few segfault errors on bugzilla here, it seems a segfault on line 88 is quite popular. Also, all others seem to be reproducible and fail on a specific site. Mine appears to be quite random. It does not crash on start or on a specific webpage. Sometimes there are a few tabs open and other times there's nothing even open other than a preference box. Revisiting any and all of the webpages that were open when it crashed does not crash the browser again but then it crashes at some other seemingly random point. There appears to be no pattern at all.

Reproducible: Couldn't Reproduce
Steps to Reproduce:
1.
2.
3.



$emerge info
Gentoo Base System version 1.4.16
Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.2,
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 22 2005, 21:00:19)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.6-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa avi berkdb bitmap-fonts crypt curl dedicated directfb dvd
exif f77 flac font-server fortran gif gphoto2 gpm gtk gtk2 icq imap ipv6 jabber
java jp2 jpeg kde lzw lzw-tiff mime mozilla mpeg msn multilib ncurses nls
oggvorbis opengl pam pda perl png python qt quicktime readline sdl speex spell
ssl tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb userlocales
xine xml2 xpm xrandr xv xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Kenyon Ralph 2005-02-25 20:59:27 UTC
Have you tried the suggestion in the last post here?: http://forums.gentoo.org/viewtopic-t-239839.html

I had a similar problem with segfaults and the font directory permissions turned out to be the problem.  The font directories need to be readable by the user running firefox.
Comment 2 Quintin Pan 2005-02-26 01:45:26 UTC
tried it. I'll see how it runs now. Thanks :)
Comment 3 Quintin Pan 2005-02-26 14:49:19 UTC
nope. Still the same :( It seems to happen more often with a heavier load. ie. lots of tabs.
Comment 4 dusdus 2005-03-03 05:44:42 UTC
Same problem here:
/usr/bin/firefox: line 415: 10347 Segmentation fault      $mozbin "$@"
and
/usr/bin/firefox: line 415: 27682 Segmentation fault      $mozbin "$@"

Font permissions set to the user and group and/or check "Always use my Fonts and/or Colors" didnt work
It happens to me and till now only on website which use java (eg. games.yahoo or inotes-webmail), and is easy reproduceable, it just happens always after the same clicks.
Imo it has nothing to do with the (heavy) load.


emerge --info
Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 13:06:48)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.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.gentoo.org/gentoo-portage"
USE="X aac aalib acl acpi add alsa amd64 apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzlib cdr crypt cups curl dio divx4linux dvd dvdr emacs emul-linux-x86 esd f77 fam flac font-server foomaticdb fortran ftp gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jp2 jpeg libwww lzw lzw-tiff mad mime motif mozilla mpeg msn multilib nas ncurses netboot nls ogg oggvorbis opengl oss pam pdf perl php pic png pnp ppds python quicktime radeon readline samba scanner sdl shared spell ssl svgalib tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales videos wmf wxwindows xine xml xml2 xmms xosd xpm xrandr xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

Comment 5 Greg Hellings 2005-03-19 08:28:06 UTC
You are both running on AMD64 systems.  Just so we don't think it's specific to that arch, I get the same thing on my x86.  Only mine doesn't always happen on Java-enabled sites.  Sometimes it will happen on plain-text sites and other times it will happen on a highly complex java/flash site.  I'm running firefox 1.0.1.

$emerge --info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 01:27:04)
]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -ffast-math -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1
1/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -ffast-math -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://10.1.10.64 http://distfiles.gentoo.org http://distro.ibibl
io.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j20"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://10.1.10.64/gentoo-portage"
USE="x86 3dnow X aim alsa apache2 apm avi berkdb bitmap-fonts cdr crypt directfb
 divx4linux dvd dvdread emboss encode fftw font-server foomaticdb fortran gdbm g
if gpm gtk gtk2 imlib ipv6 java jpeg libdv libg++ libwww mad mikmod mmx mmx2 mot
if mozilla moznomail mp3 mpeg ncurses nls nvidia ogg oggvorbis opengl pam pdflib
 perl png python quicktime readline real sdl spell ssl svga tcpd tiff truetype t
ruetype-fonts type1-fonts unicode usb userlocales wxwindows xanim xml2 xv xvid z
lib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 6 Jory A. Pratt 2005-08-04 10:52:02 UTC
does this still persist with 1.0.6?
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-12-22 18:23:26 UTC
No response from user...