Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firefox won't start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
rkfsm
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2005
Posts: 100
Location: Charleston, SC, USA

PostPosted: Fri May 06, 2011 9:54 am    Post subject: Firefox won't start Reply with quote

Hi,

If I download Firefox from the website and run it from my home directory, everything runs fine.

If I emerge firefox, it does not run. There are no error messages or any other symptom. There is just no window.

Code:

$ emerge --info

Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.5, libc-0-r0, 2.6.36-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.36-gentoo-r8-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-1.12.14
Timestamp of tree: Mon, 02 May 2011 20:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.11.3
virtual/os-headers:  0
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -march=k8 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.mirrors.hoobly.com/ http://mirror.datapipe.net/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aalib acl amr berkdb bidi bl bluetooth bs2b bzip2 cairo cdda cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus device-mapper dga directfb dri dvb dvdr esd extras fbcon fontconfig fortran ftp gdbm gdu ggi gif gnome gnome-keyring gphoto2 gpm gsm gtk iconv ios ipv6 jack jadetex java joystick jpeg jpeg2k ladspa libcaca libmpeg2 lir modules mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl png policykit pppd python readline samba session sqlite ssl static-libs sysfs tcpd tk truetype unicode x86 xinerama xorg zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vesa nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
yoshi314
l33t
l33t


Joined: 30 Dec 2004
Posts: 850
Location: PL

PostPosted: Fri May 06, 2011 11:13 am    Post subject: Reply with quote

try running firefox from terminal, e.g. xterm.

might be a linking bug in xulrunner caused by updates.
_________________
~amd64
shrink your /usr/portage with squashfs+aufs
Back to top
View user's profile Send private message
rkfsm
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2005
Posts: 100
Location: Charleston, SC, USA

PostPosted: Fri May 06, 2011 5:34 pm    Post subject: Reply with quote

I did. There's no error. It's also a new install.

Also, it is not crashing. It is terminating normally before it shows a window.

Code:


$ firefox -h
Usage: firefox [ options ... ] [URL]
       where options include:

X11 options
   --display=DISPLAY      X display to use
   --sync      Make X calls synchronous
   --no-xshm      Don't use X shared memory extension
   --xim-preedit=STYLE
   --xim-status=STYLE
   --g-fatal-warnings      Make all warnings fatal

Firefox options
   -h or -help      Print this message.
   -v or -version      Print Firefox version.
   -P <profile>      Start with <profile>.
   -migration      Start with migration wizard.
   -ProfileManager      Start with ProfileManager.
   -no-remote      Open new instance, not a new window in running instance.
   -UILocale <locale>   Start with <locale> resources as UI Locale.
   -safe-mode      Disables extensions and themes for this session.
  -jsconsole           Open the Error console.
  -browser            Open a browser window.
  -private            Enable private browsing mode.
  -setDefaultBrowser   Set this app as the default browser.
$ firefox
$ firefox -safe-mode
$ firefox && echo "It returned a zero"
It returned a zero
$ firefox --Iamnotavalidoption
$

Back to top
View user's profile Send private message
rkfsm
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2005
Posts: 100
Location: Charleston, SC, USA

PostPosted: Wed May 25, 2011 11:42 pm    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
gentoo_ram
Guru
Guru


Joined: 25 Oct 2007
Posts: 475
Location: San Diego, California USA

PostPosted: Thu May 26, 2011 6:48 am    Post subject: Reply with quote

Trying running it with strace to see if you can get a clue based on the output. Also, check the 'ps' output and make sure you don't have old firefox processes hanging out in the background. That could prevent you from running a new one.
Back to top
View user's profile Send private message
rkfsm
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2005
Posts: 100
Location: Charleston, SC, USA

PostPosted: Mon May 30, 2011 11:34 pm    Post subject: Reply with quote

The program exits with an exit code of zero, so there's no output. I have also made sure that there's no other instances running.
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 558
Location: uk

PostPosted: Tue May 31, 2011 9:09 am    Post subject: Reply with quote

Relating to Yoshi314's post, have you run
Code:
revdep-rebuild -p
to confirm that linking is consistent?
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 541
Location: Germany

PostPosted: Wed Jun 01, 2011 7:28 am    Post subject: Reply with quote

And don't forget to check which program is actually executed when you call "firefox".
Back to top
View user's profile Send private message
soth
Apprentice
Apprentice


Joined: 12 Sep 2003
Posts: 207

PostPosted: Thu Oct 06, 2011 7:40 pm    Post subject: Reply with quote

I got the exact same behavior.
strace does not render anything useful from what I can tell. I can see that preferences is being read and soon after it unlinks the lock file and then exits.
I tried revdep-rebuild and reemerged both firefox and xulrunner.
Code:

www-client/firefox-3.6.20  USE="alsa dbus ipc java libnotify -bindist -custom-cflags -custom-optimization -debug -gnome -startup-notification -system-sqlite -wifi"


Also tried to remove my ~/.mozilla directory.
Tried to start as root.

Code:

user@hostl ~ > which firefox
/usr/bin/firefox
user@host ~ > ls -l /usr/bin/firefox
lrwxrwxrwx 1 root root 26 okt  6 21:24 /usr/bin/firefox -> /usr/lib64/firefox/firefox
user@host ~ > file /usr/lib64/firefox/firefox
/usr/lib64/firefox/firefox: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped


Seems the lads over herehttps://forums.gentoo.org/viewtopic-t-893300-start-0.html have found a solution.
_________________
- Never argue with an idiot. They just drag you down to your level and beat you with experience.

Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
soth
Apprentice
Apprentice


Joined: 12 Sep 2003
Posts: 207

PostPosted: Thu Oct 06, 2011 8:15 pm    Post subject: Reply with quote

-mno-avx is indeed the fix.
_________________
- Never argue with an idiot. They just drag you down to your level and beat you with experience.

Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum