Version-Release number of selected component (if applicable): firefox-4.0-0.14b10.fc15.i686 How reproducible: Always Additional info: hicham@hicham-laptop ~/rpmbuild/SPECS $ firefox -g MOZILLA_FIVE_HOME=/usr/lib/firefox-4 LD_LIBRARY_PATH=/usr/lib/firefox-4:/usr/lib/firefox-4/plugins:/usr/lib/firefox-4 DISPLAY=:0.0 FONTCONFIG_PATH=/etc/fonts:/usr/lib/firefox-4/res/Xft DYLD_LIBRARY_PATH=/usr/lib/firefox-4:/usr/lib/firefox-4 LIBRARY_PATH=/usr/lib/firefox-4:/usr/lib/firefox-4/components:/usr/lib/firefox-4 SHLIB_PATH=/usr/lib/firefox-4:/usr/lib/firefox-4 LIBPATH=/usr/lib/firefox-4:/usr/lib/firefox-4 ADDON_PATH=/usr/lib/firefox-4 MOZ_PROGRAM=/usr/bin/xulrunner MOZ_TOOLKIT= moz_debug=1 moz_debugger= moz_debugger_args= /usr/lib/firefox-4/run-mozilla.sh: line 116: type: ddd: not found /usr/bin/gdb --args /usr/bin/xulrunner /usr/lib/firefox-4/application.ini GNU gdb (GDB) Fedora (7.2.50.20110206-18.fc15) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... "/usr/bin/xulrunner": not in executable format: File format not recognized
a quick fix is to change : MOZ_PROGRAM="/usr/bin/xulrunner $MOZ_DIST_BIN/$MOZ_FIREFOX_FILE" to MOZ_PROGRAM="$MOZ_XUL_DIR/xulrunner-bin $MOZ_DIST_BIN/$MOZ_FIREFOX_FILE" in firefox.sh.in
Yes, can easily reproduce with firefox-4.0-0.16.b11.fc16.x86_64 and xulrunner-2.0-0.21.b11.fc16.x86_64
@Matej, Can you confirm that what I suggested fixes the issue for you ?
You should place the fix to /usr/bin/xulrunner script.
Unfortunately the fix is not so straightforward. If we launch firefox as pure xul application (by /usr/bin/xulrunner /usr/lib/firefox/firefox.ini) we have to define the firefox.ini file as an argument in gdb as well. It would be better to revert the prelink fix and build the ff executable stub instead of copying it from xulrunner dir.
Hm, we need to use the xulrunner stub as a launcher. I tried to use the firefox binary but it fails to register xpcom components from firefox dir. Chris, are you interested in patch which builds xulrunner stub as a part of firefox package? The XulStub builds fine with firefox, it just needs some makefile adjustments and packaging work.
Can't it build as part of the XR package?
(In reply to comment #4) > You should place the fix to /usr/bin/xulrunner script. Any reason for that ?
(In reply to comment #7) > Can't it build as part of the XR package? Not when we build ff/xl as separate packages. It causes the prelink breakage. > Any reason for that ? The fix from comment 1 does not work for us, see my comment 5.
(In reply to comment #9) > > Any reason for that ? > The fix from comment 1 does not work for us, see my comment 5. Obviously I tested it and it works for me
Try to add some argument to gdb command line. For instance a different profile, a web page you can load or something else. like: (gdb) r -P test_profile -no-remote which is widely used by firefox developers.
firefox-4.0.1-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/firefox-4.0.1-2.fc15
Package firefox-4.0.1-2.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing firefox-4.0.1-2.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/firefox-4.0.1-2.fc15 then log in and leave karma (feedback).
firefox-4.0.1-2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.