Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Mar 2014 09:58:45 -0600
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        John Baldwin <jhb@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: panic: lockmgr still held [tmpfs] [vm_map_remove()->vdropl()] (r262186: Thu Feb 20)
Message-ID:  <53135535.30707@FreeBSD.org>
In-Reply-To: <201402281618.57291.jhb@freebsd.org>
References:  <53109ACB.20102@FreeBSD.org> <201402281618.57291.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--OIJFkuCbxfKVmDpSx4GJ74jj3V6JSXdbM
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

On 2/28/2014 3:18 PM, John Baldwin wrote:
> On Friday, February 28, 2014 9:18:51 am Bryan Drewery wrote:
>> While using poudriere:
>>
>>> Unread portion of the kernel message buffer:
>>> panic: lockmgr still held
>>> cpuid =3D 12
>>> KDB: stack backtrace:
>>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe1=
24804f7a0
>>> kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe124804f850
>>> vpanic() at vpanic+0x126/frame 0xfffffe124804f890
>>> kassert_panic() at kassert_panic+0x139/frame 0xfffffe124804f900
>>> lockdestroy() at lockdestroy+0x3b/frame 0xfffffe124804f920
>>> vdropl() at vdropl+0x1c8/frame 0xfffffe124804f960
>>> vm_object_deallocate() at vm_object_deallocate+0x10b/frame 0xfffffe12=
4804f9c0
>>> vm_map_process_deferred() at vm_map_process_deferred+0x89/frame 0xfff=
ffe124804f9f0
>>> vm_map_remove() at vm_map_remove+0xc8/frame 0xfffffe124804fa20
>>> vmspace_exit() at vmspace_exit+0xc9/frame 0xfffffe124804fa60
>>> exit1() at exit1+0x541/frame 0xfffffe124804fad0
>>> sys_sys_exit() at sys_sys_exit+0xe/frame 0xfffffe124804fae0
>>> ia32_syscall() at ia32_syscall+0x270/frame 0xfffffe124804fbf0
>>> Xint0x80_syscall() at Xint0x80_syscall+0x95/frame 0xfffffe124804fbf0
>>> --- syscall (1, FreeBSD ELF32, sys_sys_exit), rip =3D 0x281014df, rsp=
 =3D 0xffffc45c, rbp =3D 0xffffc468 ---
>>
>>> #4  0xffffffff808c00db in lockdestroy (lk=3D0xfffff80a88a285f0) at /u=
sr/src/sys/kern/kern_lock.c:440
>>> 440             KASSERT(lk->lk_lock =3D=3D LK_UNLOCKED, ("lockmgr sti=
ll held"));
>>> (kgdb) print *lk
>>> $1 =3D {lock_object =3D {lo_name =3D 0xffffffff8201a1bd "tmpfs", lo_f=
lags =3D 116588552, lo_data =3D 0, lo_witness =3D 0xfffffe00006fec00}, lk=
_lock =3D=20
> 18446735288132049184, lk_exslpfail =3D 0,
>>>   lk_timo =3D 51, lk_pri =3D 96}
>=20
> Can you please grab people.freebsd.org/~jhb/gdb/*
>=20
> and then do 'cd /path/to/files', 'source gdb6', 'frame 4', 'lockmgr_own=
er lk'?
>=20

(kgdb) lockmgr_owner lk
td: 0xfffff80272c61920
pid: 55040, p_comm: testprog


--=20
Regards,
Bryan Drewery


--OIJFkuCbxfKVmDpSx4GJ74jj3V6JSXdbM
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTE1U1AAoJEDXXcbtuRpfP6MIH/3itX1uGPNeTqEDbQPFizKnE
PLWFQpC2KoLhnQ7Bm4JAnimzxypdinVOzKsxnf+2+E0ya4LBrmlzA9JIiHxPv6yL
Z+Fjwm0NkqwdDkhZ7UBCPg0cTxW4zRSukDWwt61fRemhbsdvwcLs1ScBBrBHvMXL
ytbLKNcohmRDe6oVtZ+1PpyXnTNCI2qrZLE5j3prdfgJV4fk2WHAAx5BhEu7gB7k
YbUPTgxIjq5sg490krEmJtV6OurDmOL/HyKFw1lLcm2jIO8SoR728j4PsVsS2QK9
96kDbRdu+abOYgoS/qP6GCMvtSebI5DKFyGnum7Pb+VExUiFV8Ov+Qf25/sIM4c=
=szIO
-----END PGP SIGNATURE-----

--OIJFkuCbxfKVmDpSx4GJ74jj3V6JSXdbM--



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