[Unbound-users] unbound-1.5.0 crash(arc4random) on rhel7

Jarno Huuskonen jarno.huuskonen at uef.fi
Thu Nov 20 18:18:31 UTC 2014


Just started testing unbound-1.5.0 on rhel7 and I'm getting random
crashes. Couple of times unbound crashed when run with gdb (run -d):
on those times it crashed in arc4random:
#0  arc4random () at compat/arc4random.c:220
#1  0x00007f5261e39075 in arc4random_uniform (upper_bound=29768)
    at compat/arc4random_uniform.c:51
#2  0x00007f5261e397a3 in ub_random_max (x=<optimized out>,
    state=<optimized out>) at util/random.c:110

compile options:
%configure  --with-libevent --with-pthreads --with-ssl \
            --disable-rpath --enable-debug --disable-static \
            --with-conf-file=%{_sysconfdir}/%{name}/unbound.conf \
            --with-pidfile=%{_localstatedir}/run/%{name}/%{name}.pid \
            --with-rootkey-file=%{_sharedstatedir}/unbound/root.key \
            --enable-sha2 --disable-gost

unbound.conf has: num-threads: 2

The crash usually happens when I use a simple test ruby script that
send queries(with few hundred threads).

Any ideas how I could debug this further ? Or can I provide
more information if somebody else could look into this ?


Jarno Huuskonen

More information about the Unbound-users mailing list