panic: knlist not locked, but should be

Yuri Pankov yuri.pankov at gmail.com
Tue Jun 9 11:05:46 UTC 2009


Hi,

I'm getting the following panic when running Firefox+nspluginwrapper
(which crashes a lot, but paniced the box only two times, if it's even
related). -CURRENT/amd64 20080607.

Unread portion of the kernel message buffer:
panic: knlist not locked, but should be
cpuid = 0
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
panic() at panic+0x182
knote() at knote+0xea
VOP_WRITE_APV() at VOP_WRITE_APV+0x152
vn_rdwr() at vn_rdwr+0x21d
vn_rdwr_inchunks() at vn_rdwr_inchunks+0xc2
elf32_coredump() at elf32_coredump+0x109
sigexit() at sigexit+0x810
postsig() at postsig+0x32f
ast() at ast+0x3ac
doreti_ast() at doreti_ast+0x1f


backtrace (not complete?):
#0  doadump () at pcpu.h:223
#1  0xffffffff805696c3 in boot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:419
#2  0xffffffff80569b4c in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:575
#3  0xffffffff8053a98a in knote (list=0xffffff006c31a6b0, hint=6,
islocked=1) at /usr/src/sys/kern/kern_event.c:1619
#4  0xffffffff80882352 in VOP_WRITE_APV (vop=Variable "vop" is not
available.
) at vnode_if.c:966
#5  0xffffffff806037ad in vn_rdwr (rw=UIO_WRITE, vp=0xffffff000acb21d8,
base=0xffffff8000a88000, len=8192, offset=0, 
    segflg=UIO_SYSSPACE, ioflg=257, active_cred=0xffffff006c79c600,
file_cred=0x0, aresid=0xffffff803eb9f844, 
    td=0xffffff006c546390) at vnode_if.h:413
#6  0xffffffff80603932 in vn_rdwr_inchunks (rw=UIO_WRITE,
vp=0xffffff000acb21d8, base=0xffffff8000a88000, len=0, offset=0, 
    segflg=UIO_SYSSPACE, ioflg=257, active_cred=0xffffff006c79c600,
file_cred=0x0, aresid=0x0, td=0xffffff006c546390)
    at /usr/src/sys/kern/vfs_vnops.c:478
#7  0xffffffff8087bf79 in elf32_coredump (td=0xffffff006c546390,
vp=0xffffff000acb21d8, limit=9223372036854775807)
    at imgact_elf.c:1125
#8  0xffffffff8056bc40 in sigexit (td=0xffffff006c546390, sig=6) at
/usr/src/sys/kern/kern_sig.c:2994
#9  0xffffffff8056c0af in postsig (sig=0) at
/usr/src/sys/kern/kern_sig.c:2617
#10 0xffffffff805a585c in ast (framep=0xffffff803eb9fc90) at
/usr/src/sys/kern/subr_trap.c:225
#11 0xffffffff808215e9 in doreti_ast () at
/usr/src/sys/amd64/amd64/exception.S:623
#12 0x0000000028950ff4 in ?? ()
#13 0x00000000ffffce4c in ?? ()
#14 0x0000000000000006 in ?? ()
#15 0x000000000000187e in ?? ()
#16 0x0000000000000000 in ?? ()
#17 0x0000000000000000 in ?? ()
#18 0x0000000000000000 in ?? ()
#19 0x000000000000187e in ?? ()
#20 0x00000000ffffcdac in ?? ()
#21 0x0000000000000000 in ?? ()
#22 0x0000000000000000 in ?? ()
#23 0x0000000000000000 in ?? ()
#24 0x0000000000000000 in ?? ()
#25 0x0000000000000000 in ?? ()
#26 0x0000000000000000 in ?? ()
#27 0x001b00130000000c in ?? ()
#28 0x00000000283316f8 in ?? ()
#29 0x003b003b00000001 in ?? ()
#30 0x0000000000000002 in ?? ()
#31 0x0000000028821946 in ?? ()
#32 0x0000000000000033 in ?? ()
#33 0x0000000000000206 in ?? ()
#34 0x00000000ffffcda4 in ?? ()
#35 0x000000000000003b in ?? ()
#36 0x0000000045268000 in ?? ()
#37 0x0000000000000000 in ?? ()
#38 0xffffffff80c03140 in affinity ()
#39 0xffffffff80c03140 in affinity ()
#40 0xffffff0002336000 in ?? ()
#41 0xffffff803eb9f6c0 in ?? ()
#42 0xffffff803eb9f678 in ?? ()
#43 0xffffff006c546390 in ?? ()
#44 0xffffffff8058cca0 in sched_switch (td=0x187e, newtd=0x0,
flags=Variable "flags" is not available.
) at /usr/src/sys/kern/sched_ule.c:1858
Previous frame inner to this frame (corrupt stack?)


Any other info?


Yuri


More information about the freebsd-current mailing list