[Bug 259921] dns/bind916: Segmentation fault with LLVM13 on 14-CURRENT

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 18 Nov 2021 17:26:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259921

            Bug ID: 259921
           Summary: dns/bind916: Segmentation fault with LLVM13 on
                    14-CURRENT
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mat@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: mat@FreeBSD.org
             Flags: maintainer-feedback?(mat@FreeBSD.org)

Host is 14.0-CURRENT FreeBSD 14.0-CURRENT #11 main-n250822-4fdc5b8494b: Thu Nov
18 06:02:28 CET 2021 amd64, fresh OS compilation with LLVM13, but some ports
still LLVM12 compiled, lates update of dns/916 results in a segmentation fault
when starting.

[...] named_flags="-d4 -g" [...]
:~ # service named restart
named not running? (check /var/run/named/pid).
Starting named.
18-Nov-2021 17:21:46.798 starting BIND 9.16.23 (Extended Support Version)
<id:fde3b1f>
[...]
18-Nov-2021 17:21:46.873 built with '--disable-linux-caps'
'--localstatedir=/var' '--sysconfdir=/usr/local/etc/namedb' '--with-dlopen=yes'
'--with-libxml2' '--with-openssl=/usr' '--with-readline=-L/usr/local/lib
-ledit' '--with-dlz-filesystem=yes' '--with-dlz-ldap=yes'
'--with-dlz-postgres=yes' '--with-dlz-stub=yes' '--disable-dnstap'
'--disable-fixed-rrset' '--enable-geoip' '--with-maxminddb'
'--with-gssapi=/usr' 'CFLAGS=-I/usr/include -O2 -pipe -DLIBICONV_PLUG
-fstack-protector-strong -DLDAP_DEPRECATED -isystem /usr/local/include
-fno-strict-aliasing ' 'LDFLAGS= -L/usr/local/lib -ljson-c -L/usr/local/lib
-fstack-protector-strong ' 'LIBS=-lkrb5 -lgssapi -lgssapi_krb5
-L/usr/local/lib' 'KRB5CONFIG=/usr/bin/krb5-config' '--with-libidn2=/usr/local'
'--with-json-c' '--enable-largefile' '--with-lmdb=/usr/local'
'--disable-native-pkcs11' '--without-python' '--disable-querytrace'
'--enable-tcp-fastopen' '--disable-symtable' '--prefix=/usr/local'
'--mandir=/usr/local/man' '--infodir=/usr/local/share/info/'
'--build=amd64-portbld-freebsd14.0' 'build_alias=amd64-portbld-freebsd14.0'
'CC=cc' 'CPPFLAGS=-I/usr/local/include -DLIBICONV_PLUG -isystem
/usr/local/include' 'CPP=cpp' 'PKG_CONFIG=pkgconf'
18-Nov-2021 17:21:46.873 running as: named -d4 -g -u bind -c
/usr/local/etc/namedb/named.conf
18-Nov-2021 17:21:46.873 compiled by CLANG FreeBSD Clang 13.0.0
(git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
18-Nov-2021 17:21:46.873 compiled with OpenSSL version: OpenSSL 1.1.1l-freebsd 
24 Aug 2021
18-Nov-2021 17:21:46.873 linked to OpenSSL version: OpenSSL 1.1.1l-freebsd  24
Aug 2021
18-Nov-2021 17:21:46.873 compiled with libxml2 version: 2.9.12
18-Nov-2021 17:21:46.873 linked to libxml2 version: 20912
18-Nov-2021 17:21:46.873 compiled with json-c version: 0.15
18-Nov-2021 17:21:46.873 linked to json-c version: 0.15
18-Nov-2021 17:21:46.873 compiled with zlib version: 1.2.11
18-Nov-2021 17:21:46.873 linked to zlib version: 1.2.11
18-Nov-2021 17:21:46.873 ----------------------------------------------------
18-Nov-2021 17:21:46.873 BIND 9 is maintained by Internet Systems Consortium,
18-Nov-2021 17:21:46.873 Inc. (ISC), a non-profit 501(c)(3) public-benefit 
18-Nov-2021 17:21:46.873 corporation.  Support and training for BIND 9 are 
18-Nov-2021 17:21:46.873 available at https://www.isc.org/support
18-Nov-2021 17:21:46.873 ----------------------------------------------------
18-Nov-2021 17:21:46.873 found 8 CPUs, using 8 worker threads
18-Nov-2021 17:21:46.874 using 8 UDP listeners per interface
18-Nov-2021 17:21:46.879 using up to 21000 sockets
Segmentation fault
/usr/local/etc/rc.d/named: WARNING: failed to start named

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