Summary: | Mozilla and Firefox crash on referenced url and other sites, does not if Use Other Fonts is off | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James Crippen <james> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED UPSTREAM | ||
Severity: | critical | CC: | simon |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://www.tribe.net | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
James Crippen
2004-06-28 23:36:51 UTC
Output of 'epm -qa | sort': ORBit-0.5.17 ORBit2-2.8.3 SGMLSpm-1.03-r4 TermReadKey-2.21 XML-Parser-2.34 Xaw3d-1.5-r1 acl-2.2.13-r1 acpi-0.06-r5 acpid-1.0.2-r2 acroread-5.08 acroread-asianfonts-20020815 alsa-lib-1.0.3b-r2 alsa-oss-1.0.3a alsa-utils-1.0.3 apache-2.0.49-r1 apache-manual-2.0.49-r1 arphicfonts-0.1-r1 arts-1.2.2 atk-1.6.1 attr-2.4.7-r1 audiofile-0.2.5 autoconf-2.59-r3 automake-1.8.3 baekmuk-fonts-2.1-r1 banner-1.2.1 baselayout-1.8.12 bash-2.05b-r9 bc-1.06-r5 bin86-0.16.0 binutils-2.14.90.0.7-r4 bison-1.875 blackbox-0.65.0-r3 blackdown-jdk-1.4.1 blackdown-jre-1.4.1 bochs-2.1.1 bsd-games-2.13 bsd-games-non-free-2.13 bzip2-1.0.2-r3 cabextract-0.6 cl-asdf-1.81 cl-clx-sbcl-0.5.4-r1 cl-defsystem3-3.3i-r2 cl-iterate-1.0.4 cl-linedit-0.15.9 cl-md5-1.8.3 cl-meta-0.1.2-r1 cl-ncurses-0.1.1 cl-osicat-0.4.0 cl-ppcre-0.7.7 cl-regex-1-r1 cl-sha1-1.0-r1 cl-split-sequence-20011114.1-r1 cl-terminfo-1.3 cl-uffi-1.4.13 cl-xml-3 cmucl-18e-r4 cmucl-bin-18e-r1 cmucl-source-18e-r1 common-lisp-controller-3.82 commonbox-styles-0.6 commonbox-utils-0.4 corefonts-1-r1 coreutils-5.0.91-r4 cpio-2.5 cracklib-2.7-r8 cronbase-0.2.1-r3 ctags-5.5-r1 cups-1.1.20-r1 curl-7.11.0 cvs-1.11.15 db-1.85-r1 db-4.1.25_p1-r3 debianutils-1.16.7-r4 devfsd-1.3.25-r6 dgs-0.5.10-r1 dhcpcd-1.3.22_p4-r4 dialog-0.9_beta20031002 diffutils-2.8.4-r4 docbook-dsssl-stylesheets-1.77-r2 docbook-sgml-1.0 docbook-sgml-dtd-3.0-r1 docbook-sgml-dtd-3.1-r1 docbook-sgml-dtd-4.0-r1 docbook-sgml-dtd-4.1-r1 docbook-sgml-utils-0.6.12 docbook-xml-dtd-4.1.2-r4 docbook-xml-simple-dtd-4.1.2.4 docbook-xsl-stylesheets-1.62.4 e2fsprogs-1.34 ed-0.2-r3 epm-0.8.8 esearch-0.6 esound-0.2.33 ethereal-0.9.16-r1 expat-1.95.6-r1 fam-2.7.0 fbset-2.1 file-4.06 findutils-4.1.20-r1 flex-2.5.4a-r5 fltk-1.1.4 fontconfig-2.2.1 foomatic-3.0.1 foomatic-db-20040302 foomatic-db-engine-3.0.1 foomatic-filters-3.0.1 fortune-mod-9708-r1 fortune-mod-calvin-0.1.1 fortune-mod-gentoo-dev-20040401 fortune-mod-hitchhiker-0.1 fortune-mod-humorixfortunes-1.4-r1 fortune-mod-kernelcookies-0.1 fortune-mod-tao-1 fortune-mod-zx-error-1.0 freetype-2.1.8 ftp-0.17-r3 ftpd-0.17-r1 gawk-3.1.3-r1 gcc-3.3.2-r5 gcc-config-1.3.1-r1 gcolor-0.4 gconf-2.4.0.1 gdb-6.0 gdbm-1.8.0-r5 gentoo-dev-sources-2.6.5-r1 gentoolkit-0.2.0_pre8 gettext-0.12.1 ghostscript-afpl-8.14 giflib-4.1.0-r3 gimp-print-4.2.6 gkrellm-2.1.28-r1 gkrellm-volume-2.1.9 gkrellmms-2.1.15 gkrellmoon-0.6 gkrellsun-0.9.1 gkrelltop-2.2 gkrellweather-2.0.6 glib-1.2.10-r5 glib-2.4.0 glibc-2.3.2-r9 gmp-4.1.2 gnome-libs-1.4.2 gnome-mime-data-2.4.1 gnome-vfs-2.4.2-r1 gnu-gs-fonts-other-6.0 gnu-gs-fonts-std-6.0 gnuconfig-20040214 gnupg-1.2.4 gpm-1.20.1 grep-2.5.1-r1 groff-1.18.1-r4 gtk+-1.2.10-r11 gtk+-2.4.0-r1 gtk-doc-1.1 gtk-gnutella-0.93.3 guile-1.6.4-r1 gv-3.5.8-r3 gzip-1.3.3-r2 hashalot-0.1.0 hdparm-5.4 heimdal-0.6.1 help2man-1.29 imagemagick-5.5.7.15 imlib-1.9.14-r1 indent-2.2.9 intltool-0.30 iputils-020927 jadetex-3.12 java-config-1.2.6 java-sdk-docs-1.4.1 java-sdk-docs-1.4.2 jot-9.0 jpeg-6b-r3 kbd-1.08-r5 kde-env-3-r2 kochi-substitute-20030809 lcms-1.12 less-381 lib-compat-1.3 libIDL-0.8.2 libart_lgpl-2.3.16 libbonobo-2.4.3 libbonoboui-2.4.3 libcap-1.10-r3 libglade-2.0.1 libgnome-2.4.0 libgnomecanvas-2.4.0 libgnomeui-2.4.0.1 libmng-1.0.4 libnasl-2.0.9 libogg-1.1 libpcap-0.8.3-r1 libpcre-4.4 libperl-5.8.2 libpng-1.2.5-r4 librep-0.17 libsdl-1.2.7 libtool-1.4.3-r4 libungif-4.1.0.1b libvorbis-1.0.1-r2 libwww-5.4.0-r2 libxml2-2.6.7 libxslt-1.1.4 lilo-22.5.8-r1 linux-headers-2.4.19 linux-headers-2.4.21-r1 lynx-2.8.5 m4-1.4-r1 mailbase-0.00-r5 mailwrapper-0.1 make-3.80 man-1.5l-r6 man-pages-1.66 metalog-0.8_pre20031130 miscfiles-1.3-r1 module-init-tools-3.0 modutils-2.4.25 mozilla-1.7 mozilla-firefox-0.9-r1 mozilla-launcher-1.7-r1 mpeg2vidcodec-12-r1 nano-1.2.3 nasm-0.98.38 ncftp-3.1.7 ncompress-4.2.4 ncurses-5.4-r1 neon-0.24.5 nessus-2.0.9 nessus-core-2.0.9 nessus-libraries-2.0.9 nessus-plugins-2.0.9 net-snmp-5.0.9-r1 net-tools-1.60-r8 nmap-3.50-r1 ntp-4.2.0-r2 nvidia-glx-1.0.5336-r2 nvidia-kernel-1.0.5336-r2 opengl-update-1.5 openjade-1.3.2-r1 openmotif-2.1.30-r5 openslp-1.0.11 opensp-1.5-r1 openssh-3.8_p1 openssl-0.9.7d pam-0.77 pam-login-3.14 pango-1.4.0 patch-2.5.9 perl-5.8.2-r1 pkgconfig-0.15.0 popt-1.7-r1 portage-2.0.50-r8 portmap-5b-r8 procps-3.1.15 psmisc-21.2-r4 pwdb-0.62 python-2.3.3 python-docs-2.3.3 python-fchksum-1.7.1 pyxml-0.8.3 qt-3.3.2 rar-3.3.0 readline-4.3-r4 realone-1 realpath-1.9.3 realplayer-8-r7 realvideo-codecs-9 reiserfsprogs-3.6.11 rep-gtk-0.18 rpm2targz-9.0-r2 rsync-2.6.0 samba-3.0.2a-r2 sash-3.6 sbcl-0.8.11 sed-4.0.7 setserial-2.17-r2 sgml-common-0.6.3-r4 shadow-4.0.3-r9 sharutils-4.2.1-r8 slang-1.4.9 slocate-2.7-r5 ssmtp-2.60.7 strace-4.5.1 stuffit-5.2.0.611 subversion-1.0.2 sun-jdk-1.4.2.04-r1 svgalib-1.9.18-r1 swig-1.3.21 t1lib-5.0.0-r2 tar-1.13.92-r3 tcl-8.3.4 tcp-wrappers-7.6-r8 tcpdump-3.8.3-r1 telnet-bsd-1.0 tetex-2.0.2-r3 texinfo-4.5 tiff-3.5.7-r1 tk-8.3.4-r1 traceroute-1.4_p12-r2 ttf-bitstream-vera-1.10-r2 ttmkfdir-3.0.9-r1 ucl-1.01-r1 ufed-0.34 unrar-3.3.6 unshield-0.2 unzip-5.50-r2 urw-fonts-2.0-r1 util-linux-2.12-r4 vim-6.2-r7 vim-core-6.2-r7 vixie-cron-3.0.1-r4 wget-1.9-r2 which-2.16 wtf-20021005 wxGTK-2.4.2-r1 xinetd-2.3.12 xkeycaps-2.46 xloadimage-4.1-r1 xmbdfed-4.5 xmms-1.2.10-r1 xorg-x11-6.7.0 xv-3.10a-r3 yacc-1.9.1-r2 zip-2.3-r2 zlib-1.1.4-r2 http://www.w3.org/TR/CSS2 also exhibits crash. Note bugzilla.mozilla.org bug #235375 Tried building USE="-gtk2 -gnome -xprint -xinerama debug moznoirc moznomail moznocompose" and mozilla immediately crashes on startup with following messages: No running windows found Type Manifest File: /usr/lib/mozilla/components/xpti.dat +++ JavaScript debugging hooks installed. nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) GFX: dpi=100 t2p=0.0714286 p2t=14 depth=24 ++WEBSHELL == 1 ++DOMWINDOW == 1 For application/x-java-vm found plugin /opt/sun-jdk-1.4.2.04/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so LoadPlugin() /opt/sun-jdk-1.4.2.04/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so returned 819a220 ++WEBSHELL == 2 ++DOMWINDOW == 2 Note: verifyreflow is disabled Note: styleverifytree is disabled Note: frameverifytree is disabled ++WEBSHELL == 3 ++DOMWINDOW == 3 ###!!! ASSERTION: font metrics should not be null - bug 136248: 'NS_SUCCEEDED(rv)', file nsDeviceContext.cpp, line 668 Break: at file nsDeviceContext.cpp, line 668 ###!!! ASSERTION: You can't dereference a NULL nsCOMPtr with operator->().: 'mRawPtr != 0', file ../../../../dist/include/xpcom/nsCOMPtr.h, line 711 Break: at file ../../../../dist/include/xpcom/nsCOMPtr.h, line 711 Program /usr/lib/mozilla/mozilla-bin (pid = 13792) received signal 11. Built mozilla with USE="-gnome -xprint -xinerama debug moznoirc moznomail moznocompose" and tried again. Got following crash output: No running windows found Type Manifest File: /usr/lib/mozilla/components/xpti.dat +++ JavaScript debugging hooks installed. nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) GFX: dpi=100 t2p=0.0714286 p2t=14 depth=24 ++WEBSHELL == 1 ++DOMWINDOW == 1 LoadPlugin() /usr/lib/nsbrowser/plugins/libnullplugin.so returned 81b5718 GetMIMEDescription() returned "*:.*:All types" For application/x-java-vm found plugin /opt/sun-jdk-1.4.2.04/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so LoadPlugin() /opt/sun-jdk-1.4.2.04/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so returned 81b4d80 ++WEBSHELL == 2 ++DOMWINDOW == 2 Note: verifyreflow is disabled Note: styleverifytree is disabled Note: frameverifytree is disabled ++WEBSHELL == 3 ++DOMWINDOW == 3 Document file:///root/projects/public_html/bookmarks.html loaded successfully CSS Error (http://www.tribe.net/tribe/css/style_gray.css :31.0): Selector expected. Ruleset ignored due to bad selector. CSS Error (http://www.tribe.net/tribe/css/style_gray.css :120.34): Expected declaration but found '0px'. Skipped to next declaration. ###!!! ASSERTION: font metrics should not be null - bug 136248: 'NS_SUCCEEDED(rv)', file nsDeviceContext.cpp, line 668 Break: at file nsDeviceContext.cpp, line 668 ###!!! ASSERTION: no font metrics: 'nsnull != aFontMetrics', file nsHTMLReflowState.cpp, line 2100 Break: at file nsHTMLReflowState.cpp, line 2100 Program /usr/lib/mozilla/mozilla-bin (pid = 20936) received signal 11. Font issues are nearly impossible to handle on the side of the packager - unfortunately font related crashes happen rather commonly with Mozilla applications. Glad to see an upstream bug. Will track any patches coming out of it. I'm unsure if this should be a new bug or not since it's a Thunderbird issue, but I think it involves shared code between Thunderbird and Firefox. I get the same results as James with both Firefox *and* Thunderbird. Thunderbird crashes whenever I start it, while Firefox crashes whenever I visit certain sites without "allow docs to use other fonts" checked. I just ugpraded from XFree86 to Xorg, and I don't get any crashes when I run Thunderbird or Firefox as root. I suspected that my font issues were fixed with bug 53753, but that didn't help at all. Here is what Thunderbid says about the issue when compiled with USE="debug": ###!!! ASSERTION: font metrics should not be null - bug 136248: 'NS_SUCCEEDED(rv )', file nsDeviceContext.cpp, line 668 Break: at file nsDeviceContext.cpp, line 668 ###!!! ASSERTION: You can't dereference a NULL nsCOMPtr with operator->().: 'mRa wPtr != 0', file ../../../../dist/include/xpcom/nsCOMPtr.h, line 711 Break: at file ../../../../dist/include/xpcom/nsCOMPtr.h, line 711 Program /usr/lib/MozillaThunderbird/thunderbird-bin (pid = 28066) received signa l 11. Stack: _ZN13nsProfileLock18FatalSignalHandlerEi+0x0000005D [/usr/lib/MozillaThunderbird /thunderbird-bin +0x00026D55] UNKNOWN [/lib/libpthread.so.0 +0x0000AD5D] UNKNOWN [/lib/libc.so.6 +0x00028B88] UNKNOWN [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x005039ED] _ZN10nsRuleNode18ComputePaddingDataEP13nsStyleStructRK11nsCSSStructP14nsStyleCon textPS_RKNS_10RuleDetailEi+0x00000130 [/usr/lib/MozillaThunderbird/components/li bgklayout.so +0x00509F2C] _ZN10nsRuleNode12WalkRuleTreeE15nsStyleStructIDP14nsStyleContextP10nsRuleDataP11 nsCSSStruct+0x0000065A [/usr/lib/MozillaThunderbird/components/libgklayout.so +0 x00505B1E] _ZN10nsRuleNode14GetPaddingDataEP14nsStyleContext+0x0000009B [/usr/lib/MozillaTh underbird/components/libgklayout.so +0x00504ECB] _ZN10nsRuleNode12GetStyleDataE15nsStyleStructIDP14nsStyleContexti+0x000002C8 [/u sr/lib/MozillaThunderbird/components/libgklayout.so +0x0050C5A8] _ZN14nsStyleContext12GetStyleDataE15nsStyleStructID+0x00000058 [/usr/lib/Mozilla Thunderbird/components/libgklayout.so +0x005215BC] _ZNK8nsIFrame12GetStyleDataE15nsStyleStructID+0x00000030 [/usr/lib/MozillaThunde rbird/components/libgklayout.so +0x002DE366] _ZNK8nsIFrame15GetStylePaddingEv+0x00000027 [/usr/lib/MozillaThunderbird/compone nts/libgklayout.so +0x002EEBAF] _ZN12nsBlockFrame7IsEmptyEv+0x0000009D [/usr/lib/MozillaThunderbird/components/l ibgklayout.so +0x002E444D] _ZNK9nsLineBox7IsEmptyEv+0x00000031 [/usr/lib/MozillaThunderbird/components/libg klayout.so +0x0032FFDB] _ZN20nsBlockReflowContext25ComputeCollapsedTopMarginEP14nsIPresContextR17nsHTMLR eflowStateR18nsCollapsingMargin+0x00000120 [/usr/lib/MozillaThunderbird/componen ts/libgklayout.so +0x002F0D38] _ZN12nsBlockFrame16ReflowBlockFrameER18nsBlockReflowState19nsLineList_iteratorPi +0x00000BF0 [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x002E54C6] _ZN12nsBlockFrame10ReflowLineER18nsBlockReflowState19nsLineList_iteratorPii+0x00 0000EF [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x002E348F] _ZN12nsBlockFrame16ReflowDirtyLinesER18nsBlockReflowState+0x000004ED [/usr/lib/M ozillaThunderbird/components/libgklayout.so +0x002E262F] UNKNOWN [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x002DF542] _ZN16nsContainerFrame11ReflowChildEP8nsIFrameP14nsIPresContextR19nsHTMLReflowMet ricsRK17nsHTMLReflowStateiijRj+0x0000009B [/usr/lib/MozillaThunderbird/component s/libgklayout.so +0x002FAA9F] UNKNOWN [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x0031A255] _ZN19nsBoxToBlockAdaptor6ReflowER16nsBoxLayoutStateP14nsIPresContextR19nsHTMLRef lowMetricsRK17nsHTMLReflowStateRjiiiii+0x0000031C [/usr/lib/MozillaThunderbird/c omponents/libgklayout.so +0x0042676E] UNKNOWN [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x004262AD] UNKNOWN [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x0041D122] UNKNOWN [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x00418A58] UNKNOWN [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x0041D122] _ZN14nsContainerBox13LayoutChildAtER16nsBoxLayoutStateP6nsIBoxRK6nsRect+0x000000 B9 [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x00428753] _ZN21nsGfxScrollFrameInner9LayoutBoxER16nsBoxLayoutStateP6nsIBoxRK6nsRect+0x0000 002D [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x0031599F] _ZN21nsGfxScrollFrameInner6LayoutER16nsBoxLayoutState+0x0000018C [/usr/lib/Mozil laThunderbird/components/libgklayout.so +0x00315C46] UNKNOWN [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x003159F7] UNKNOWN [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x0041D122] UNKNOWN [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x004209D7] UNKNOWN [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x00314AFF] _ZN16nsContainerFrame11ReflowChildEP8nsIFrameP14nsIPresContextR19nsHTMLReflowMet ricsRK17nsHTMLReflowStateiijRj+0x0000009B [/usr/lib/MozillaThunderbird/component s/libgklayout.so +0x002FAA9F] UNKNOWN [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x00380F6A] _ZN17IncrementalReflow8DispatchEP14nsIPresContextR19nsHTMLReflowMetricsRK6nsSize R19nsIRenderingContext+0x00000182 [/usr/lib/MozillaThunderbird/components/libgkl ayout.so +0x0034FBF6] _ZN9PresShell21ProcessReflowCommandsEi+0x00000259 [/usr/lib/MozillaThunderbird/c omponents/libgklayout.so +0x0035E7BF] _ZN11ReflowEvent11HandleEventEv+0x000000E6 [/usr/lib/MozillaThunderbird/componen ts/libgklayout.so +0x00368E5A] UNKNOWN [/usr/lib/MozillaThunderbird/components/libgklayout.so +0x0035E15B] PL_HandleEvent+0x0000004B [/usr/lib/MozillaThunderbird/libxpcom.so +0x000D5F99] PL_ProcessPendingEvents+0x000000B7 [/usr/lib/MozillaThunderbird/libxpcom.so +0x0 00D5E78] UNKNOWN [/usr/lib/MozillaThunderbird/libxpcom.so +0x000D8B9D] UNKNOWN [/usr/lib/MozillaThunderbird/components/libwidget_gtk2.so +0x0002E285] UNKNOWN [/usr/lib/libglib-2.0.so.0 +0x0004ABA2] UNKNOWN [/usr/lib/libglib-2.0.so.0 +0x00025D41] g_main_context_dispatch+0x00000094 [/usr/lib/libglib-2.0.so.0 +0x00023EC6] UNKNOWN [/usr/lib/libglib-2.0.so.0 +0x00026271] g_main_loop_run+0x0000015E [/usr/lib/libglib-2.0.so.0 +0x000243A8] gtk_main+0x000000B4 [/usr/lib/libgtk-x11-2.0.so.0 +0x001132B0] UNKNOWN [/usr/lib/MozillaThunderbird/components/libwidget_gtk2.so +0x0002E868] UNKNOWN [/usr/lib/MozillaThunderbird/components/libnsappshell.so +0x0003DDFA] _Z8xre_mainiPPcPK12nsXREAppData+0x00000CB3 [/usr/lib/MozillaThunderbird/thunderb ird-bin +0x00015FB9] main+0x00000033 [/usr/lib/MozillaThunderbird/thunderbird-bin +0x00010DA7] __libc_start_main+0x000000C0 [/lib/libc.so.6 +0x00015880] |