Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56484 - mozilla-firefox-bin (0.9-r1, 0.9.1, and 1.0_pre-r1) do not load properly under fluxbox (locally built versions do)
Summary: mozilla-firefox-bin (0.9-r1, 0.9.1, and 1.0_pre-r1) do not load properly unde...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Commonbox Team
URL:
Whiteboard:
Keywords:
: 84310 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-08 13:46 UTC by P Nienaber
Modified: 2005-03-30 09:04 UTC (History)
3 users (show)

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 P Nienaber 2004-07-08 13:46:49 UTC
starting firefox results in the usual half-dozen threads (which stay there until I kill them, but NO WINDOW.  I've tried blowing away ~/.[mozilla|phoenix|gconf*|gnome*] to no avail... firefox-bin-0.8* works just fine, as does the copy of 0.9.1 that I just built.  Suspect something weird w/ what the -bin version is built against vs. my system.  Someone else I know is having the same problems; I will try to get him to post here too.  Also note that this USED to work fine, so it's very very likely an issue w/ what firefox is linking against as far as libs go...

Reproducible: Always
Steps to Reproduce:
1.  emerge -v =net-www/mozilla-firefox-bin-0.9[-r1 or .1]
2.  firefox
3.  ps aux |grep fox  (oh look a bunch of firefox-bin threads)

Actual Results:  
processes, no browser window.

Expected Results:  
something to go look at educational photography with.  no, really...

Portage 2.0.50-r8 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040605-r0,
2.6.7-gentoo-r8)
=================================================================
System uname: 2.6.7-gentoo-r8 x86_64 5
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
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="X aac aim alsa amd64 apm avi berkdb cddb cdr crypt cups dvd dvdr encode
fbcon flac foomaticdb gdbm gif gimpprint gpm gtk gtk2 imap imlib javascript
joystick jpeg kerberos libg++ libwww mad mikmod motif mozilla mpeg ncurses nls
oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang
spell ssl tcpd threads tiff truetype xml2 xmms xv xvid zlib ~arch"
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-08-05 04:54:28 UTC
How about 0.9.3?  What happens when you specify a URL on the cmdline?

firefox-bin http://google.com/
Comment 2 P Nienaber 2004-08-05 13:35:39 UTC
Same deal.  Here are some stdout errors I never noticed before, though (there's also some stuff about not being able to load various modules, which is expected, because for ex. I have no 32-bit java):

/opt/firefox/mozilla-xremote-client: Error: Failed to find a running server.
No running windows found

(firefox-bin:1020): Gdk-WARNING **: locale not supported by Xlib

(firefox-bin:1020): Gdk-WARNING **: can not set locale modifiers


This, of course, seems to have a LOT to do with what's going wrong.  I wish I'd picked this one out of the crowd sooner :x
Comment 3 Christopher O'Neill 2004-08-08 13:10:28 UTC
I am also experiencing problems with firefox-bin (also running fluxbox although not convinced that's the problem).  Firefox-bin sometimes works properly, but most of the time it loads but with no windows.  Also, from the network activity it appears to be loading the pages ok.  System is x86_64.
Comment 4 P Nienaber 2004-08-08 13:12:15 UTC
Christopher:  does 0.8* work fine for you, too?  might be a good reference point for finding the obvious behavioral differences and correcting them in 0.9*
Comment 5 Christopher O'Neill 2004-08-08 13:22:11 UTC
firefox-bin-0.8 appears to run normally (apart from the usual character set conversion errors - see below).

$ firefox-bin
No running windows found

(firefox-bin:10454): Gdk-WARNING **: locale not supported by Xlib

(firefox-bin:10454): Gdk-WARNING **: can not set locale modifiers

(firefox-bin:10454): Gdk-WARNING **: Error converting from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported

(last error message repeated several times)

These error messages are displayed on v0.9x too.
Comment 6 Jason Toffaletti 2004-08-30 00:13:15 UTC
I get this:

Failed to load Pango module for id: 'BasicScriptEngineFc'
** (firefox-bin:2770): WARNING **: /usr/lib32/pango/1.4.0/modules/pango-basic-fc.so: cannot open shared object file: No such file or directory
Failed to load Pango module for id: 'BasicScriptEngineFc'
(firefox-bin:2770): GLib-GObject-CRITICAL **: file gobject.c: line 1561 (g_object_ref): assertion `G_IS_OBJECT (object)' failed

** (firefox-bin:2770): CRITICAL **: file pango-engine.c: line 68 (_pango_engine_shape_shape): assertion `PANGO_IS_FONT (font)' failed

** ERROR **: file shape.c: line 75 (pango_shape): assertion failed: (glyphs->num_glyphs > 0)
aborting...
/usr/bin/firefox: line 87:  2770 Aborted                 $mozbin "$@"
Comment 7 P Nienaber 2004-09-11 18:09:39 UTC
this appears to work again as of xorg-x11-6.8.0 but I'm not 100% sure if that's WHAT made it work.  haven't tried it in a while.  if anyone feels like testing, go nuts.  I will when I have time.
Comment 8 P Nienaber 2004-09-19 12:36:12 UTC
Certain fluxbox styles appear to break it.  Artwiz for example, which I was using when I first encountered this problem.  I'm currently using a third-party style called crx-alpha, which appears to work just fine with firefox.  Weird :)
Comment 9 P Nienaber 2004-10-24 14:11:50 UTC
Verified that this is STILL broken with 1.0_pre-r1.
Comment 10 Sam Smith 2004-10-29 00:33:54 UTC
Having similar problems, with error messages as detailed in http://forums.gentoo.org/viewtopic.php?t=241477.

The interaction between fluxbox and firefox seems to be the culprit, as a test-switch to openbox got firefox to start up.  But openbox isn't pretty.
Comment 11 Eythor Kristleifsson 2004-11-03 13:40:00 UTC
I tried locally building a 32-bit binary in a 32-bit chroot environment.  It had the same problems as the precompiled versions.  A trick fix of mine had been to:
1.start firefox
2.killall firefox-bin
3.restart fluxbox 
4.run firefox
That usually did the job for me.

But I think I may have found a more perminant solution.  I was playing with my theme the other day and added

window.borderWidth:     1
window.borderColor:     #999999

to the theme file.  Since then firefox has started without a hitch.  Someone should check out if this also works for them.  It could be a clue as to what is causing the problem.
Comment 12 Aron Griffis (RETIRED) gentoo-dev 2004-11-13 16:44:45 UTC
Doesn't sound like a firefox problem, rather a fluxbox issue.  Re-assigning
Comment 13 Ciaran McCreesh 2004-11-14 11:32:14 UTC
Yeah, fluxbox 0.9.10 has font 'issues' if you have antialiasing enabled and if you're using fonts with broken encodings (artwiz, for example). Upstream know about it and are going to fix it before the next release.
Comment 14 Tim Leslie 2005-03-12 18:26:18 UTC
*** Bug 84310 has been marked as a duplicate of this bug. ***
Comment 15 active 2005-03-30 08:42:20 UTC
Using deepblue theme, I tried the solution from Eythor. Nothing happens, always the same error, both mozilla-bin and firefox-bin start but the main window doesn't appear.

Fluxbox 0.9.12-r1
Firefox-bin 1.0.2
Mozilla-bin 1.7.6-r1
Comment 16 P Nienaber 2005-03-30 09:04:53 UTC
Mozilla-bin works fine with my 0.9.10-r4 (seemingly regardless of theme).  Supposedly the newer version (.12) also doesn't play nice with native (64-bit) firefox either, so I haven't even bothered trying.  You may want to try downgrading for the time being.