Maintained by: NLnet Labs

[Unbound-users] Unbound fatal error

W.C.A. Wijngaards
Thu Jul 26 09:27:12 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I would like more information, all I have is this error message; tried
to find the flaw via code review but this did not succeed.  What query
was active; if you perform query-logging or packet capture.

It could be that this flaw is a side-effect of the assertion failure
that was fixed recently (and there are already patches for that).
That fix is to be released in the upcoming 1.4.18 release.

If it happens again (hopefully reproducible), I could try to implement
debug code that is triggered by the 'bad event for iterator' that
attempts to printout the internal state in more detail.  (this would
not take time in normal production, but printout debug info when the
problem happens).

Best regards,
   Wouter

On 07/26/2012 01:54 AM, Leandro Anjos Moura wrote:
> Dan,
> 
> Thanks for the info. I'll test with those flags.
> 
> :)
> 
> 
> 2012/7/25 Luther, Dan <Dan.Luther at level3.com>:
>> Hello,
>> 
>> I had unbound 1.4.17 crash with this rather cryptic message:
>> 
>> Jul 25 21:48:45 unbound[11518:2] error: bad event for iterator 
>> Jul 25 21:48:45 unbound[11518:2] fatal error:
>> services/outside_network.c:1508: serviced_callbacks: pointer
>> whitelist fptr_whitelist_serviced_query(p->cb) failed
>> 
>> Due to the immense query load I'm not logging queries (this is
>> one of 8 instances servicing between 30k and 50k queries/sec)
>> 
>> I've seen one mention of this particular error from 1.4.16 with
>> no apparent resolution; I'm rather hoping this has been
>> explored.
>> 
>> Compile flags:
>> 
>> Version 1.4.17 linked libs: libevent 2.0.19-stable (it uses
>> epoll), ldns 1.6.13, OpenSSL 1.0.1c 10 May 2012 linked modules:
>> validator iterator configured for x86_64-unknown-linux-gnu on Thu
>> Jul 12 02:31:03 GMT 2012 with options: '--with-username=dns'
>> '--with-libevent' '--enable-shared' '--enable-largefile'
>> '--with-chroot-dir=/usr/local/dns'
>> 
>> Thanks in advance,
>> 
>> -- Dan
>> 
>> _______________________________________________ Unbound-users
>> mailing list Unbound-users at unbound.net 
>> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
> _______________________________________________ Unbound-users
> mailing list Unbound-users at unbound.net 
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
> 


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQEPFMAAoJEJ9vHC1+BF+N19UP/2N2SvXoUqOKNyED7xprrqwP
kMhA5mowk6xkDm76qQazuptSwuv+hcOfh01PkpWBjRL393kI1hQdqUU3sSGQ4oXc
QfA/lE8aOn3frHuhGVpO56Zu0jJ54cnQV3NlhhsfDhcQZWDAqZbsD3F12X63HkFY
bd9LYtDviUGA0pq2pvFwloxNZfIlTukisGfXoAKrWNrPwIKgztpamOPc5u0vJqo+
9Ljt+D2xQVwqG8cgDCWi1KneVo/6REOrgV8rzbYeS2oRufiS0e7wqsbJBYzVoG0W
T4EqgeR+Rt3XdEBrdme5oEtcT6Da04vw4o3Nl+u/lPo4JWp47VuZw8fiQd1mZuyV
zHh3AoO9Aj0PzxlhYvdD7Kvx1ZJpkZzMbrFeYuLO30IwKIo/iW+AZCa8mL9swVFd
tf/wXffKHMIoHfB1m/QPChYgWS+UuU0/NoWBLXNHO+9ErlwcRFrQ7ycQ2oyFthZC
uMbKvkVK4uqTfzMn+5gtzwkGMvt+GG4UXodDZANajDHjttffPyL+24IA1OZQZlxW
b2gix06aY9VDcg68ofoyapu89j9CZGPrAERm+rFFShN6lJaoS5HHaKRIe8oKiuEp
B7tGwWQ0maeOkULNlzp2gchwvKhj6h4QBo9RjTlgzPjQvib5s2vRH6Bfd/1t+98F
48nXzO88zmRVHUxBPSC2
=ATmc
-----END PGP SIGNATURE-----