From root@hunahpu.sics.se  Sat Dec 25 11:28:20 1999
Return-Path: <root@hunahpu.sics.se>
Received: from hunahpu.sics.se (hunahpu.sics.se [193.10.66.220])
	by hub.freebsd.org (Postfix) with ESMTP id 1BDE014C08
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 25 Dec 1999 11:28:18 -0800 (PST)
	(envelope-from root@hunahpu.sics.se)
Received: (from root@localhost)
	by hunahpu.sics.se (8.9.3/8.9.3) id UAA00522;
	Sat, 25 Dec 1999 20:28:16 +0100 (CET)
	(envelope-from root)
Message-Id: <199912251928.UAA00522@hunahpu.sics.se>
Date: Sat, 25 Dec 1999 20:28:16 +0100 (CET)
From: assar@sics.se
Sender: root@hunahpu.sics.se
To: FreeBSD-gnats-submit@freebsd.org
Cc: assar@sics.se
Subject: gdb on core-dump does not work on current-19991225
X-Send-Pr-Version: 3.2

>Number:         15689
>Category:       kern
>Synopsis:       gdb on core-dump does not work on current-19991225
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 25 11:30:01 PST 1999
>Closed-Date:    Thu Dec 30 11:04:10 PST 1999
>Last-Modified:  Thu Dec 30 11:04:41 PST 1999
>Originator:     Assar Westerlund
>Release:        FreeBSD 4.0-19991225-CURRENT i386
>Organization:
none
>Environment:

i386 running 4.0-19991225-CURRENT

>Description:

Running gdb on a crash-dump produces this:

(kgdb) exec-file kernel.6
(kgdb) core-file vmcore.6
SMP -1072279740 cpus
IdlePTD 0
initial pcb at 2d3500
panic messages:
---
dmesg: kvm_read: invalid address (c02ca214)
---
cannot read proc pointer at ff800004

(kgdb) bt
#0  0x0 in ?? ()
(kgdb) 

>How-To-Repeat:

crash your machine, run savecore, run gdb

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: peter 
State-Changed-When: Thu Dec 30 11:04:10 PST 1999 
State-Changed-Why:  
Submitter reports: 
I did cvsup a new kernel, rebuild and then I managed to get a working 
crash dump (the one in kern/15707). 
>Unformatted:
