NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/54950: Kernel panic in NPF with empty procedure



The following reply was made to PR kern/54950; it has been noted by GNATS.

From: Lloyd Parkes <lloyd%must-have-coffee.gen.nz@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/54950: Kernel panic in NPF with empty procedure
Date: Tue, 11 Feb 2020 17:25:31 +1300

 After really quite a lot of fussing, I managed to get a stack trace from 
 GDB that appears OK enough to be useful.
 
 (gdb) info files
 Kernel memory interface:
          Using the kernel crash dump /mnt/netbsd.2.core.
 (gdb) where
 #0  0xc011d695 in maybe_dump (howto=260)
      at /vol/src/cylc/src-marples/sys/arch/i386/i386/machdep.c:728
 #1  cpu_reboot (howto=howto@entry=260, bootstr=bootstr@entry=0x0)
      at /vol/src/cylc/src-marples/sys/arch/i386/i386/machdep.c:749
 #2  0xc06516c2 in kern_reboot (howto=howto@entry=260,
      bootstr=bootstr@entry=0x0)
      at /vol/src/cylc/src-marples/sys/kern/kern_reboot.c:61
 #3  0xc069283a in vpanic (fmt=fmt@entry=0xc08e801e "trap",
      ap=ap@entry=0xcdc6abd8 "\254\254\306\315\254\254\306\315\001")
      at /vol/src/cylc/src-marples/sys/kern/subr_prf.c:336
 #4  0xc06928d1 in panic (fmt=fmt@entry=0xc08e801e "trap")
      at /vol/src/cylc/src-marples/sys/kern/subr_prf.c:255
 #5  0xc0120026 in trap (frame=0xcdc6acac)
      at /vol/src/cylc/src-marples/sys/arch/i386/i386/trap.c:348
 #6  0xc0115c82 in alltraps ()
 #7  0xcdc6acac in ?? ()
 #8  0xc0469470 in npf_config_destroy (nc=nc@entry=0xc13d6ca8)
      at /vol/src/cylc/src-marples/sys/net/npf/npf_conf.c:97
 #9  0xc046ace6 in npfctl_load_nvlist (errdict=0xc1ab30cc, 
 npf_dict=0xc1a8be8c,
      npf=0xc13cbac8) at /vol/src/cylc/src-marples/sys/net/npf/npf_ctl.c:643
 #10 npfctl_load (npf=0xc13cbac8, cmd=3222031974, data=0xcdc6aeac)
      at /vol/src/cylc/src-marples/sys/net/npf/npf_ctl.c:664
 #11 0xc070cc87 in spec_ioctl (v=0xcdc6ad9c) at ./machine/cpu.h:69
 #12 0xc07011e5 in VOP_IOCTL (vp=vp@entry=0xc1562804,
 --Type <RET> for more, q to quit, c to continue without paging--
      command=command@entry=3222031974, data=data@entry=0xcdc6aeac, fflag=1,
 '    cred=0xc1a86100) at /vol/src/cylc/src-marples/sys/kern/vnode_if.c:612
 #13 0xc06f7b88 in vn_ioctl (fp=0xc194bac0, com=3222031974, data=0xcdc6aeac)
      at /vol/src/cylc/src-marples/sys/kern/vfs_vnops.c:775
 #14 0xc06a01d9 in sys_ioctl (l=<optimized out>, uap=<optimized out>,
      retval=<optimized out>)
      at /vol/src/cylc/src-marples/sys/kern/sys_generic.c:671
 #15 0xc014ee95 in sy_call (rval=0xcdc6af60, uap=0xcdc6af68, l=0xc1522b80,
      sy=0xc0a79c78 <sysent+1080>)
      at /vol/src/cylc/src-marples/sys/sys/syscallvar.h:65
 #16 sy_invoke (code=54, rval=0xcdc6af60, uap=0xcdc6af68, l=0xc1522b80,
      sy=<optimized out>) at 
 /vol/src/cylc/src-marples/sys/sys/syscallvar.h:94
 #17 syscall (frame=0xcdc6afa8)
      at /vol/src/cylc/src-marples/sys/arch/x86/x86/syscall.c:138
 #18 0xc0100849 in Xsyscall ()
 #19 0xcdc6afa8 in ?? ()
 Backtrace stopped: previous frame inner to this frame (corrupt stack?)
 (gdb)
 
 


Home | Main Index | Thread Index | Old Index