From owner-freebsd-current@FreeBSD.ORG Sat Aug 2 17:03:07 2003 Return-Path: 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 AB04C37B401 for ; Sat, 2 Aug 2003 17:03:07 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id E195643F75 for ; Sat, 2 Aug 2003 17:03:05 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 7569A526A7; Sun, 3 Aug 2003 09:33:02 +0930 (CST) Date: Sun, 3 Aug 2003 09:33:02 +0930 From: Greg 'groggy' Lehey To: Terry Lambert Message-ID: <20030803000302.GE95375@wantadilla.lemis.com> References: <1079.192.168.0.3.1059811884.squirrel@webmail.aminor.no> <3F2B803C.21D38E0B@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uCPdOCrL+PnN2Vxy" Content-Disposition: inline In-Reply-To: <3F2B803C.21D38E0B@mindspring.com> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: current@freebsd.org Subject: Re: Yet another crash in FreeBSD 5.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 03 Aug 2003 00:03:07 -0000 --uCPdOCrL+PnN2Vxy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Saturday, 2 August 2003 at 2:11:24 -0700, Terry Lambert wrote: > Eivind Olsen wrote: >> Can anyone suggest what I do next to find out about this crash? > >> Fatal trap 12: page fault while in kernel mode >> fault virtual address = 0x14 > > Dereference of NULL pointer; reference is for element at offset > 0x14 in some structure; this is the equivalent of 5 32 bit ints > or pointers into the structure. > >> db> trace >> g_dev_strategy(c2156024,c2153800,0,cfb528d0,c2099eca) at g_dev_strategy+0x29 >> launch_requests(c299bf00,0,10000,ffffffff,47) at launch_requests+0x448 >> vinumstart(c5ada2d0,0,c22ab000,cfb5294c,c02e5bc6) at vinumstart+0x2b2 > > gdb -k kernel.debug > (gdb) list *(g_dev_strategy+29) > [ ... ] > (gdb) list *(launch_requests+448) > [ ... ] > (gdb) list *(vinumstart+2b2) > [ ... ] > > Will give you the exact source lines involved, assuming you > built a debug kernel. > > You don't actually need a crash dump to debug a stack traceback. Great! So you know the answer? Please submit a patch. Seriously, this is nonsense. Yes, it's a null pointer dereference. What? Why? How do you fix it? Finding the first step doesn't solve the problem. Greg -- See complete headers for address and phone numbers --uCPdOCrL+PnN2Vxy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE/LFE2IubykFB6QiMRAo2uAJwIx6C51NQu5KmW4sM9KkOy8qaNNgCfeld3 fiLNKChc/ZSmHrDZ6mdWI6I= =jnio -----END PGP SIGNATURE----- --uCPdOCrL+PnN2Vxy--