how to debug RB_TREE for memory corruption?

Lev Serebryakov lev at
Thu Oct 6 17:25:40 UTC 2011

Hello, Andriy.
You wrote 6 октября 2011 г., 20:58:51:

>>   Any hints how to debug such strange situation?
> A trivial check first - does the element on which you call RB_DELETE actually
> 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 :)

// Black Lion AKA Lev Serebryakov <lev at>

More information about the freebsd-hackers mailing list