From owner-freebsd-questions@FreeBSD.ORG Wed Jan 19 03:43:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3288D106566B for ; Wed, 19 Jan 2011 03:43:50 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id C85068FC0C for ; Wed, 19 Jan 2011 03:43:49 +0000 (UTC) Received: by wwf26 with SMTP id 26so379588wwf.31 for ; Tue, 18 Jan 2011 19:43:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.1.145 with SMTP id 17mr134708wed.50.1295408628672; Tue, 18 Jan 2011 19:43:48 -0800 (PST) Received: by 10.216.242.130 with HTTP; Tue, 18 Jan 2011 19:43:48 -0800 (PST) X-Originating-IP: [128.95.133.237] In-Reply-To: <84vd1l61uf.fsf@maxwell.cjones.org> References: <844o957rei.fsf@maxwell.cjones.org> <90697FB1-79FD-4766-A01B-B06672D1EB7C@mac.com> <84y66h6491.fsf@maxwell.cjones.org> <84vd1l61uf.fsf@maxwell.cjones.org> Date: Tue, 18 Jan 2011 19:43:48 -0800 Message-ID: From: Rob Farmer To: weif@weif.net Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: use of menus crashes Firefox? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2011 03:43:50 -0000 On Tue, Jan 18, 2011 at 18:53, Keith Seyffarth wrote: > > Chuck Swiger 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