After I emerged Firefox 1.0.1, I cannot launch it; when I attempt, I get the following: No running windows found firefox-bin exited with non-zero status (1) If I delete ~/.mozilla (to make sure no old extensions or configuration interferes), I get this: No running windows found /usr/bin/firefox: line 95: 14290 Segmentation fault $mozbin "$@" firefox-bin exited with non-zero status (139) Tried remerging, unmerging and deleting /usr/lib/MozillaFirefox altogether and remerging, all to no avail. Reproducible: Always Steps to Reproduce: 1. emerge firefox 2. firefox Actual Results: Firefox fails to launch, complaining that "No running windows found" Expected Results: Successful program launch Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20050125- r1, 2.6.11.4 x86_64) ================================================================= System uname: 2.6.11.4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 17 2005, 22:29:41)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r6 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -frename-registers -fweb -funit-at-a-time -fomit-frame- pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/ 3.3/env:/usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/ kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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="-march=k8 -O2 -frename-registers -fweb -funit-at-a-time -fomit-frame- pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="ftp://206.167.194.132:2121/pub/gentoo ftp://cs.ubishops.ca:2121/ pub/gentoo http://mirror.datapipe.net/gentoo" LDFLAGS="-Wl,-O1,-z,now" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 S3TC X aac aalib acpi alsa apache2 avi berkdb bitmap-fonts cdr crypt cups curl dba divx4linux doc dts dvd esd ex fam ffmpeg flac font-server foomaticdb fortran gd gdbm gif gimp gimpprint gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib java jp2 jpeg junit jython kdeenablefinal libwww live lzo lzw lzw-tiff mad matroska mikmod mmap mng motif moznocompose moznoirc moznomail mozsvg mp3 mpeg multilib music native ncurses network nls nptl nptlonly offensive ogg oggvorbis openal opengl pam pdflib perl php png postgres ppds python qt quicktime radeon readline real samba scanner sdl session silc slang spell ssl svg tcltk tcpd tetex theora threads tiff transcode truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 vcd vorbis wmf wxwindows xchatdccserver xchattext xine xml xml2 xmms xpm xrandr xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Emerging the latest Mozilla shows that the same thing happens with Mozilla proper as with Firefox. I also forgot to mention that I have tried unmerging mozilla-launcher and emerging all three versions (1.22, 1.23, 1.26) presently in Portage to no avail.
When you run mozilla from the command line, which user are you using? Are you root by any chance? If so, try with the owner of the X session.
I've tried both, and whether I run as root or as the user that owns the X session, I get the exact same result.
I got the similar problem here. Starting from firefox 1.0.1, no window would be created. Unlike the problem Petter had, I tried deleting ~/.mozilla, the non-zero status is still 1. I took some time recompiling the mozilla-firefox-1.0.2-r1 with the "debug" USE variable enabled. It gives out these info when running "firefox" from commandline. =================================== No running windows found Type Manifest File: /usr/lib/MozillaFirefox/components/xpti.dat nsNativeComponentLoader: autoregistering begins. *** Registering nsBrowserCompsModule components (all right -- a generic module!) nsNativeComponentLoader: SelfRegisterDll(libgklayout.so) Load FAILED with error: /usr/lib/MozillaFirefox/components/libgklayout.so: undefined symbol: cairo_set_target_drawable(_cairo*, _XDisplay*, unsigned long) nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsINIParser.cpp, line 51 WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsINIParser.cpp, line 51 No Persistent Registry Found. Type Manifest File: /root/.mozilla/firefox/298jwpse.default/xpti.dat nsNativeComponentLoader: autoregistering begins. *** Registering NSS components (all right -- a generic module!) *** Registering nsGfxPSModule components (all right -- a generic module!) *** Registering MyService components (all right -- a generic module!) *** Registering mozgnome components (all right -- a generic module!) *** Registering nsBrowserCompsModule components (all right -- a generic module!) *** Registering xpctools components (all right -- a generic module!) *** Registering nsUConvModule components (all right -- a generic module!) *** Registering nsGnomeVFSModule components (all right -- a generic module!) *** Registering nsGfxXprintModule components (all right -- a generic module!) *** Registering nsRDFModule components (all right -- a generic module!) *** Registering nsFileViewModule components (all right -- a generic module!) *** Registering application components (all right -- a generic module!) *** Registering nsI18nModule components (all right -- a generic module!) *** Registering nsUCvMathModule components (all right -- a generic module!) *** Registering nsWidgetGtk2Module components (all right -- a generic module!) *** Registering docshell_provider components (all right -- a generic module!) *** Registering nsImageLib2Module components (all right -- a generic module!) *** Registering nsTestDynamicModule components (all right -- a generic module!) *** Registering embedcomponents components (all right -- a generic module!) *** Registering nsMorkModule components (all right -- a generic module!) *** Registering nsFindComponent components (all right -- a generic module!) *** Registering nsAccessibilityModule components (all right -- a generic module!) *** Registering nsParserModule components (all right -- a generic module!) *** Registering necko_secondary_protocols components (all right -- a generic module!) *** Registering xpconnect_test components (all right -- a generic module!) *** Registering nsEditorModule components (all right -- a generic module!) *** Registering necko_core_and_primary_protocols components (all right -- a generic module!) *** Registering PKI components (all right -- a generic module!) *** Registering nsChromeModule components (all right -- a generic module!) *** Registering nsXMLExtrasModule components (all right -- a generic module!) *** Registering nsAutoConfigModule components (all right -- a generic module!) *** Registering TransformiixModule components (all right -- a generic module!) *** Registering nsToolkitCompsModule components (all right -- a generic module!) *** Registering nsInspectorModule components (all right -- a generic module!) *** Registering xpcomObsoleteModule components (all right -- a generic module!) *** Registering nsSampleModule components (all right -- a generic module!) nsNativeComponentLoader: SelfRegisterDll(libgklayout.so) Load FAILED with error: /usr/lib/MozillaFirefox/components/libgklayout.so: undefined symbol: cairo_set_target_drawable(_cairo*, _XDisplay*, unsigned long) *** Registering Browser_Embedding_Module components (all right -- a generic module!) *** Registering JavaScript_Debugger components (all right -- a generic module!) *** Registering nsGfxGTKModule components (all right -- a generic module!) *** Registering BOOT components (all right -- a generic module!) *** Registering nsCJVMManagerModule components (all right -- a generic module!) *** Registering nsComposerModule components (all right -- a generic module!) *** Registering nsPluginModule components (all right -- a generic module!) *** Registering nsUniversalCharDetModule components (all right -- a generic module!) *** Registering nsJarModule components (all right -- a generic module!) *** Registering nsCookieModule components (all right -- a generic module!) *** Registering xpconnect components (all right -- a generic module!) *** Registering appshell components (all right -- a generic module!) *** Registering XRemoteClientModule components (all right -- a generic module!) *** Registering nsSecurityManagerModule components (all right -- a generic module!) *** Registering nsTransactionManagerModule components (all right -- a generic module!) *** Registering XRemoteServiceModule components (all right -- a generic module!) *** Registering WSPProxyTestModule components (all right -- a generic module!) *** Registering nsSystemPrefModule components (all right -- a generic module!) *** Registering nsWebServicesModule components (all right -- a generic module!) *** Registering nsSoftwareUpdate components (all right -- a generic module!) *** Registering nsPrefModule components (all right -- a generic module!) nsNativeComponentLoader: autoregistering succeeded WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsINIParser.cpp, line 51 WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsINIParser.cpp, line 51 *** Deferring registration of sample JS components nNCL: registering deferred (0) nNCL: registering deferred (0) nNCL: registering deferred (0) *** Registering sample JS components nNCL: registering deferred (0) WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsINIParser.cpp, line 51 nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: SelfRegisterDll(libgklayout.so) Load FAILED with error: /usr/lib/MozillaFirefox/components/libgklayout.so: undefined symbol: cairo_set_target_drawable(_cairo*, _XDisplay*, unsigned long) nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) GFX: dpi=86 t2p=0.0588235 p2t=17 depth=24 ++WEBSHELL == 1 WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsWebShellWindow.cpp, line 327 ###!!! ASSERTION: HiddenWindow not created: 'NS_SUCCEEDED(rv)', file nsAppShellService.cpp, line 486 Break: at file nsAppShellService.cpp, line 486 WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsAppRunner.cpp, line 1826 WARNING: nsExceptionService ignoring thread destruction after shutdown, file nsExceptionService.cpp, line 191 *** Unloading sample JS components nsStringStats => mAllocCount: 4538 => mReallocCount: 1529 => mFreeCount: 4535 => mShareCount: 6569 => mAdoptCount: 1821 => mAdoptFreeCount: 1820 firefox-bin exited with non-zero status (1) =================================================================== x11-libs/cairo-0.3.0-r1 was installed with "glitz" enabled. and my "emerge info" gives: Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.10-nitro4 i686) ================================================================= System uname: 2.6.10-nitro4 i686 Intel(R) Celeron(TM) CPU 1100MHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 9 2005, 11:42:22)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.4_p6, 1.6.3, 1.9.5, 1.5 sys-devel/binutils: 2.15.92.0.2-r6 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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="-march=pentium3 -O3 -fomit-frame-pointer -pipe" DISTDIR="/gentoo/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms" GENTOO_MIRRORS="http://10.8.8.8 http://10.8.8.8/dist-lack ftp://ftp.tsinghua.edu.cn/mirror/gentoo" LDFLAGS="-Wl,-O1,-z,now" MAKEOPTS="-j4" PKGDIR="/gentoo/portage/packages" PORTAGE_TMPDIR="/gentoo/var/tmp" PORTDIR="/gentoo/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://10.8.8.8/gentoo-portage" USE="x86 X aalib adns alsa avi bash-completion berkdb bitmap-fonts bonobo cdr cjk crypt cscope curl emboss encode esd fam flac font-server foomaticdb fortran gdbm gif gnome gphoto2 gstreamer gtk gtk2 guile imagemagick imlib immqt immqt-bc jpeg junit libg++ libwww mad mikmod mmx mp3 mpeg ncurses nls oggvorbis opengl pam pdflib perl png python quicktime readline samba sdl slang speex spell sse ssl tcpd tetex tiff truetype truetype-fonts type1-fonts xml xml2 xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
If this is still an issue please open a new bug report. closing as obsolete.