From nobody Wed Dec 15 17:44:52 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 C598218EC1E6 for ; Wed, 15 Dec 2021 17:45:06 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp5.goneo.de (smtp5.goneo.de [85.220.129.30]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JDjLn2vJRz3CM4 for ; Wed, 15 Dec 2021 17:45:05 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from hub2.goneo.de (hub2.goneo.de [85.220.129.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp5.goneo.de (Postfix) with ESMTPS id 24C061067557; Wed, 15 Dec 2021 18:44:57 +0100 (CET) Received: from hub2.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPS id 1F74210A330B; Wed, 15 Dec 2021 18:44:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1639590295; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=km/qMeuFSBII5G6ZvdbLlqyPFOFVm+XmZkZwyLZ4nzU=; b=RDpolSCVWSQ6EECvtdH1iVR8e8DIzGAegVeUrIUxntfPV8N7BSb/djPtHhM1dCA/xr78I/ rQDpC3kTQ2U2hmVHnotIgNT8UaHxrb0mnpMH4ra7YGIW5bRW3lkhgSAhRi7QAfVNu2erdU HuFnyUYtKo/HNDoYu7opBS1ajccbIgt7OkBiuyYYfPx/0PPjZOXEEG4OXpUkAlh2nFqdbQ uRjh9x7RJRX96aXyt1aaaXAQ5l5B8356AtzmT2jr59AYtIHdjfxw5uXkrQ8Y6jueHCcJ9W /ETQlzGn9fkxjZS0r6aJw4W3Bgt4VavsCMINe3sR1iOFszl/1ttQZDXreI6MBg== Received: from hermann (dynamic-2a01-0c22-a812-e800-10cb-84b6-cf83-eaeb.c22.pool.telefonica.de [IPv6:2a01:c22:a812:e800:10cb:84b6:cf83:eaeb]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPSA id 1371F10A3309; Wed, 15 Dec 2021 18:44:54 +0100 (CET) Date: Wed, 15 Dec 2021 18:44:52 +0100 From: FreeBSD User To: Daniel O'Connor via freebsd-current Cc: darius@dons.net.au, FreeBSD CURRENT Subject: Re: CURRENT: llvm13 seem to miscompile dns/bind916 (9.16.23) Message-ID: <20211215184452.3d6481cb@hermann> In-Reply-To: References: <20211125092054.4696b6f2@hermann> 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-UID: dd9b0c X-Rspamd-UID: 8a6507 X-Rspamd-Queue-Id: 4JDjLn2vJRz3CM4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=walstatt-de.de header.s=DKIM001 header.b=RDpolSCV; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@walstatt-de.de has no SPF policy when checking 85.220.129.30) smtp.mailfrom=freebsd@walstatt-de.de X-Spamd-Result: default: False [-2.90 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[walstatt-de.de:s=DKIM001]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[walstatt-de.de]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[walstatt-de.de:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:25394, ipnet:85.220.128.0/17, country:DE]; RCVD_TLS_ALL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[85.220.129.30:from] X-ThisMailContainsUnwantedMimeParts: N On Fri, 10 Dec 2021 19:41:07 +1030 Daniel O'Connor via freebsd-current wrote: > > On 25 Nov 2021, at 18:50, FreeBSD User wrote: > > > > 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. > > > > Since then named is crashing with a mysterious segmentation fault (see PR 259921, > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259921). > > > > Disabling ASLR as recommended to check whether ASLR triggers the SegFault did not > > solve the problem, so I suspect a miscompilation due to llvm13. > > > > On 13-STABLE bind-9.16.23 seem not to have this behaviour. > > > > 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=260303), > although there disabling ASLR via proccontrol does fix it. > > Can you show a stacktrace for your seg fault? Hello. I have to prepare the boxes for debugging first, we switched everything off including core dumping. In the meanwhile, bind-9.16.24_1 has been issued in ports - the same problem occurs with that version, too, when compiled with llvm13. Kind regards, O. Hartmann > -- > Daniel O'Connor > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > >