Date: Thu, 6 Oct 2011 21:25:29 +0400 From: Lev Serebryakov <lev@FreeBSD.org> To: Andriy Gapon <avg@FreeBSD.org> Cc: hackers@FreeBSD.org Subject: Re: how to debug RB_TREE for memory corruption? Message-ID: <155347808.20111006212529@serebryakov.spb.ru> In-Reply-To: <4E8DDE4B.4040608@FreeBSD.org> References: <1034127827.20111006205103@serebryakov.spb.ru> <4E8DDE4B.4040608@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Andriy. You wrote 6 =EE=EA=F2=FF=E1=F0=FF 2011 =E3., 20:58:51: >> Any hints how to debug such strange situation? > A trivial check first - does the element on which you call RB_DELETE actu= ally > belong to the tree in question? Yep, I've checked it after sending message. Doesn't belong. Logic bug earlier... Sorry for noise on list :) --=20 // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?155347808.20111006212529>