Maintained by: NLnet Labs

[Unbound-users] Unbound 1.4.0 segfault

Asfihani
Thu Dec 10 05:51:03 CET 2009


On Dec 9, 2009, at 2:58 PM, W.C.A. Wijngaards wrote:

> Did you have a config setting:
> 	module-config: "iterator"
> instead of the default?  If so, that is the issue. "validator  
> iterator"
> is a workaround and a fix is in the svn repo.
>
> Thanks for the report, if its not the above, I'd appreciate more  
> detail.

Dear Mr Wijngaards,

Sorry for lack information. Yes the module-config used was "iterator".  
Commented out module-config fix the problem. For you information, this  
is unbound 1.4.0 with --with-libevent using libevent-2.0.3-alpha. The  
machine running Arch Linux Kernel 2.6.29 x86_64 with 4GB memory and  
E2200 (dual 2.20GHz).

Below is snippet configuration from unbound.conf, if there is any  
suggestion I will happy to hear:

server:
         verbosity: 1
         interface: 127.0.0.1
         interface: 10.126.10.1
         port: 53
         do-ip4: yes
         do-ip6: no
         do-udp: yes
         do-tcp: yes
         do-daemonize: yes
         access-control: 127.0.0.0/8 allow
         access-control: 10.126.10.0/24 allow
         chroot: "/etc/unbound"
         username: "unbound"
         directory: "/etc/unbound"
         use-syslog: yes
         pidfile: "/etc/unbound/unbound.pid"
         root-hints: "/etc/unbound/named.cache"

         num-threads: 2

         msg-cache-slabs: 4
         rrset-cache-slabs: 4
         infra-cache-slabs: 4
         key-cache-slabs: 4

         rrset-cache-size: 2892m
         msg-cache-size: 1446m

         outgoing-range: 8192
         num-queries-per-thread: 8192

         statistics-cumulative: yes

         infra-cache-numhosts: 100000
  	so-rcvbuf: 4m	

         identity: "Mendoan"
         version: "1.0"
         hide-identity: yes
         hide-version: yes
         harden-glue: yes
         do-not-query-address: 127.0.0.1/8
         do-not-query-address: ::1
         do-not-query-localhost: yes
	#module-config: "iterator"

remote-control:
         control-enable: yes
         control-interface: 127.0.0.1
         control-port: 953

         server-key-file: "/etc/unbound/unbound_server.key"
         server-cert-file: "/etc/unbound/unbound_server.pem"
         control-key-file: "/etc/unbound/unbound_control.key"
         control-cert-file: "/etc/unbound/unbound_control.pem"

Regards,
Asfihani