NetBSD-Bugs archive

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

Re: kern/58430: Panic in vdead_check()



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

From: Andreas Gustafsson <gson%gson.org@localhost>
To: "J. Hannken-Illjes" <hannken%mailbox.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: kern/58430: Panic in vdead_check()
Date: Tue, 16 Jul 2024 09:11:46 +0300

 J. Hannken-Illjes wrote:
 >  I have absolute no idea why this assertion fires.  Could print as much
 >  as possible from this (0xc4b70000) vnode as "struct vnode_impl *"?
 
 See below.  If you need more details, please send the specific gdb
 commands you would like me to run.
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 
 (gdb) frame 5
 #5  0xc0d1da69 in vdead_check (vp=vp@entry=0xc4b70000, flags=flags@entry=1) at /usr/src/sys/kern/vfs_vnode.c:2091
 (gdb) set print pretty on
 (gdb) p /x (struct vnode_impl *) vp
 $6 = 0xc4b70000
 (gdb) p /x *((struct vnode_impl *) vp)
 $7 = {
   vi_vnode = {
     v_uobj = {
       vmobjlock = 0x84cb3fcd,
       pgops = 0x2d00bb01,
       uo_npages = 0x8172803c,
       uo_refs = 0x1d22002d,
       uo_pages = {
         t_root = 0xcb67255,
         t_height = 0xa96da933
       },
       uo_ubc = {
         lh_first = 0x427fbb78
       }
     },
     v_size = 0xc5d72e64acb72314,
     v_writesize = 0xeb773e7855c35c8a,
     v_cv = {
       cv_opaque = {0xde483000, 0xbc1a9ff8}
     },
     v_iflag = 0xce0295f6,
     v_uflag = 0x450008,
     v_usecount = 0x4100,
     v_numoutput = 0x11400040,
     v_writecount = 0xa84c3,
     v_holdcnt = 0xf09df801,
     v_cleanblkhd = {
       lh_first = 0x84cb3fcd
     },
     v_dirtyblkhd = {
       lh_first = 0x2d00bb01
     },
     v_vflag = 0xce9a01be,
     v_interlock = 0xdfed5098,
     v_mount = 0xf49ccf3b,
     v_op = 0xeeefc38c,
     v_un = {
       vu_mountedhere = 0xca0cb5,
       vu_socket = 0xca0cb5,
       vu_specnode = 0xca0cb5,
       vu_fifoinfo = 0xca0cb5,
       vu_ractx = 0xca0cb5
     },
     v_type = 0xee000000,
     v_tag = 0x535017,
     v_data = 0x0,
     v_klist = 0xde483000,
     v_segvguard = 0xbc1a9ff8
   },
   vi_key = {
     vk_mount = 0x84cb3fcd,
     vk_key = 0x2d00bb01,
     vk_key_len = 0x8166eb2a
   },
   vi_klist = {
     vk_klist = {
       slh_first = 0x1d22002d
     },
     vk_interest = 0x25b67255
   },
   vi_lrulisthd = 0x1b9396cb,
   vi_lrulist = {
     tqe_next = 0xc02795d8,
     tqe_prev = 0x53d1d21b
   },
   vi_synclist_slot = 0xc0d90a53,
   vi_lrulisttm = 0xf956313d,
   vi_synclist = {
     tqe_next = 0x5ac8146,
     tqe_prev = 0x94ff5ed0
   },
   vi_hash = {
     sle_next = 0x44a49d
   },
   vi_state = 0x94000000,
   vi_mntvnodes = {
     tqe_next = 0x535017,
     tqe_prev = 0x0
   },
   vi_nc_tree = {
     rbt_root = 0xde483000,
     rbt_ops = 0xbc1a9ff8,
     rbt_minmax = {0xce0295f6, 0x450008}
   },
   vi_nc_list = {
     tqh_first = 0x4100,
     tqh_last = 0x11400040
   },
   vi_nc_mode = 0xa84c3,
   vi_nc_uid = 0xf09df801,
   vi_nc_gid = 0x84cb3fcd,
   vi_nc_spare = 0x2d00bb01,
   vi_lock = {
     rw_owner = 0xfda2dc86
   },
   vi_nc_lock = {
     rw_owner = 0x84cb3fcd
   },
   vi_nc_listlock = {
     rw_owner = 0x2d00bb01
   }
 }
 (gdb) p vp->v_interlock
 $9 = (kmutex_t *) 0xdfed5098
 (gdb) p *vp->v_interlock
 Cannot access memory at address 0xdfed5098
 


Home | Main Index | Thread Index | Old Index