Red Hat Bugzilla – Bug 437270
FF3 starts 32bit instead of 64bit when both are installed
Last modified: 2009-01-28 04:17:58 EST
Description of problem:
Running "firefox" starts the 32bit version instead of the 64bit. ps shows that
/usr/lib/firefox-3.0b4pre/firefox is running.
Further investigation shows that:
Couldn't load XPCOM.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run "firefox"
2. Use ps to check which process is running 32bit or 64 bit
2. Run /usr/lib64/firefox-3.0b4pre/firefox
32bit version of program running instead of 64bit. If 32bit is not installed the
program will not start at all.
64bit version starts.
Both 32 and 64 bit packages of FF are installed from the RHEL5.2 beta x86_64 repo.
32bit version of program running instead of 64bit when both are installed. If
32bit is not installed the 64 bit version runs successfully.
I've had firefox-3.0-0.beta3.4.el5, and i've right now updated to snapshot-1
version (beta4.1.el5) on x86_64 system.
"firefox" launched the 64bit version - worksforme.
If it tried running /usr/lib/firefox-3.0b4pre/firefox, it exited with the same
error (Couldn't load XPCOM.); However if you export MOZ_GRE_CONF correctly it'll
I guess your /usr/bin/firefox launching 32b ff is just something misconfigured
on your machine, or rpm multilib fun. You have been experimenting with flash,
I don't think this is related to Flash. When I have both ff.i386 and ff.x86_64
installed the 64bit wouldn't start. same as you had with the 32bit one.
I guess they don't need to be installed both (and 32bit being present mainly
because of flash).
Please provide the xulrunner version and arch
xulrunner-1.9-0.beta4.1.el5 both i386 and x86_64 are installed
/usr/bin/firefox should take care of setting MOZ_GRE_CONF...
So, you have both 32 and 64 bit xulrunner and only 32bit firefox installed? Hm,
I had both firefox and xulrunner i386 and x86_64 in the beginning (i.e. when I
filed the bug report). Removing firefox.i386 made it possible for me to run
firefox.x86_64 without getting the error mentioned in comment #0.
Do you need me to retest this on a fresh install and what cases you'd like to
see tested (i.e. what installed and what not)?
1) Install RHEL 5.2 snapshot #1
2) yum install firefox xulrunner (will install both i386 and x86_64 packages)
$ firefox - starts 64bit FF (check with ps that
/usr/lib64/firefox-3.0b5pre/firefox is running)
$ /usr/lib/firefox-3.0b5pre/firefox - starts 32bit FF without error
$ /usr/lib64/firefox-3.0b5pre/firefox - Couldn't load XPCOM (fails to start)
The results are opposite to comment #0 wrt 64bit not starting when you run
"firefox" but the error "Couldn't load XPCOM" is consistent.
I would suspect there is something wrong because the behavior of binaries under
/usr/$lib_dir/$ff_dir is not the same.
Please attach output of:
sh -x firefox
setarch i386 sh -x firefox
Created attachment 298506 [details]
output of sh -x firefox
Created attachment 298507 [details]
output of setarch i386 sh -x firefox
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
Taking this one.
Is this still happening? It really shouldn't be. Possibly a corrupt rpmdb? The output in the attachemnts look correct: on a 64bit machine, running firefox by execs the version in /usr/lib64 and setarch i386 firefox execs the version in /usr/lib ...
Can't reproduce. 64bit version starts as expected.