[Bug 251821] dns/unbound: SIGSEGV in 1.13.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 27 22:12:23 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251821

--- Comment #22 from Tatsuki Makino <tatsuki_makino at hotmail.com> ---
(In reply to Xin LI from comment #20)

I have a unbound.conf that I can reproduce relatively well.

server:
        verbosity: 5
        num-threads: 2
        port: 65353
        interface: 127.0.0.1 at 65353
        outgoing-range: 64
        outgoing-num-tcp: 2
        #so-reuseport: yes
        cache-max-ttl: 1
        cache-max-negative-ttl: 1
        do-udp: yes
        do-tcp: yes
        tcp-upstream: yes
        #do-daemonize: no
        chroot: ""
        username: ""
        directory: .
        use-syslog: no
        pidfile: unbound.pid

Then run this as cd /tmp && unbound -d -c /tmp/unbound.conf.
Then it stops as soon as dig @127.0.0.1 a -p 65353 +tcp example.com. is
executed.

In addition, there are ways to prevent them from occurring.
First, check pkg info -r libevent.
I have the following.

libevent-2.1.12:
        thunderbird-78.6.0_1
        unbound-1.13.0_1
        avahi-app-0.8
        nsd-4.3.4
        seamonkey-2.49.4_27
        tmux-3.1c

Next, stop all programs in the package displayed above.
Then, use sockstat -4 -6 -c -P tcp,udp -s to confirm that all connections are
gone.
Finally, if all connections do not exist, start unbound.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list