From nobody Fri Dec 10 09:11:07 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EB61818EB9E0 for ; Fri, 10 Dec 2021 09:11:46 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (2403-5800-5200-4700-225-90ff-fe47-39b4.ip6.aussiebb.net [IPv6:2403:5800:5200:4700:225:90ff:fe47:39b4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "dons.net.au", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J9QBn2JQ5z4gkn for ; Fri, 10 Dec 2021 09:11:45 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.16.1/8.16.1) with ESMTPS id 1BA9BTxd070568 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Fri, 10 Dec 2021 19:41:38 +1030 (ACDT) (envelope-from darius@dons.net.au) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dons.net.au; s=default; t=1639127502; bh=O80sQHf5dx1eBdwdsPwhd3jW0KEzSbI3ymjhQVYTHnk=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=KVCgGdAUgoFZM6ML/y0yvJtD4UB4nWX+UkWbzxjCkBocN0YnAEbw7C3zjcfiLGNaA dc8WZSUmkqPuDvX3Cj3P7fUP1aBh3//fIiP67/Fh37j7Qb1zo+TJCHxuX45vAVt3r9 qhCwqPHeDow8z/n2ceqvJOFFX7q88eFTo/0RXFL0= Received: (from mailnull@localhost) by midget.dons.net.au (8.16.1/8.16.1/Submit) id 1BA9B7L3070535 for ; Fri, 10 Dec 2021 19:41:07 +1030 (ACDT) (envelope-from darius@dons.net.au) X-MIMEDefang-Relay-f0f0b4ff001831caa5b8ac39868c4c7e9b4d12fc: 2403:5800:5200:4700:792f:b02:6699:af48 Received: from smtpclient.apple (2403-5800-5200-4700-792f-b02-6699-af48.ip6.aussiebb.net [2403:5800:5200:4700:792f:b02:6699:af48]) by 2403-5800-5200-4700-225-90ff-fe47-39b4.ip6.aussiebb.net (envelope-sender ) (MIMEDefang) with ESMTP id 1BA9B7if070530; Fri, 10 Dec 2021 19:41:07 +1030 Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: CURRENT: llvm13 seem to miscompile dns/bind916 (9.16.23) In-Reply-To: <20211125092054.4696b6f2@hermann> Date: Fri, 10 Dec 2021 19:41:07 +1030 Cc: FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: References: <20211125092054.4696b6f2@hermann> To: FreeBSD User X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Spam-Score: 0.8 () No, score=0.8 required=5.0 tests=KHOP_HELO_FCRDNS, PDS_RDNS_DYNAMIC_FP,RDNS_DYNAMIC,SPF_HELO_NONE,T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.4 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 4J9QBn2JQ5z4gkn X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=dons.net.au header.s=default header.b=KVCgGdAU; dmarc=pass (policy=quarantine) header.from=dons.net.au; spf=pass (mx1.freebsd.org: domain of darius@dons.net.au designates 2403:5800:5200:4700:225:90ff:fe47:39b4 as permitted sender) smtp.mailfrom=darius@dons.net.au X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[dons.net.au:s=default]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[dons.net.au:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[dons.net.au,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:4764, ipnet:2403:5800:5000::/36, country:AU]; MID_RHS_MATCH_FROM(0.00)[] Reply-To: darius@dons.net.au From: Daniel O'Connor via freebsd-current X-Original-From: Daniel O'Connor X-ThisMailContainsUnwantedMimeParts: N > On 25 Nov 2021, at 18:50, FreeBSD User wrote: >=20 > Running CURRENT (FreeBSD 14.0-CURRENT #7 main-n250911-a11983366ea7: = Mon Nov 22 18:17:54 > CET 2021 amd64) troubles me with our DNS server/service. > Aproximately the same time we switched on CURRENT to the CURRENT = LLVM13 version and also, > after the compilation of a fresh OS with LLVM13, the upgrade from = bind-9.16.22 to > bind-9.16.23 took place as well as ASLR being the default. >=20 > Since then named is crashing with a mysterious segmentation fault (see = PR 259921, > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259921). >=20 > Disabling ASLR as recommended to check whether ASLR triggers the = SegFault did not solve > the problem, so I suspect a miscompilation due to llvm13. >=20 > On 13-STABLE bind-9.16.23 seem not to have this behaviour. >=20 > I'm floating like a dead man in the water, can someone help? lang/sdcc also seg faults = (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260303), although = there disabling ASLR via proccontrol does fix it. Can you show a stacktrace for your seg fault? -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum