Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100322 - mozilla-firefox-1.0.6 crashes randomly on some sites
Summary: mozilla-firefox-1.0.6 crashes randomly on some sites
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-25 23:47 UTC by Wojciech Potentas
Modified: 2005-10-04 12:17 UTC (History)
2 users (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 Wojciech Potentas 2005-07-25 23:47:30 UTC
Sometimes when I'm loading some page mozilla crashes randolmy. Especially often
on http://o2.pl sometimes on main site, sometimes when logging in, or checking mail.

emerge info (firefox was emerged with these options)

Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-gentoo-r11 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r11 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe -s -Wall -fforce-addr -fomit-frame-pointer -fPIC"
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.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -pipe -s -Wall -fexceptions -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="POLI"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3dnowex X Xaw3d aalib accesibility acpi alsa arts avi berkdb bidi
bitmap-fonts boundschecking bzip2 cdparanoia cdr crypt cups dba directfb
dlloader elf emul-linux-x86 encode esd exif fam fbcon ffmpeg flac flash foomatic
foomaticdb fortran gdbm ggi gif glut gnome gplflash gpm gtk gtk2 imagemagick
imlib ipv6 jabber jack java javascript jikes joystick jpeg kde lzw lzw-tiff mad
mikmod mmxex motif mozilla mp3 mpeg mpi mysql ncurses nls ogg opengl pam pdflib
perl plotutils png posix python qt quicktime radeon readline samba sdl slang
spell ssl tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts
unicode usb userlocales v4l videos vorbis wmf xine xml xml2 xmms xpm xv xvid
zlib video_cards_radeon linguas_POLI userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS

Reproducible: Sometimes
Steps to Reproduce:
1.
2.
3.



Expected Results:  
firefox should not crash

I suspecting buffer overflow error, cause firefox was build with boundschecking
flag.
Comment 1 Sven 2005-07-27 10:06:05 UTC
i have a firefox crash by visiting this site:
http://www1.euro.dell.com/content/default.aspx?c=de&cs=dedhs1&l=de&s=dhs

it tells:
(firefox-bin:11762): Gdk-WARNING **: gdk_property_get(): length value has
wrapped in calculation (did you pass G_MAXLONG?)
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 407 error_code 8 request_code 149 minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
firefox-bin exited with non-zero status (1)
~ > qpkg -I -v mozilla-launcher
www-client/mozilla-launcher-1.41 *

my arch is x86 - pentium4 

btw, the initial poster did not write what message a firefox crash produces on
the terminal :-(
Comment 2 Wojciech Potentas 2005-08-01 06:17:47 UTC
Ok thats it:

/usr/libexec/mozilla-launcher: line 116: 26294 Segmentation fault      "$mozbin"
"$@"
firefox-bin exited with non-zero status (139)
Comment 3 Vasilis Lourdas 2005-08-28 12:14:17 UTC
I'm using mozilla-firefox-1.0.6-r2 and I confirm the problem, it crashes in a
specific site for me and if I start it from the console, I get an error similar
to   Wojciech's in comment #2.
Comment 4 Nikhil Sethi 2005-10-02 16:24:57 UTC
I am having the same problem. mozilla-firefox-1.0.7.
I found that disabling javascript solves the problem. In my case, openning
cnn.com always crashes the browser with same message as comment#2.

Gandalf root # emerge -avt mozilla-firefox
[ebuild   R   ] www-client/mozilla-firefox-1.0.7-r2  -debug -gnome -ipv6 -java
-mozcalendar -mozdevelop -moznoxft +mozsvg +truetype -xinerama -xprint 105 kB 

Gandalf root # emerge -avt gecko-sdk      
[ebuild   R   ] net-libs/gecko-sdk-1.7.12-r1  +crypt -debug -gnome -ipv6 -java
+ldap -mozcalendar -mozdevelop -moznocompose -moznoirc -moznomail -moznoxft
-mozsvg -postgres +ssl +truetype -xinerama -xprint 0 kB 

Will be happy to give any other information.
Comment 5 Wojciech Potentas 2005-10-02 16:35:11 UTC
Now I have:

www-client/mozilla-firefox-1.0.7-r1

Portage 2.0.52-r1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-ck4 x86_64)
=================================================================
System uname: 2.6.13-ck4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.13
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"  
AUTOCLEAN="yes"                 
CBUILD="x86_64-pc-linux-gnu"    
CFLAGS="-march=opteron -O2 -fomit-frame-pointer -pipe -Wall -s"
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.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=opteron -O2 -pipe -Wall -s -fexceptions -s"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache cvs distcc distlocks keeptemp
keepwork noauto noclean notitles sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib accesibility acl acpi alsa amd64 apm avi berkdb bidi
bitmap-fonts boundschecking bzip2 calendar cdparanoia cdr crypt csope ctype cups
directfb dri eds emboss emul-linux-x86 encode examples exif fam fbcon ffmpeg
fftw flac foomaticdb fortran ftp gd geoip ggi gif glut gpm gps gstreamer gtk
gtk2 imagemagick imlib ipv6 jabber jack joystick jpeg junit kde lesstiff lzw
lzw-tiff md5 mng mozilla mp3 mpeg mpi mysql ncurses nls nptl ogg openal opengl
opngl oss pam pdflib perl plotutils png posix python qt quicktime readline samba
scanner sdl slang source spell ssl symlink tcltk tcpd threads tiff truetype
truetype-fonts type1-fonts unicode usb userlocales v4l vcd verbose videos vorbis
wmf wxwindows x86libs xine xml xml2 xmms xpm xv zlib video_cards_radeon
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

It don't crash but have some other, old bugs. I don't know where to report them
so I say what there are here:
1. When I put file://home/potentator URL it puts me on file://
2. Sometimes when I writing something it stops to show characters. When I change
the workspace (x11-wm/fluxbox-0.9.14-r1) and go back only then I can go back to
writing.
Comment 6 Nikhil Sethi 2005-10-02 16:37:58 UTC
(In reply to comment #4)

I seem to have solved my problem (or may be CNN removed the offending
javascript). I uninstalled an extension (Replaces all flash objects by a button,
cannot remember the name). It seems to be working for now.
Comment 7 Wojciech Potentas 2005-10-03 20:42:25 UTC
So I think we can close the bug. Thank you.
Comment 8 Vasilis Lourdas 2005-10-04 05:32:21 UTC
(In reply to comment #7)
> So I think we can close the bug. Thank you.

Maybe you've closed the bug too soon. I have version 1.0.7-r2 and the problem
still persists. I don't think it's an extension problem or a profile one (I
tried creating a new profile from scratch and the problem did not disappear). I
think it's a bug within the Firefox core. If you search a little bit, you'll
find numerous other cases. Maybe this is fixed in 1.5b1.
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2005-10-04 12:17:56 UTC
Works fine here .. remove any flash/java plugins, and if it fixes, check bug
#108013.