firefox -g option broken: Tries to run shell script under gdb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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/
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/
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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://
"/usr/lib/
(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-
ProcVersionSign
Uname: Linux 2.6.32-16-generic x86_64
Architecture: amd64
Date: Mon Mar 29 10:24:43 2010
FirefoxPackages:
firefox 3.6+nobinonly-
firefox-
firefox-branding 3.6+nobinonly-
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
Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 546490, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.