Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285365 - mozilla-firefox segfaults at launch (both 3.5.2 & .3)
Summary: mozilla-firefox segfaults at launch (both 3.5.2 & .3)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-17 21:20 UTC by shipman
Modified: 2010-09-06 13:34 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of "strace firefox" (firedie.txt,421.05 KB, text/plain)
2009-09-22 20:51 UTC, shipman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shipman 2009-09-17 21:20:47 UTC
after running --sync, and --update system, carefully stepping through --update world (so I could know better what was changing) firefox 3.5.2 stopped running.

 Doing some searching, I found references to revdep-rebuild, and I've since (been three days now) upgraded / rebuild / unmerged+re-emerged 3.5.3, including more mild CFLAGS (even though they worked last week) and found that nothing changed. 'emerge --update --deep world' and revdep-rebuild both claim I'm completely up to date with this morning's --sync.

 I'm connecting remotely but have tried launching locally at the console and get the same result in an xterm window as below:

output (on puTTY) is something like this:
 -- --
Xlib:  extension "Generic Event Extension" missing on display "localhost:5.0".
Xlib:  extension "Generic Event Extension" missing on display "localhost:5.0".
Xlib:  extension "Generic Event Extension" missing on display "localhost:5.0".
Xlib:  extension "Generic Event Extension" missing on display "localhost:5.0".
Registering '@mozilla.org/module-loader/python;1' (libpyloader.so)
Registering '@mozilla.org/network/protocol/about;1?what=python' (pyabout.py)
Segmentation fault
 ---
Comment 1 shipman 2009-09-17 21:21:40 UTC
FYI, and HTH ....

Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 17 Sep 2009 17:45:01 +0000
app-shells/bash:     4.0_p33
dev-lang/python:     2.6.2-r1, 3.1.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.arcticnetwork.ca/ http://mirror.its.uidaho.edu/pub/gentoo/ http://gentoo.osuosl.org/ http://gentoo.llarian.net/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aac aalib acl acpi apache2 bzip2 cli cracklib crypt dbus dri ffmpeg foomaticdb ftp gdbm ggi gif gmp gnutls imlib ipv6 jpeg libedit libwww loop-aes lzo mad mbox mmx mudflap ncurses nls nptl nptlonly offensive ogg openal opengl openmp pam pcre perl php png pppd python reflection samba sasl session sharedmem spl sse sse2 ssl svg svga sysfs sysvipc tcl tcpd threads tiff unicode usb x86 xattr xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2009-09-19 21:28:00 UTC
can you get a stack trace ?
Comment 3 shipman 2009-09-22 20:51:46 UTC
Created attachment 204974 [details]
output of "strace firefox"

ran strace locally from an xterm on the machine in question. As I said, it used to work until I updated everything. And my AMD64 machine at home runs 3.5.3 successfully, and I didn't do anything different ....
Comment 4 shipman 2009-09-22 21:04:02 UTC
I've attached the output of strace ... HTH
Comment 5 Jory A. Pratt gentoo-dev 2009-09-23 12:35:56 UTC
Please run revdep-rebuild --library libnss3.so.12 you most likely have a link error that normal revdep-rebuild will not find. run the above command and post back please.
Comment 6 shipman 2009-09-23 18:30:24 UTC
Nope. no change.

~ # revdep-rebuild --library libnss3.so.12
* Configuring search environment for revdep-rebuild

* Checking reverse dependencies
* Packages containing binaries and libraries using libnss3.so.12
* will be emerged.

* Collecting system binaries and libraries
* Generated new 1_files.rr
* Checking dynamic linking
[ 100% ]

* There are no dynamic links to libnss3.so.12... All done.
Comment 7 Eduardo Suarez-Santana 2009-10-20 20:38:27 UTC
I had a similar problem, so I run firefox in a gdb environment. Doing a backtrace (bt) after the segfault I realized it was an incompatibility with gnome-globalmenu.

Perhaps it helps.
Comment 8 shipman 2009-10-20 20:50:53 UTC
sorry, no ... I don't have gnome anything, or kde. USE='-gnome -kde' among others; however perhaps there's something about XFCE that was remade into incompatibility. Will search further
Comment 9 Wormo (RETIRED) gentoo-dev 2009-10-21 06:43:52 UTC
Can you get a gdb backtrace as suggested?
Comment 10 shipman 2009-10-21 18:08:58 UTC
//after rebuilding with USE=debug:


Program received signal SIGSEGV, Segmentation fault.
0xb676c4a7 in ?? () from /usr/lib/libfontconfig.so.1

(gdb) bt

#0  0xb676c4a7 in ?? () from /usr/lib/libfontconfig.so.1
#1  0xb3752c60 in ?? ()
#2  0xb3752c60 in ?? ()
#3  0xb15c0400 in ?? ()
#4  0xb6568ff4 in ?? () from /usr/lib/libgobject-2.0.so.0
#5  0x00000001 in ?? ()
#6  0xb6568ff4 in ?? () from /usr/lib/libgobject-2.0.so.0
#7  0x00000001 in ?? ()
#8  0xb653ecf5 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#9  0x00000080 in ?? ()
#10 0xb7b7a1fc in ?? ()
#11 0xbfff7f0c in ?? ()
#12 0xb7fc1e87 in pthread_mutex_lock () from /lib/libpthread.so.0
#13 0x00000000 in ?? ()
Comment 11 Sujeet Akula 2009-11-27 20:33:41 UTC
I have this problem too, but for me firefox-bin seems to work (for the most part). Also, I have noticed that firefox (not bin) seems to crash while loading GMail at least, but possibly others. I have so far not noticed it crashing without launching GMail, in particular, it crashes right after the GTalk applet on the left loads.
Comment 12 Jory A. Pratt gentoo-dev 2010-09-06 13:34:39 UTC
It has been almost a year since last post, please reopen if you can produce with latest stable.