Date: Mon, 30 Jul 2001 00:00:53 +0200 From: Sheldon Hearn <sheldonh@starjuice.net> To: current@FreeBSD.org Cc: jhb@FreeBSD.org Subject: Re: Help wanted: loadable SMBFS Message-ID: <2572.996444053@axl.seasidesoftware.co.za> In-Reply-To: Your message of "Sun, 29 Jul 2001 22:18:51 %2B0200." <1445.996437931@axl.seasidesoftware.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
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 STAILQ_REMOVE(). 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? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2572.996444053>