Subject: toolchain/35118: gdb6 "bt" fails on kernel dumps
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <stix@stix.id.au>
List: netbsd-bugs
Date: 11/25/2006 13:45:01
>Number:         35118
>Category:       toolchain
>Synopsis:       gdb6 "bt" fails on kernel dumps
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 25 13:45:00 +0000 2006
>Originator:     Paul Ripke
>Release:        NetBSD 4.99.4
>Organization:
>Environment:
	
	
System: NetBSD hactar.stix.org.au 4.99.4 NetBSD 4.99.4 (HACTAR) #7: Sat Nov 25 19:03:23 EST 2006 stix@zion.stix.org.au:/export/netbsd/current/obj.i386/export/netbsd/current/src/sys/arch/i386/compile/HACTAR i386
Architecture: i386
Machine: i386
>Description:
***************************************************************************
I've attempted to debug 3 dumps so far, and all have bogus backtraces.
Extracting other data (msgbuf macro, or xps) works fine.

>How-To-Repeat:

ksh$ gdb netbsd.0
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386--netbsdelf"...(no debugging symbols found)
 
(gdb) symbol-file netbsd.0.gdb 
Reading symbols from /local/crash/netbsd.0.gdb...done.
(gdb) target kvm netbsd.0.core
#0  0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0xc0605000 in ?? ()
#2  0x00001000 in ?? ()
#3  0x000c5a1e in ?? ()
#4  0x0026f000 in ?? ()
#5  0x07efe000 in ?? ()
#6  0x07c8f000 in ?? ()
#7  0x00000001 in ?? ()
#8  0x00200a08 in ?? ()
#9  0x00000000 in ?? ()
(gdb)

>Fix:
unknown

>Unformatted: