Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159880 - firefox-2.0.0.1 segfaults on certain sites
Summary: firefox-2.0.0.1 segfaults on certain sites
Status: RESOLVED INVALID
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: 2007-01-03 10:46 UTC by Tomas Kejzlar
Modified: 2007-01-05 01:08 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 Tomas Kejzlar 2007-01-03 10:46:51 UTC
A few days ago firefox-2.0.0.1 started to segfault on certain web pages (i.e. www.jquery.com) with message (in a clean profile):

/usr/libexec/mozilla-launcher: line 119:  9682 Neopr
Comment 1 Tomas Kejzlar 2007-01-03 10:46:51 UTC
A few days ago firefox-2.0.0.1 started to segfault on certain web pages (i.e. www.jquery.com) with message (in a clean profile):

/usr/libexec/mozilla-launcher: line 119:  9682 Neoprávněný přístup do paměti (SIGSEGV)                     $(type -P aoss) "$mozbin" "$@"
firefox-bin exited with non-zero status (139)

After recompiling firefox with "debug" flag, the message is:

No running windows found
Type Manifest File: /home/tkejzlar/.mozilla/firefox/utkcwd7i.default/xpti.dat
*** Registering Apprunner components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nsNativeComponentLoader: registering deferred (0)
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsChromeRegistry.cpp, line 1252
GFX: dpi=96 t2p=0,0666667 p2t=15 depth=24
++WEBSHELL == 1
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsPermissionManager.cpp, line 632
++DOMWINDOW == 1
++DOMWINDOW == 2
WARNING: dependent window created without a parent, file nsAppStartup.cpp, line 455
++WEBSHELL == 2
++DOMWINDOW == 3
++DOMWINDOW == 4
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsStringBundle.cpp, line 273
Note: styleverifytree is disabled
Note: frameverifytree is disabled
Note: verifyreflow is disabled
--WEBSHELL == 1
++WEBSHELL == 2
++DOMWINDOW == 5
++DOMWINDOW == 6
--DOMWINDOW == 5
--DOMWINDOW == 4
++WEBSHELL == 3
++DOMWINDOW == 5
++DOMWINDOW == 6
++WEBSHELL == 4
++DOMWINDOW == 7
++DOMWINDOW == 8
++DOMWINDOW == 9
++DOMWINDOW == 10
LoadPlugin() /usr/lib64/mozilla-firefox/plugins/libnullplugin.so returned 140dfe0
GetMIMEDescription() returned ""
LoadPlugin() /usr/lib64/mozilla-firefox/plugins/libunixprintplugin.so returned 14bdd90
GetMIMEDescription() returned ""
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsStringBundle.cpp, line 273
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsStringBundle.cpp, line 273
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsStringBundle.cpp, line 273
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsStringBundle.cpp, line 273
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsStringBundle.cpp, line 273
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsStringBundle.cpp, line 273
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsStringBundle.cpp, line 273
--DOMWINDOW == 9
--DOMWINDOW == 8
--WEBSHELL == 3
++DOMWINDOW == 9
CSS Error (http://jquery.com/css/trac.css :84.8): Neznámé @-pravidlo nebo chyba při parsování @-pravidla '@import'.
CSS Error (http://jquery.com/css/trac.css :596.8): Neznámé @-pravidlo nebo chyba při parsování @-pravidla '@import'.
CSS Error (http://jquery.com/css/trac.css :717.16): Chyba při parsování hodnoty vlastnosti 'padding'.  Deklarace vynechána.
--DOMWINDOW == 8
--DOMWINDOW == 7
WARNING: Couldn't add reflow command, so splitting.
###!!! ASSERTION: font metrics should not be null - bug 136248: 'NS_SUCCEEDED(rv)', file nsDeviceContext.cpp, line 669
Break: at file nsDeviceContext.cpp, line 669
###!!! ASSERTION: no font metrics: 'nsnull != aFontMetrics', file nsHTMLReflowState.cpp, line 2200
Break: at file nsHTMLReflowState.cpp, line 2200
/usr/libexec/mozilla-launcher: line 119:  9682 Neoprávněný přístup do paměti (SIGSEGV)                     $(type -P aoss) "$mozbin" "$@"
firefox-bin exited with non-zero status (139)

Running firefox -g outputs:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47184257790480 (LWP 10241)]
0x00002aaaac0825dd in ?? ()
   from /usr/lib64/mozilla-firefox/components/libgklayout.so

and backtrace is:

#0  0x00002aaaac0825dd in ?? ()
   from /usr/lib64/mozilla-firefox/components/libgklayout.so
#1  0x00002aaaac083c88 in ?? ()
   from /usr/lib64/mozilla-firefox/components/libgklayout.so
#2  0x00002aaaac083d64 in ?? ()
   from /usr/lib64/mozilla-firefox/components/libgklayout.so
#3  0x00002aaaac0581ad in ?? ()
   from /usr/lib64/mozilla-firefox/components/libgklayout.so
#4  0x00002aaaac051d35 in ?? ()
   from /usr/lib64/mozilla-firefox/components/libgklayout.so
#5  0x00002aaaac055820 in ?? ()
   from /usr/lib64/mozilla-firefox/components/libgklayout.so
#6  0x00002aaaac04e3c6 in ?? ()
   from /usr/lib64/mozilla-firefox/components/libgklayout.so
#7  0x00002aaaac04f020 in ?? ()
   from /usr/lib64/mozilla-firefox/components/libgklayout.so
#8  0x00002aaaac04ff98 in ?? ()
   from /usr/lib64/mozilla-firefox/components/libgklayout.so
#9  0x00002aaaac051de0 in ?? ()
   from /usr/lib64/mozilla-firefox/components/libgklayout.so
#10 0x00002aaaac055820 in ?? ()
   from /usr/lib64/mozilla-firefox/components/libgklayout.so

(with some more libgklayout entries)

And finally, my emerge --info is:

Portage 2.1.2_rc4-r5 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-beyond2 x86_64)
=================================================================
System uname: 2.6.19-beyond2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
Gentoo Base System version 1.13.0_alpha10
Last Sync: Wed, 03 Jan 2007 12:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://files.gentoo.org http://gentoo.inf.elte.hu/ "
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="cs en_GB"
MAKEOPTS="-j3"
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 /usr/portage/local/layman/custom-kernels"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X accessibility alsa amd64 apache2 berkdb bitmap-fonts cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr flac fortran gdbm gnome gpm gtk gtk2 hal iconv ipv6 isdnlog jpeg jpeg2k libg++ mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf perl png ppds pppd python readline reflection session smp spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xine xorg xvid zlib" ALSA_CARDS="ice1724 intel8x0" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="cs en_GB" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS

One last thing: firefox-bin works perfectly on the sites where firefox segfaults.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-03 10:49:33 UTC
Not here. Also note that posting error messages in Czech is usually not much appreciated...
Comment 3 Jory A. Pratt 2007-01-03 11:01:29 UTC
Works fine for me you better start checking plugins/extensions
Comment 4 Tomas Kejzlar 2007-01-03 11:10:13 UTC
(In reply to comment #2)
> Works fine for me you better start checking plugins/extensions

I'm not using any extensions and/or plugins, only Czech and English language packs...

Comment 5 Tomas Kejzlar 2007-01-04 01:16:44 UTC
I've tried building firefox with "restrict-javascript" and when javascripts are restricted everything works as expected, so i guess it's a problem related to javascript handling...
Comment 6 Jory A. Pratt 2007-01-04 12:56:29 UTC
Until you build firefox with debuging support your spinning your wheels. Your jscript link works fine here. refer to http://www.gentoo.org/proj/en/qa/backtraces.xml for more info on a proper backtrace.
Comment 7 Tomas Kejzlar 2007-01-05 01:08:28 UTC
Well, I've finally found out that the problems were caused by some damaged font files. After reemerging them everything works as expected.