[Bug 551070] [NEW] firefox -g option broken: Tries to run shell script under gdb

jimav james_avera at yahoo.com
Mon Mar 29 17:29:34 UTC 2010


Public bug reported:

Binary package hint: firefox

firefox -g (or --debug) is supposed to run the binary executable under
gdb to allow debugging.

However, it runs gdb on /usr/lib/firefox-3.6/firefox, which is a shell
script, not an executable.

Here is the console output:

$ firefox --help
...
Usage: firefox [-flags] [<url>]

        -g or --debug           Start within /usr/bin/gdb (Must be
first)

$ firefox -g
sh /usr/lib/firefox-3.6/run-mozilla.sh /usr/bin/gdb /usr/lib/firefox-3.6/firefox-bin -x /tmp/mozargs.AKELLZ
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
"/usr/lib/firefox-3.6/firefox": not in executable format: File format not recognized
(gdb) r
Starting program:  
No executable file specified.
Use the "file" or "exec-file" command.
(gdb)

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: firefox 3.6+nobinonly-0ubuntu6
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
Uname: Linux 2.6.32-16-generic x86_64
Architecture: amd64
Date: Mon Mar 29 10:24:43 2010
FirefoxPackages:
 firefox 3.6+nobinonly-0ubuntu6
 firefox-gnome-support 3.6+nobinonly-0ubuntu6
 firefox-branding 3.6+nobinonly-0ubuntu6
 abroswer N/A
 abrowser-branding N/A
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: firefox

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
firefox -g option broken: Tries to run shell script under gdb
https://bugs.launchpad.net/bugs/551070
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list