Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132612 - Mozilla / Mozilla Firefox segfaults on startup
Summary: Mozilla / Mozilla Firefox segfaults on startup
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 132626 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-07 13:55 UTC by Tomas Cohen Arazi
Modified: 2006-05-07 18:33 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 Cohen Arazi 2006-05-07 13:55:32 UTC
I've tried emerging several versions of the Mozilla Firefox and none worked. Everyone died segfaulting. I removed .mozilla/ dir just in case everytime I tried to run it.

Currently I've installed www-client/mozilla-firefox-1.5.0.3 (tried older too, and yes, I've tried with the binary ebuild).

When I run '/usr/lib/mozilla-firefox/firefox-bin' and try to open slashdot.org it dies after a few seconds arguing a segmentation fault. 'echo $?' says '139' (always the same error number).

The Mozilla Suite also presents random crashes but I couldn't manage to reproduce it.

I have this relevant packages installed:

www-client/mozilla-launcher-1.51
www-client/mozilla-firefox-1.5.0.3
www-client/mozilla-1.7.13
net-libs/gecko-sdk-1.7.13

I recompiled mozilla-firefox after upgrading the mozilla suite (and gecko-sdk).

They were compiled using (freetype was recompiled with these CFLAGS too following instructions in a gentoo forum thread)

CFLAGS="-march=athlon-xp -O2 -pipe"
CXXFLAGS="-march=athlon-xp -O3 -pipe"

Here's my emerge --info

Portage 2.1_pre10-r3 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r2, 2.6.16-gentoo-r6 i686)
=================================================================
System uname: 2.6.16-gentoo-r6 i686 AMD Sempron(TM) 2400+
Gentoo Base System version 1.12.0_pre19
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -s -ftree-vectorize -fomit-frame-pointer -momit-leaf-frame-pointer -fprefetch-loop-arrays -floop-optimize2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -s -ftree-vectorize -fomit-frame-pointer -momit-leaf-frame-pointer -fprefetch-loop-arrays -floop-optimize2 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/ ftp://gentoo.chem.wisc.edu/gentoo/"
LINGUAS="es-AR es-ES en es"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X Xaw3d a52 aac aalib acl acpi aim akode alsa amarok amuled apache2 apm aqua_theme arts asf avalon avi bash-completion berkdb big-tables bitmap-fonts bootsplash browserplugin bzip2 cairo calendar carbone_theme ccache cdb cddb cdparanoia cdr cgi chroot clamav cli cracklib crypt css ctype cups curl dbus directfb dri dts dvd dvdr dvdread effects emacs emboss encode esd exif expat exscalibar fame fbcon fbdev ffmpeg fftw firefox flac flash foomaticdb fortran ftp gd gdbm gecko-sdk geoip gif gimp gimpprint glgd glibc-omitfp glitz glut glx gmail gmp gnome gnutls gphoto2 gpm gs gstreamer010 gtk2 hal haskell hfs hpn iconv icq id3 idn ieee1394 imagemagick imap imlib imlib2 inkjar innodb insecure-savers iproute2 isdnlog j2ee jack java javascript jce jfs joystick jpeg jpeg2k junit kcal kde kdepim kerberos kexi kipi krb4 lame latex lcms ldap libcaca libclamav libg++ libsamplerate libvisual libwww lirc lm_sensors logrotate lzo mad maildir maps matroska mhash mikmod mime mjpeg mmx mmxext mng mono motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer mpm-worker msn msnextras musepack music musicbrainz mysql mythtv nas ncurses netbeans nls nptl nptlonly nsplugin ntfs nvidia objc ofx ogg openal openexr opengl openssl oss pam pascal pcntl pcre pdf pdflib pear perl perlsuid php pic plugin png posix postgres povray pppd python qmail qt qt4 quicktime quotas rar rdesktop readline real reflection reiserfs remote rpc rtc ruby samba sametime scanner scp sdl sensord server servlet-2.4 session slang soap sockets sou sounds spamassassin speex spell spl sql sqlite sqlite3 sse sse-filters ssl struts subp subtitles subversion svg svga svgz sysvipc t1lib tcltk tcpd tetex theora thesaurus threads tidy tiff tokenizer tools transcode truetype truetype-fonts type1 type1-fonts udev unicode usb userlocales v4l v4l2 vcd vcdimager vfat video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vmware videos virus-scan visualization vlm vorbis vorbis-psy win32codecs winbind wma wma123 wmf wxgtk1 wxwindows xanim xcomposite xft xine xml xml2 xmlreader xmlrpc xmlwriter xorg xosd xrandr xscreensaver xsl xslt xv xvid xvmc yahoo yaz yv12 zip zlib zvbi elibc_glibc input_devices_keyboard input_devices_mouse input_devices_vmmouse kernel_linux linguas_es-AR linguas_es-ES linguas_en linguas_es userland_GNU video_cards_apm video_cards_v4l"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-07 14:07:36 UTC
That's what you usually get when using insane C[XX]FLAGS. :P
Comment 2 Jory A. Pratt 2006-05-07 15:01:05 UTC
Tone down the CFLAGS and CXXFLAGS and then open a bug until then you want to live on the edge you are on your own.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-05-07 16:10:32 UTC
*** Bug 132626 has been marked as a duplicate of this bug. ***
Comment 4 Tomas Cohen Arazi 2006-05-07 18:33:40 UTC
(In reply to comment #2)
> Tone down the CFLAGS and CXXFLAGS and then open a bug until then you want to
> live on the edge you are on your own.

Firefox was compiled with very conservative flags (-O2 -pipe), I assume you mean I have to tone down the flags of my whole system.

What would you recommend? I've seen that firefox's ebuild add's visibility stuff which I thougt was more risky than mine.