From nobody Wed Sep 23 08:58:33 2026 X-Original-To: dev-commits-src-main@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 4hqW923pZVz6sSbZ; Wed, 23 Sep 2026 08:58:46 +0000 (UTC) (envelope-from kib@freebsd.org) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 4hqW913hB3z4jGk; Wed, 23 Sep 2026 08:58:45 +0000 (UTC) (envelope-from kib@freebsd.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kib@freebsd.org) smtp.mailfrom=kib@freebsd.org; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=freebsd.org (policy=none) Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTPS id 68N8wXN3014318 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 23 Sep 2026 11:58:36 +0300 (EEST) (envelope-from kib@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 68N8wXN3014318 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 68N8wXoJ014317; Wed, 23 Sep 2026 11:58:33 +0300 (EEST) (envelope-from kib@freebsd.org) X-Authentication-Warning: tom.home: kostik set sender to kib@freebsd.org using -f Date: Wed, 23 Sep 2026 11:58:33 +0300 From: Konstantin Belousov To: "Herbert J. Skuhra" Cc: mchoo@freebsd.org, src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 64a73d1b6dc9 - main - amd64/*sigtramp.S: re-enable some cfi annotations for special registers Message-ID: References: <6ab176f0.41de0.58f3c642@gitrepo.freebsd.org> <87zex8ctb1.wl-herbert@gojira.at> <87h5jgtluj.wl-herbert@gojira.at> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87h5jgtluj.wl-herbert@gojira.at> X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=4.0.2 X-Spam-Checker-Version: SpamAssassin 4.0.2 (2025-08-27) on tom.home X-Spamd-Bar: / X-Spamd-Result: default: False [0.00 / 15.00]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : No valid SPF, No valid DKIM,none]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+]; FREEFALL_USER(0.00)[kib]; TO_DN_SOME(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-src-all@freebsd.org,dev-commits-src-main@freebsd.org]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_FIVE(0.00)[5] X-Rspamd-Queue-Id: 4hqW913hB3z4jGk On Wed, Sep 23, 2026 at 10:26:12AM +0200, Herbert J. Skuhra wrote: > On Wed, 23 Sep 2026 10:17:37 +0200, Konstantin Belousov wrote: > > > > On Wed, Sep 23, 2026 at 09:37:06AM +0200, Herbert J. Skuhra wrote: > > > On Mon, 21 Sep 2026 20:26:56 +0200, Konstantin Belousov wrote: > > > > > > > > The branch main has been updated by kib: > > > > > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=64a73d1b6dc93d92daea1e2d0603fda1dddadf4a > > > > > > > > commit 64a73d1b6dc93d92daea1e2d0603fda1dddadf4a > > > > Author: Konstantin Belousov > > > > AuthorDate: 2026-09-19 09:46:19 +0000 > > > > Commit: Konstantin Belousov > > > > CommitDate: 2026-09-21 18:25:38 +0000 > > > > > > > > amd64/*sigtramp.S: re-enable some cfi annotations for special registers > > > > > > > > Also explicitly specify .cfi_sections to emit the cfi bytecode into the > > > > loadable .eh_frame section. > > > > > > > > Reviewed by: mchoo > > > > Sponsored by: The FreeBSD Foundation > > > > MFC after: 1 week > > > > Differential revision: https://reviews.freebsd.org/D59838 > > > > --- > > > > sys/amd64/amd64/sigtramp.S | 44 ++++++++++++++++++++++++++---------------- > > > > sys/amd64/ia32/ia32_sigtramp.S | 19 ++++++++++++------ > > > > 2 files changed, 40 insertions(+), 23 deletions(-) > > > > > > After this commit I get: > > > > > > Sep 23 09:18:52 srv01 kernel: pid 79694 (tmux), jid 0, uid 1001: exited on signal 11 (core dumped) > > > Sep 23 09:18:56 srv01 sshd-session[78306]: error: mm_reap: child terminated by signal 11 > > > Sep 23 09:18:57 srv01 kernel: pid 78765 (sshd-session), jid 0, uid 1001: exited on signal 11 (no core dump - sugid process denied by kern.sugid_coredump) > > > Sep 23 09:18:57 srv01 kernel: pid 70073 (sshd), jid 0, uid 0: exited on signal 11 (no core dump - sugid process denied by kern.sugid_coredump) > > > > > > This is a (K)VM. > > > > How did you determined that the commit is the problem? > > The change you cited did not modified a single executable instruction. > > 1. git bisect > 2. Running main-n289555-c7b67985633c with 64a73d1b6dc9 > reverted resolves the issue (no more core dumps). As I said, the revision did not change any executable pathes in the code. More, it only adjusted the stack unwinding info for the signal frames.