kern/68442: panic - acquiring duplicate lock of same type: "sleepq chain"

Colin Percival colin.percival at
Tue Jun 29 12:41:59 PDT 2004

At 11:35 29/06/2004, Daniel Lang wrote:
>So I have a line of code for the failing address:
># addr2line -e kernel.debug 0xc053932b
>which is (in my kernel):
>        lock1 = &(*lock_list)->ll_children[(*lock_list)->ll_count - 1];

Well, that makes sense... the fault was accessing 0x34, and ll_count is
at offset 0x34 within its structure.  So somewhere between line 708

707:        if (*lock_list == NULL)
708:                return;

and line 898, *lock_list is being modified.

Colin Percival

More information about the freebsd-current mailing list