On Sun, 29 Jul 2001 22:18:51 +0200, Sheldon Hearn wrote:

> (kgdb) frame 11
> #11 0xc01b806f in witness_destroy (lock=0xc1366d18)
>     at /usr/src/sys/kern/subr_witness.c:395
> 395             STAILQ_REMOVE(&all_locks, lock, lock_object, lo_list);

I got a little help from some folks on IRC who helped me with a
disassembly that confirms a null pointer dereference in the

So I started walking all_locks.  It's a boring process.  Isn't there a
faster way to find out whether lock's address is the value of an
lo_list->stqe_next member of any entry in all_locks before the
list-terminating NULL?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to