Re: panic: mtx_lock_spin: recursed on non-recursive mutex cnputs_mtx @ /usr/src/sys/kern/kern_cons.c:420 when running dump in ddb

From: Garrett Cooper <yanegomi_at_gmail.com>
Date: Sun, 21 Aug 2011 18:34:23 -0700
On Thu, Aug 18, 2011 at 5:55 PM, Garrett Cooper <yanegomi_at_gmail.com> wrote:
> Hi,
>    Long story short, I was running a UP kernel on a netbook trying to
> stimulate a crash and when I did dump, it would periodically fail
> non-recursive mutex failure with the output shown below (I caught it
> once, but the other times the dump failed).

    This actually shows up when generating a panic via boot -v with
WITNESS, so it's potentially a race condition on my laptop. Adding
MTX_RECURSE to the mutex object didn't help things either.
Thanks,
-Garrett
Received on Sun Aug 21 2011 - 23:34:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:16 UTC