From owner-freebsd-current@FreeBSD.ORG Thu Jun 16 10:33:44 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35A1C16A41C for ; Thu, 16 Jun 2005 10:33:44 +0000 (GMT) (envelope-from emil@cs.rmit.edu.au) Received: from its-mu-mail4.its.rmit.edu.au (its-mu-mail4.its.rmit.edu.au [131.170.2.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBD4343D1D for ; Thu, 16 Jun 2005 10:33:43 +0000 (GMT) (envelope-from emil@cs.rmit.edu.au) Received: from wombat.cs.rmit.edu.au (wombat.cs.rmit.edu.au [131.170.24.41]) by its-mu-mail4.its.rmit.edu.au (8.13.1/8.13.1/mail4) with ESMTP id j5GAXZ30009604 for ; Thu, 16 Jun 2005 20:33:41 +1000 (EST) Received: from goanna.cs.rmit.edu.au (goanna.cs.rmit.edu.au [131.170.24.40]) by wombat.cs.rmit.edu.au (8.12.10/8.12.10/cshub) with ESMTP id j5GAVjtQ019863 for ; Thu, 16 Jun 2005 20:31:45 +1000 (EST) Received: (from emil@localhost) by goanna.cs.rmit.edu.au (8.11.3/8.9.3/csnode) id j5GAVii13187 for current@freebsd.org; Thu, 16 Jun 2005 20:31:44 +1000 (EST) Date: Thu, 16 Jun 2005 20:31:44 +1000 From: Emil Mikulic To: current@freebsd.org Message-ID: <20050616103144.GA9596@cs.rmit.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Written-On: goanna.cs.rmit.edu.au (SunOS 5.9 sun4u) X-PGP-Fingerprint: D2B4 7C14 0C41 9AE5 8D2B 16B0 D3D6 F910 8E4C 5D35 User-Agent: Mutt/1.5.9i X-Scanned-By: MIMEDefang 2.44 Cc: Subject: gdb firefox with libthr -> fatal trap 9 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 10:33:44 -0000 I tried to run firefox from gdb and it caused a panic. (The second time I tried it, I started X then switched to a text VT to run "gdb firefox-bin" so that the panic wouldn't cause an instant reboot) I have libmap.conf set up so that firefox-bin uses libthr. If I use libpthread instead, there's no panic, firefox runs in the debugger. Transcript of the panic follows: kernel trap 9 with interrupts disabled Fatal trap 9: general protection fault while in kernel mode instruction pointer = 0x20:0xc061558b stack pointer = 0x28:0xc7557cf0 frame pointer = 0x28:0xc7557cf0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 666 (firefox-bin) [thread pid 666 tid 100082] Stopped at fpurstor+0xf: db> where Tracing pid 666 tid 100082 td 0xc13897d0 fpurstor(c7557dd0) at fpurstor+0xf npxdna(0,0,0,3,c1388400) at npxdna+0xe5 trap(3b,3b,3b,8076c80,0) at trap+0x297 calltrap() at calltrap+0x5 --- trap 0x16, eip = 0x2885d02b, esp = 0xbfbfe520, ebp = 0xbfbfe538 --- db> call doadump Dumping 97 MB Transcribed manually because doadump didn't. =( It just stopped, although hitting keys caused it to print "[CTRL-C to abort]" This is on 6-CURRENT from earlier today. I'm not suggesting anything has been broken recently since I've never tried to run firefox-bin from gdb before. --Emil (mildly amused by the process ID)