When visiting various sites using Firefox 1.0-pre (with both the 1.0_pre and 1.0_pre-r2 ebuilds), Firefox aborts, giving a glib error message about it trying to allocate a block of memory of an obviously invalid size. Even www.gentoo.org shows this problem; if I go to it on my system (using both my old firefox profile and a perfectly clean, new one), the browser immediately aborts. Reproducible: Always Steps to Reproduce: 1. Go to http://www.gentoo.org/ in Mozilla Firefox 1.0pre amd64. The same problem happens with quite a few other sites, as well. An example of one that does not abort would be http://www.adultswim.com/ (though some pages on that site do abort). Actual Results: The browser window immediately disappears. In the console, the following error message shows up: Glib-ERROR **: could not reallocate 34359738368 bytes aborting... /usr/bin/firefox: line 385: 13430 Aborted $mozbin "$@" Expected Results: It should have kept running.... mozilla-firefox was emerged with USE="-gtk2". emerge info: Gentoo Base System version 1.4.16 Portage 2.0.50-r11 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2. 6.8-gentoo-r4) ================================================================= System uname: 2.6.8-gentoo-r4 x86_64 5 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/ share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/ texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/ platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://mirrors.tds.net/ gentoo http://mirrors.tds.net/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib alsa amd64 apm audiofile avi berkdb bitmap-fonts bonobo cdparanoia crypt divx4linux doc dvd edl emacs encode ex foomaticdb gdbm gif gnome gtk gtk2 gtkhtml guile imlib java javascript joystick jpeg libg++ libwww mad md5sum mikmod mng mpeg multilib ncurses network nls nogcj nptl objc oggvorbis opengl oss pam pdflib perl pg-hier png postgres python qt quicktime readline rtc samba sdl slang spell ssl stroke svg tcltk tcpd tetex tga tiff truetype wmf xml xml2 xmms xprint xv xvid zlib"
I can confirm that the aborts go away if I build firefox with USE="gtk2". Running it using gtk1 (i.e., -gtk2) results in aborts. I'm using gtk+ 2.4.9-r1 and 1.2.10-r11.
GTK+ 1.2 is unmaintained and we're actually exploring removing support for this toolkit from Mozilla. Please build Mozilla with GTK+ 2.x.
Unmaintainable toolkit.