Stephen Borrill
2018-11-08 14:39:16 UTC
With a kernel from 2018-11-01 netbsd-7 sources:
(gdb) bt
#0 0xffffffff8065d56f in cpu_reboot (howto=***@entry=260,
bootstr=***@entry=0x0)
at /usr/src/7.0/sys/arch/amd64/amd64/machdep.c:671
#1 0xffffffff80894242 in vpanic (fmt=***@entry=0xffffffff80d50632 "trap",
ap=***@entry=0xfffffe813a780a60) at /usr/src/7.0/sys/kern/subr_prf.c:340
#2 0xffffffff808942fd in panic (fmt=***@entry=0xffffffff80d50632 "trap")
at /usr/src/7.0/sys/kern/subr_prf.c:256
#3 0xffffffff808d7676 in trap (frame=0xfffffe813a780b80)
at /usr/src/7.0/sys/arch/amd64/amd64/trap.c:304
#4 0xffffffff80100f26 in alltraps ()
#5 0xffffffff807aece4 in rn_walknext (printer=0x0, arg=0x0,
rn=0x3a77b79e61ff6d35) at /usr/src/7.0/sys/net/radix.c:959
#6 rn_walktree (h=<optimized out>,
f=***@entry=0xffffffff807f7d70 <rt_walktree_visitor>,
w=***@entry=0xfffffe813a780ca8) at /usr/src/7.0/sys/net/radix.c:992
#7 0xffffffff807f7ea2 in rt_walktree (family=***@entry=2 '\002',
f=***@entry=0xffffffff807fe930 <sysctl_dumpentry>,
v=***@entry=0xfffffe813a780d08) at /usr/src/7.0/sys/net/rtbl.c:204
#8 0xffffffff807fee7f in sysctl_rtable (name=0xfffffe813a780e5c,
namelen=<optimized out>, oldp=0x1bcad2000, oldlenp=0xfffffe813a780e48,
newp=<optimized out>, newlen=<optimized out>, oname=0xfffffe813a780e50,
l=0xfffffe8831a25240, rnode=0xfffffe813a5bf008)
at /usr/src/7.0/sys/net/rtsock.c:1417
#9 0xffffffff806035ac in sysctl_dispatch (name=***@entry=0xfffffe813a780e50,
namelen=6, oldp=0x1bcad2000, oldlenp=***@entry=0xfffffe813a780e48,
newp=0x0, newlen=0, oname=***@entry=0xfffffe813a780e50,
l=***@entry=0xfffffe8831a25240, rnode=0xfffffe813a5bf008, ***@entry=0x0)
at /usr/src/7.0/sys/kern/kern_sysctl.c:451
#10 0xffffffff80603724 in sys___sysctl (l=0xfffffe8831a25240,
uap=0xfffffe813a780f00, retval=<optimized out>)
at /usr/src/7.0/sys/kern/kern_sysctl.c:307
#11 0xffffffff808af2ca in sy_call (rval=0xfffffe813a780eb8,
uap=0xfffffe813a780f00, l=0xfffffe8831a25240,
sy=0xffffffff81043580 <sysent+3232>)
at /usr/src/7.0/sys/sys/syscallvar.h:61
#12 sy_invoke (code=202, rval=0xfffffe813a780eb8, uap=0xfffffe813a780f00,
l=0xfffffe8831a25240, sy=0xffffffff81043580 <sysent+3232>)
at /usr/src/7.0/sys/sys/syscallvar.h:85
#13 syscall (frame=0xfffffe813a780f00)
at /usr/src/7.0/sys/arch/x86/x86/syscall.c:156
#14 0xffffffff80100691 in Xsyscall ()
#5 0xffffffff807aece4 in rn_walknext (printer=0x0, arg=0x0,
rn=0x3a77b79e61ff6d35) at /usr/src/7.0/sys/net/radix.c:959
959 rn = rn->rn_l;
#10 0xffffffff80603724 in sys___sysctl (l=0xfffffe8831a25240,
uap=0xfffffe813a780f00, retval=<optimized out>)
at /usr/src/7.0/sys/kern/kern_sysctl.c:307
307 error = sysctl_dispatch(&name[0], SCARG(uap, namelen),
(gdb) print name[0]
$3 = 4
I have a core, any suggestions on what to get from gdb?
(gdb) bt
#0 0xffffffff8065d56f in cpu_reboot (howto=***@entry=260,
bootstr=***@entry=0x0)
at /usr/src/7.0/sys/arch/amd64/amd64/machdep.c:671
#1 0xffffffff80894242 in vpanic (fmt=***@entry=0xffffffff80d50632 "trap",
ap=***@entry=0xfffffe813a780a60) at /usr/src/7.0/sys/kern/subr_prf.c:340
#2 0xffffffff808942fd in panic (fmt=***@entry=0xffffffff80d50632 "trap")
at /usr/src/7.0/sys/kern/subr_prf.c:256
#3 0xffffffff808d7676 in trap (frame=0xfffffe813a780b80)
at /usr/src/7.0/sys/arch/amd64/amd64/trap.c:304
#4 0xffffffff80100f26 in alltraps ()
#5 0xffffffff807aece4 in rn_walknext (printer=0x0, arg=0x0,
rn=0x3a77b79e61ff6d35) at /usr/src/7.0/sys/net/radix.c:959
#6 rn_walktree (h=<optimized out>,
f=***@entry=0xffffffff807f7d70 <rt_walktree_visitor>,
w=***@entry=0xfffffe813a780ca8) at /usr/src/7.0/sys/net/radix.c:992
#7 0xffffffff807f7ea2 in rt_walktree (family=***@entry=2 '\002',
f=***@entry=0xffffffff807fe930 <sysctl_dumpentry>,
v=***@entry=0xfffffe813a780d08) at /usr/src/7.0/sys/net/rtbl.c:204
#8 0xffffffff807fee7f in sysctl_rtable (name=0xfffffe813a780e5c,
namelen=<optimized out>, oldp=0x1bcad2000, oldlenp=0xfffffe813a780e48,
newp=<optimized out>, newlen=<optimized out>, oname=0xfffffe813a780e50,
l=0xfffffe8831a25240, rnode=0xfffffe813a5bf008)
at /usr/src/7.0/sys/net/rtsock.c:1417
#9 0xffffffff806035ac in sysctl_dispatch (name=***@entry=0xfffffe813a780e50,
namelen=6, oldp=0x1bcad2000, oldlenp=***@entry=0xfffffe813a780e48,
newp=0x0, newlen=0, oname=***@entry=0xfffffe813a780e50,
l=***@entry=0xfffffe8831a25240, rnode=0xfffffe813a5bf008, ***@entry=0x0)
at /usr/src/7.0/sys/kern/kern_sysctl.c:451
#10 0xffffffff80603724 in sys___sysctl (l=0xfffffe8831a25240,
uap=0xfffffe813a780f00, retval=<optimized out>)
at /usr/src/7.0/sys/kern/kern_sysctl.c:307
#11 0xffffffff808af2ca in sy_call (rval=0xfffffe813a780eb8,
uap=0xfffffe813a780f00, l=0xfffffe8831a25240,
sy=0xffffffff81043580 <sysent+3232>)
at /usr/src/7.0/sys/sys/syscallvar.h:61
#12 sy_invoke (code=202, rval=0xfffffe813a780eb8, uap=0xfffffe813a780f00,
l=0xfffffe8831a25240, sy=0xffffffff81043580 <sysent+3232>)
at /usr/src/7.0/sys/sys/syscallvar.h:85
#13 syscall (frame=0xfffffe813a780f00)
at /usr/src/7.0/sys/arch/x86/x86/syscall.c:156
#14 0xffffffff80100691 in Xsyscall ()
#5 0xffffffff807aece4 in rn_walknext (printer=0x0, arg=0x0,
rn=0x3a77b79e61ff6d35) at /usr/src/7.0/sys/net/radix.c:959
959 rn = rn->rn_l;
#10 0xffffffff80603724 in sys___sysctl (l=0xfffffe8831a25240,
uap=0xfffffe813a780f00, retval=<optimized out>)
at /usr/src/7.0/sys/kern/kern_sysctl.c:307
307 error = sysctl_dispatch(&name[0], SCARG(uap, namelen),
(gdb) print name[0]
$3 = 4
I have a core, any suggestions on what to get from gdb?
--
Stephen
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Stephen
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de