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

From: Colin Percival <colin.percival_at_wadham.ox.ac.uk>
Date: Tue, 29 Jun 2004 12:40:38 -0700
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
>/usr/src/sys/kern/subr_witness.c:898
>
>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
Received on Tue Jun 29 2004 - 17:41:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:59 UTC