Unbound crashes occasionally

Hello,

On FreeBSD 7-STABLE/amd64 unbound r1311 crashes occasionally with this:

Oct 21 14:41:25 ns unbound: [25536:0] fatal error: util/rbtree.c:518: rbtree
_find_less_equal: pointer whitelist fptr_whitelist_rbtree_cmp(rbtree->cmp) failed
Oct 21 14:41:25 ns unbound: [25536:0] fatal error: util/rbtree.c:518: rbtree
_find_less_equal: pointer whitelist fptr_whitelist_rbtree_cmp(rbtree->cmp) failed

Or on another machine with this:
Oct 21 13:17:44 ns2 pid 44730 (unbound), uid 53: exited on signal 11

Compiled with libevent and without threading.

Hi Attila,

The check it if failing on was made to prevent remote exploits.

But I think it may be just a problem with libevent
(usually problem goes away if libevent is not used).

If it turns out to be libevent, could you work with the libevent
maintainers on this? They need test cases to fix it...

Best regards,
   Wouter

Attila Nagy wrote: