Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 2009 08:36:05 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Yuri Pankov <yuri.pankov@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: panic: knlist not locked, but should be
Message-ID:  <1244554565.60347.1503.camel@balrog.2hip.net>
In-Reply-To: <20090609110540.GA1290@darklight.homeunix.org>
References:  <20090609110540.GA1290@darklight.homeunix.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-Vpbx5kQhUrYamguLwZ3T
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2009-06-09 at 15:05 +0400, Yuri Pankov wrote:
> Hi,
>=20
> 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.
>=20
> Unread portion of the kernel message buffer:
> panic: knlist not locked, but should be
> cpuid =3D 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
>=20
>=20
> backtrace (not complete?):
> #0  doadump () at pcpu.h:223
> #1  0xffffffff805696c3 in boot (howto=3D260) at
> /usr/src/sys/kern/kern_shutdown.c:419
> #2  0xffffffff80569b4c in panic (fmt=3DVariable "fmt" is not available.
> ) at /usr/src/sys/kern/kern_shutdown.c:575
> #3  0xffffffff8053a98a in knote (list=3D0xffffff006c31a6b0, hint=3D6,
> islocked=3D1) at /usr/src/sys/kern/kern_event.c:1619
> #4  0xffffffff80882352 in VOP_WRITE_APV (vop=3DVariable "vop" is not
> available.
> ) at vnode_if.c:966
> #5  0xffffffff806037ad in vn_rdwr (rw=3DUIO_WRITE, vp=3D0xffffff000acb21d=
8,
> base=3D0xffffff8000a88000, len=3D8192, offset=3D0,=20
>     segflg=3DUIO_SYSSPACE, ioflg=3D257, active_cred=3D0xffffff006c79c600,
> file_cred=3D0x0, aresid=3D0xffffff803eb9f844,=20
>     td=3D0xffffff006c546390) at vnode_if.h:413
> #6  0xffffffff80603932 in vn_rdwr_inchunks (rw=3DUIO_WRITE,
> vp=3D0xffffff000acb21d8, base=3D0xffffff8000a88000, len=3D0, offset=3D0,=20
>     segflg=3DUIO_SYSSPACE, ioflg=3D257, active_cred=3D0xffffff006c79c600,
> file_cred=3D0x0, aresid=3D0x0, td=3D0xffffff006c546390)
>     at /usr/src/sys/kern/vfs_vnops.c:478
> #7  0xffffffff8087bf79 in elf32_coredump (td=3D0xffffff006c546390,
> vp=3D0xffffff000acb21d8, limit=3D9223372036854775807)
>     at imgact_elf.c:1125
> #8  0xffffffff8056bc40 in sigexit (td=3D0xffffff006c546390, sig=3D6) at
> /usr/src/sys/kern/kern_sig.c:2994
> #9  0xffffffff8056c0af in postsig (sig=3D0) at
> /usr/src/sys/kern/kern_sig.c:2617
> #10 0xffffffff805a585c in ast (framep=3D0xffffff803eb9fc90) 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=3D0x187e, newtd=3D0x0,
> flags=3DVariable "flags" is not available.
> ) at /usr/src/sys/kern/sched_ule.c:1858
> Previous frame inner to this frame (corrupt stack?)
>=20
>=20
> Any other info?

I have also gotten this recently on one of my boxes.  I can easily
reproduce it on that box and so I have several core files.  I sent my
core.txt dump to kmacy@ to have a look at.

robert.

>=20
> Yuri
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"
--=20
Robert Noland <rnoland@FreeBSD.org>
FreeBSD

--=-Vpbx5kQhUrYamguLwZ3T
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEABECAAYFAkouZUUACgkQM4TrQ4qfRONdsACeKUoSrT4392+XG7U9BZJKksv0
NKsAn1d/ru+f9xswm+KU4ohsIbwfzTiM
=P8h9
-----END PGP SIGNATURE-----

--=-Vpbx5kQhUrYamguLwZ3T--




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