Closed Bug 242238 Opened 21 years ago Closed 21 years ago

firefox crashes on start

Categories

(Firefox :: Installer, defect)

x86
Linux
defect
Not set
critical

Tracking

()

VERIFIED DUPLICATE of bug 233815

People

(Reporter: getprashman, Assigned: bugs)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 Firefox when started crashes with an error like /usr/lib/firefox/run-mozilla.sh: line 452: 2084 Illegal instruction "$prog" ${1+"$@"} I've enabled set -x and the out put is like (RH 9 , Firefox 0.8) [root@train1 firefox]# firefox + moz_libdir=/usr/local/lib/mozilla-1.6 + MRE_HOME=/usr/local/lib/mre/mre-1.6 + found=0 + progname=./firefox ++ dirname ./firefox + curdir=. + run_moz=./run-mozilla.sh + test -x ./run-mozilla.sh + dist_bin=. + found=1 + '[' 1 = 0 ']' + script_args= + moreargs= + debugging=0 + MOZILLA_BIN=firefox-bin + '[' linux-gnu = beos ']' + '[' 0 -gt 0 ']' + export MRE_HOME + eval 'set -- ' ++ set -- + '[' 0 = 1 ']' + exec ./run-mozilla.sh ./firefox-bin ++ basename /usr/lib/firefox/run-mozilla.sh + cmdname=run-mozilla.sh ++ dirname /usr/lib/firefox/run-mozilla.sh + MOZ_DIST_BIN=/usr/lib/firefox + MOZ_DEFAULT_NAME=./run-mozilla.sh-bin + MOZ_APPRUNNER_NAME=./mozilla-bin + MOZ_VIEWER_NAME=./viewer + MOZ_PROGRAM= + exitcode=0 + moz_debug=0 + moz_debugger= + '[' 1 -gt 0 ']' + break + '[' 1 -gt 0 ']' + MOZ_PROGRAM=./firefox-bin + shift + '[' -z ./firefox-bin ']' + '[' '!' -x ./firefox-bin ']' + MOZILLA_FIVE_HOME=/usr/lib/firefox + '[' -z /usr/local/lib/mre/mre-1.6 ']' + LD_LIBRARY_PATH=/usr/lib/firefox:/usr/lib/firefox/plugins:/usr/local/lib/mre/mre-1.6 + '[' -n '' ']' + '[' -n '' ']' + '[' -n '' ']' + SHLIB_PATH=/usr/lib/firefox:/usr/local/lib/mre/mre-1.6 + LIBPATH=/usr/lib/firefox:/usr/local/lib/mre/mre-1.6 + DYLD_LIBRARY_PATH=/usr/lib/firefox:/usr/local/lib/mre/mre-1.6 + LIBRARY_PATH=/usr/lib/firefox:/usr/lib/firefox/components:/usr/local/lib/mre/mre-1.6 + ADDON_PATH=/usr/lib/firefox + '[' '' = '' ']' + XSUNTRANSPORT=shmem + XSUNSMESIZE=512 + export XSUNTRANSPORT XSUNSMESIZE + '[' '' = '' ']' + '[' -f /etc/init.d/xprint ']' + '[' 0 -eq 1 ']' + export MOZILLA_FIVE_HOME LD_LIBRARY_PATH + export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH + '[' 0 -eq 1 ']' + moz_run_program + prog=./firefox-bin + '[' '!' -x ./firefox-bin ']' + moz_test_binary /bin/type + binary=/bin/type + '[' -f /bin/type ']' + return 0 + '[' 0 -eq 1 ']' ++ which md5sum + crc_prog=/usr/bin/md5sum + '[' -x /usr/bin/md5sum ']' + DEBUG_CORE_FILES=1 + '[' 1 ']' + crc_old= + '[' -f core ']' + ./firefox-bin /usr/lib/firefox/run-mozilla.sh: line 452: 2084 Illegal instruction "$prog" ${1+"$@"} + exitcode=132 + '[' 1 ']' + '[' -f core ']' + '[' '' '!=' '' ']' + exit 132 Reproducible: Always Steps to Reproduce: 1. Install Redhat Work station 2. Download firefox binary 3. Untar in /usr/lib/firefox 4. Run /usr/lib/firefox/firefox Actual Results: /usr/lib/firefox/run-mozilla.sh: line 452: 2084 Illegal instruction "$prog" ${1+"$@"} Expected Results: Launched firefox No core file
Update: Interestingly if I edit run_mozilla.sh like this # "$prog" ${1+"$@"} /usr/lib/firefox/firefox ${1+"$@"} then it works fine. The problem is that - $prog is being passed as ./firefox ${1+"$@"} which firefox does not like ?? It only likes the full path. Now why is full path not being passed??
Pls ignore my previous info. It still does not work after editing those lines. The re is a problem with the binary,
Give the gtk2 build a try, I hear this works for those who have problems with the gtk1 build. *** This bug has been marked as a duplicate of 233815 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
QA Contact: bugzilla → installer
You need to log in before you can comment on or make changes to this bug.