Date: Wed, 18 Apr 2001 11:37:04 -0700 (PDT) From: Matthew Jacob <mjacob@feral.com> To: Terry Lambert <tlambert@primenet.com> Cc: arch@freebsd.org Subject: Re: Reference counters Message-ID: <Pine.BSF.4.21.0104181130110.61771-100000@beppo.feral.com> In-Reply-To: <200104181826.LAA17706@usr02.primenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I tracked a similar bug in SunOS 3.5. It's nice to know things haven't changed. It actually turned out that the bug was a constantly incrementing crhold- not an extra crfree as people had been breaking their teeth on finding. Are there any spots in the code that do plain holds that do *not* imply the assignment of a credp into a structure? If you can assert that any crhold or crdup must return a pointer and any crfree must have an address of a pointer to NULL, you're probably most of the way toward finding the errant action. It also seems to me that one issue that can keep coming up is the freeing of the structure that has the credential- the freeing of that structure has to be still hand auditted to make sure crfree is done. -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0104181130110.61771-100000>