Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 1999 12:24:22 -0500 (EST)
From:      <tstromberg@rtci.com>
To:        freebsd-current@freebsd.org
Subject:   kernel crash via /usr/bin/ktrace
Message-ID:  <199912151724.MAA00818@barracuda.aquarium.rtci.com>

next in thread | raw e-mail | index | archive | help
While testing ktrace today for the FreeBSD-Audit project with smashwidgets, I
left the room and came back to my bios booting up. Unfortunatly smashwidgets
wasn't in full logging mode for speed, so I don't know what arguments or
environment variablesm were executed to trigger the crash.

What annoys me the most is that I can't seem to reproduce it, even though I
reran the tests 3 times. But, it still represents some kind of bug.. 


environment:
============
PIII-500, 96M RAM, 786M swap
Running X & smashwidgets (both running as nornmal users, not root)
Load of ~2.0

kernel:
=======
FreeBSD karma.afterthought.org 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Mon Dec 13
16:31:04 EST 1999    
chenresig@karma.afterthought.org:/usr/src/sys/compile/KARMA  i386

backtrace:
==========
IdlePTD 3084288
initial pcb at 27bb60
panicstr: vrele: negative ref cnt
panic messages:
---
panic: vrele: negative ref cnt

syncing disks... 11 2 
done
Uptime: 1d0h12m5s

dumping to dev #wd/0x20001, offset 1413889
dump ata0: resetting devices .. done
96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71
70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45
44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19
18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  boot (howto=256) at ../../kern/kern_shutdown.c:303
303                     dumppcb.pcb_cr3 = rcr3();
(kgdb) bt
#0  boot (howto=256) at ../../kern/kern_shutdown.c:303
#1  0xc0133d01 in panic (fmt=0xc023a662 "vrele: negative ref cnt") at
./../kern/kern_shutdown.c:553
#2  0xc015c8c2 in vrele (vp=0xcce4d8e0) at ../../kern/vfs_subr.c:1426
#3  0xc012ed6d in ktrops (curp=0xccfd0180, p=0xccfd1c80, ops=1, facs=254,
vp=0x0) at ../../kern/kern_ktrace.c:422
#4  0xc012edaa in ktrsetchildren (curp=0xccfd0180, top=0xcc5e7e00, ops=1,
facs=254, vp=0x0)
    at ../../kern/kern_ktrace.c:442
#5  0xc012ebda in ktrace (curp=0xccfd0180, uap=0xcd06ef80) at
./../kern/kern_ktrace.c:343
#6  0xc0222972 in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi =
-1077969896, tf_esi = 1, 
      tf_ebp = -1077969988, tf_isp = -855183404, tf_ebx = 1, tf_edx =
672046132, tf_ecx = 11, tf_eax = 45, 
      tf_trapno = 12, tf_err = 2, tf_eip = 671715924, tf_cs = 31, tf_eflags =
582, tf_esp = -1077970160, tf_ss = 47})
    at ../../i386/i386/trap.c:1057
#7  0xc0217376 in Xint0x80_syscall ()
#8  0x8048751 in ?? ()



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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