From owner-freebsd-questions@FreeBSD.ORG Thu Jun 8 11:01:51 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E875716C18D for ; Thu, 8 Jun 2006 09:26:33 +0000 (UTC) (envelope-from apircalabu@bitdefender.com) Received: from mail.bitdefender.com (ns.bitdefender.com [217.156.83.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FC3643D48 for ; Thu, 8 Jun 2006 09:26:32 +0000 (GMT) (envelope-from apircalabu@bitdefender.com) Received: (qmail 1000 invoked by uid 1010); 8 Jun 2006 12:26:28 +0300 Received: from apircalabu.dsd.ro (10.10.15.22) by mail.bitdefender.com with SMTP; 8 Jun 2006 12:26:28 +0300 Date: Thu, 8 Jun 2006 12:26:28 +0300 From: Adi Pircalabu To: freebsd-questions@auscert.org.au Message-ID: <20060608122628.7c073cfb@apircalabu.dsd.ro> In-Reply-To: <200606080102.k5812Gsa074135@app.auscert.org.au> References: <20060607182346.0505a0a0@apircalabu.dsd.ro> <200606080102.k5812Gsa074135@app.auscert.org.au> Organization: BitDefender X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.18; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BitDefender-Scanner: Clean, Agent: BitDefender Qmail 1.6.2 on mail.bitdefender.com X-BitDefender-SpamStamp: 1.1.4 049000040111AAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI X-BitDefender-Spam: No (13) Cc: freebsd-questions@freebsd.org Subject: Re: Firefox crashes and hangs my 6.1R system 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: Thu, 08 Jun 2006 11:01:56 -0000 On Thu, 08 Jun 2006 11:02:16 +1000 freebsd-questions@auscert.org.au wrote: > >Try to reproduce the above described behaviour and jump over with > >gdb. Sort of: > > > >gdb /usr/X11R6/lib/firefox/firefox-bin > >(... wait) > >(gdb) t a a bt full > > Excuse my ignorance - I take it I need to > > o start firefox normally > o run gdb as above > o invoke the crash situation 1. If I were you, I'd go for the safer path and assure myself that I don't use a system (OS & apps) built with unusual compiler flags. 2. Try to use a pre-built Ff package from ftp.freebsd.org and see if the problem still occurs. 3. Actually, to get a core file, the steps are: - as a regular user open a console, make sure you are in a directory with write permissions (${HOME} is ok) and launch firefox - open another console, note the pid of firefox-bin and type the above command (gdb /path/to/ff-bin pid) but don't press Enter yet - try to fry the CPU again. If succeeded, press Enter in the gdb console and get a full backtrace. - alternately, if you can't attach to the process, try to send SIGABRT when it goes crazy. > o then ... ? > > I'm just hoping that there's enough cpu left to save something at that > point! > > >> options SCHED_ULE # ULE scheduler > > > >Do you need SCHED_ULE? Try SCHED_4BSD instead, Ff is very picky when > >it comes to threads. > > I probably don't - I added this after reading /usr/src/sys/conf/NOTES > and it hadn't bitten me until maybe now. I'll recompile the kernel > with SCHED_4BSD before I carry on. You should also consider rebuilding Firefox without optimizations. Trying to use compiler optimizations for Gecko-based applications is the perfect recipe for trouble :) -- Adi Pircalabu (PGP Key ID 0x04329F5E) -- This message was scanned for spam and viruses by BitDefender. For more information please visit http://www.bitdefender.com/