use of menus crashes Firefox?

Rob Farmer rfarmer at predatorlabs.net
Wed Jan 19 03:43:50 UTC 2011


On Tue, Jan 18, 2011 at 18:53, Keith Seyffarth <weif at weif.net> wrote:
>
> Chuck Swiger <cswiger at mac.com> writes:
>
>> On Jan 18, 2011, at 6:01 PM, Keith Seyffarth wrote:
>>> $ gdb --exec=firefox3
>>> This GDB was configured as
>>> "i386-marcel-freebsd"."/usr/local/bin/firefox3": not in executable
>>> format: File format not recognized
>>
>> What does "file /usr/local/bin/firefox3" say?
>
> $ file /usr/local/bin/firefox3
> /usr/local/bin/firefox3: Bourne shell script text executable
>

Right - firefox3 is a script that sets up a couple environment
variables and runs the real binary. You need to gdb the real binary
(which is in /usr/local/lib/firefox or somesuch - its not in any
remotely normal $PATH). Since the environment stuff the script does is
required for it to start, temporarily editing the script and running
firefox3 is probably the easiest thing to do.

-- 
Rob Farmer


More information about the freebsd-questions mailing list