Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 1995 12:02:03 -0600
From:      Rich Murphey <rich@lamprey.utmb.edu>
To:        FreeBSD-stable@freefall.FreeBSD.org
Subject:   panic: free vnode isn't
Message-ID:  <199512291802.MAA00320@rmurphy.slip.bcm.tmc.edu>

next in thread | raw e-mail | index | archive | help
I'm running today's -stable and get a panic immedialy upon
invoking /usr/libexec/locate.updatedb:

panic: free vnode isn't

Below is the bactrace.  I'm not yet sure what else to look
at... Any suggestions are welcome!  Rich

(kgdb) where
#0  boot (howto=260) at ../../i386/i386/machdep.c:892
#1  0xf011aa95 in panic (fmt=0xf01aa4f0 "because you said to!") at ../../kern/subr_prf.c:124
#2  0xf01aa51d in diediedie () at ../../i386/i386/machdep.c:834
#3  0xf0101674 in db_fncall (dummy1=1, dummy2=0, dummy3=-266380648, dummy4=0xefbffb9c "\034Æ\037ðÔH ð0A\034\n") at ../../ddb/db_command.c:491
#4  0xf0101344 in db_command (last_cmdp=0xf01dfaf4, cmd_table=0xf01df954) at ../../ddb/db_command.c:281
#5  0xf01014dd in db_command_loop () at ../../ddb/db_command.c:419
#6  0xf01044d0 in db_trap (type=3, code=0) at ../../ddb/db_trap.c:72
#7  0xf01a7614 in kdb_trap (type=3, code=0, regs=0xefbffc8c) at ../../i386/i386/db_interface.c:120
#8  0xf01af8bc in trap (frame={tf_es = -260505584, tf_ds = 16, tf_edi = 12, tf_esi = -260443392, tf_ebp = -272630576, tf_isp = -266700708, tf_ebx = 256, 
      tf_edx = -266700757, tf_ecx = 0, tf_eax = -1, tf_trapno = 3, tf_err = 0, tf_eip = -266700708, tf_cs = -272695288, tf_eflags = 582, tf_esp = -266700773, 
      tf_ss = -267277765}) at ../../i386/i386/trap.c:387
#9  0xf01a7fbd in calltrap ()
#10 0xf01a785c in Debugger (msg=0xf011aa3b "panic") at ../../i386/i386/db_interface.c:257
#11 0xf011aa8f in panic (fmt=0xf0132851 "free vnode isn't") at ../../kern/subr_prf.c:122
#12 0xf0132917 in getnewvnode (tag=VT_PROCFS, mp=0xf07e5e00, vops=0xf079f300, vpp=0xefbffd70) at ../../kern/vfs_subr.c:352
#13 0xf013bc39 in procfs_allocvp (mp=0xf07e5e00, vpp=0xefbffd70, pid=327, pfs_type=Pctl) at ../../miscfs/procfs/procfs_subr.c:114
#14 0xf013cab8 in procfs_lookup (ap=0xefbffdb0) at ../../miscfs/procfs/procfs_vnops.c:609
#15 0xf0131d71 in lookup (ndp=0xefbffe44) at ./vnode_if.h:27
#16 0xf013184e in namei (ndp=0xefbffe44) at ../../kern/vfs_lookup.c:147
#17 0xf0135daa in lstat (p=0xf0904f00, uap=0xefbfff94, retval=0xefbfff8c) at ../../kern/vfs_syscalls.c:1258
#18 0xf01b0366 in syscall (frame={tf_es = -272695257, tf_ds = -272695257, tf_edi = 199680, tf_esi = 199752, tf_ebp = -272638800, tf_isp = -272629788, 
      tf_ebx = 134725728, tf_edx = 32768, tf_ecx = 199744, tf_eax = 190, tf_trapno = 582, tf_err = 582, tf_eip = 134516469, tf_cs = 31, tf_eflags = 582, 
      tf_esp = -272638928, tf_ss = 39}) at ../../i386/i386/trap.c:878
#19 0xf01a800b in Xsyscall ()
(kgdb) p vp
$1 = (struct vnode *) 0xf080df00
(kgdb) p *vp
$2 = {v_flag = 0, v_usecount = -4, v_writecount = 0, v_holdcnt = 0, v_lastr = 0, v_id = 260, v_mount = 0xf07a0a00, v_op = 0xf07acc00, v_freelist = {
    tqe_next = 0xf080d580, tqe_prev = 0xf01f5dcc}, v_mntvnodes = {le_next = 0xf0810a80, le_prev = 0xf080d5a4}, v_cleanblkhd = {lh_first = 0x0}, 
  v_dirtyblkhd = {lh_first = 0x0}, v_numoutput = 0, v_type = VBLK, v_un = {vu_mountedhere = 0xf078d050, vu_socket = 0xf078d050, vu_specinfo = 0xf078d050, 
    vu_fifoinfo = 0xf078d050}, v_lease = 0x0, v_lastw = 0, v_cstart = 0, v_lasta = 0, v_clen = 0, v_ralen = 0, v_maxra = 0, v_vmdata = 0x0, v_tag = VT_UFS, 
  v_data = 0xf080bd00}
(kgdb) p vnode_free_list
$3 = {tqh_first = 0xf080d580, tqh_last = 0xf08cdb1c}
(kgdb) p freevnodes
$4 = 964
(kgdb) p numvnodes
$5 = 1274



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512291802.MAA00320>