panic: VOP_STDCLOSE: BAD WRITECOUNT
Eirik A. Nygaard
eirikald at pvv.ntnu.no
Tue Apr 4 05:59:22 PDT 2006
Got this panic after upgrading to HEAD
Unread portion of the kernel message buffer:
panic: VOP_STDCLOSE: BAD WRITECOUNT 0xc25ecb70 0
(kgdb) bt
#0 dumpsys () at thread.h:81
#1 0xc01c62aa in boot (howto=256) at /home/eirik/devel/dragonflybsd/src/sys/kern/kern_shutdown.c:365
#2 0xc01c676a in panic (fmt=0xc03c1c3c "VOP_STDCLOSE: BAD WRITECOUNT %p %d\n")
at /home/eirik/devel/dragonflybsd/src/sys/kern/kern_shutdown.c:679
#3 0xc0207d6a in vop_stdclose (ap=0x0) at /home/eirik/devel/dragonflybsd/src/sys/kern/vfs_default.c:1239
#4 0xc021f1ae in spec_close (ap=0xe6123978)
at /home/eirik/devel/dragonflybsd/src/sys/vfs/specfs/spec_vnops.c:608
#5 0xc02de6bd in ufsspec_close (ap=0xe6123978)
at /home/eirik/devel/dragonflybsd/src/sys/vfs/ufs/ufs_vnops.c:1923
#6 0xc02ded63 in ufs_vnoperatespec (ap=0x0) at /home/eirik/devel/dragonflybsd/src/sys/vfs/ufs/ufs_vnops.c:2438
#7 0xc02197a5 in vop_close (ops=0x0, vp=0x0, fflag=0, td=0x0)
at /home/eirik/devel/dragonflybsd/src/sys/kern/vfs_vopops.c:423
#8 0xc01f0b3e in cttyclose (dev=0xc04166f8, fflag=0, devtype=8192, td=0xcec11400)
at /home/eirik/devel/dragonflybsd/src/sys/kern/tty_tty.c:128
#9 0xc01b1d3e in cdevsw_putport (port=0xc0417a00, lmsg=0xe6123a14)
at /home/eirik/devel/dragonflybsd/src/sys/kern/kern_device.c:91
#10 0xc01cd4fa in lwkt_domsg (port=0x0, msg=0xe6123a14) at msgport2.h:86
#11 0xc01b1f31 in dev_dclose (dev=0xc04166f8, fflag=0, devtype=0, td=0x0)
at /home/eirik/devel/dragonflybsd/src/sys/kern/kern_device.c:196
#12 0xc021f13f in spec_close (ap=0xe6123abc)
at /home/eirik/devel/dragonflybsd/src/sys/vfs/specfs/spec_vnops.c:585
#13 0xc02de6bd in ufsspec_close (ap=0xe6123abc)
at /home/eirik/devel/dragonflybsd/src/sys/vfs/ufs/ufs_vnops.c:1923
#14 0xc02ded63 in ufs_vnoperatespec (ap=0x0) at /home/eirik/devel/dragonflybsd/src/sys/vfs/ufs/ufs_vnops.c:2438
#15 0xc02197a5 in vop_close (ops=0x0, vp=0x0, fflag=0, td=0x0)
at /home/eirik/devel/dragonflybsd/src/sys/kern/vfs_vopops.c:423
#16 0xc021897b in vn_close (vp=0xe56d5ff0, flags=0, td=0xcec11400)
at /home/eirik/devel/dragonflybsd/src/sys/kern/vfs_vnops.c:362
#17 0xc0219605 in vn_closefile (fp=0x0, td=0x0) at /home/eirik/devel/dragonflybsd/src/sys/kern/vfs_vnops.c:942
#18 0xc01b48e5 in fdrop (fp=0xc24459c0, td=0x0) at file2.h:125
#19 0xc01b4823 in closef (fp=0xc24459c0, td=0xcec11400)
t /home/eirik/devel/dragonflybsd/src/sys/kern/kern_descrip.c:1636
#20 0xc01b356b in kern_close (fd=4) at /home/eirik/devel/dragonflybsd/src/sys/kern/kern_descrip.c:732
#21 0xc01b3494 in close (uap=0x0) at /home/eirik/devel/dragonflybsd/src/sys/kern/kern_descrip.c:690
#22 0xc03648c7 in syscall2 (frame=
{tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = 674358484, tf_ebp = -1077941048, tf_isp = -435012236, tf_ebx = 674279844, tf_edx = 674358484, tf_ecx = 674358484, tf_eax = 6, tf_trapno = 12, tf_err = 2, tf_eip = 673876156, tf_cs = 31, tf_eflags = 530, tf_esp = -1077941060, tf_ss = 47})
---Type <return> to continue, or q <return> to quit---
at /home/eirik/devel/dragonflybsd/src/sys/i386/i386/trap.c:1420
#23 0xc0350c8a in Xint0x80_syscall () at /home/eirik/devel/dragonflybsd/src/sys/i386/i386/exception.s:852
Crashdump at:
http://www.pvv.ntnu.no/~eirikald/dfly/bad-writecount/
--
Eirik Nygaard
More information about the Kernel
mailing list