From nobody Sat Apr 05 00:49:07 2025 X-Original-To: bugs@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 4ZTxgR56dSz5shNc for ; Sat, 05 Apr 2025 00:49:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZTxgR4Hjlz3m2M for ; Sat, 05 Apr 2025 00:49:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743814147; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YNctnetO6aIrAG+AtiyJyCcP2DtG6cFyHaurD8Wz9/4=; b=V+OsXov98UZQqDLDAv7lQsJ9wZXruxq/VltZxO9rnVLFDJjcLkXRzVyvWRLUuhbvvGvNem 06bGWObm/ahWaGF9To9l3MEjksOP/BY+XZBbvaaZ75Q6jHQ1umpoFvblw/kj/g9oCJpfIf 3I2MJlUa2xA6qVvXyb8g6m6DXj/ZmSKvJm+Xa+049NPJc2ZsxdgugSfOgwAFuX/SzQ0Rcr c3I8LHe9fUQHyYkzU18jPBl+QzXZQS4ZXHCc7uafjODtqjwoQnumdxuMxA0edY75gS3INW XAl+/8OK+OWA402uylrD03v30H8zqSs8ZUa2FuxfyjwPPXc7xCbey5bY24cnFA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743814147; a=rsa-sha256; cv=none; b=f1Yh1z1S+eGnLjAJRVK/e9A5Q54+3HGXCViZStOUjDejDZOgqC82vady9Je156brQh0s3I I95B3nJcHZXqEmFAaB4XmW1l2QNFhdBVCrhRMJEJ68itjd5ukhxa48SHzrz74k2Ing8RoO xm859Lc2C9Fa+VvX2B+KhrDBJAH8iWAW5Qi4Hcex7f5UIhc9SaKO4bUePnmaf4pk/4VNiK TpZKUQBcwQ6w1FgS4MA7TS7ABXU1/ze7iEu22pypa+pOXczkOaWuN+TEJ1G/+aT7lueQ6h Q+cy/kBmpK5bvdl+L08SPhv7W3kF3Q8e6MHKCSEGvkeograGikMWad5ffbKwmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743814147; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YNctnetO6aIrAG+AtiyJyCcP2DtG6cFyHaurD8Wz9/4=; b=i4bVB0DfW0VUJn7FOA2t+lobHpWLDRPQGoQhOLWmeYu5BdpR2l44cFBRHpr2jQVj4L/p// GgKWXGDO6CCiMErw/YDo8lLDPDoIND/+vsS1GWMcCqfDzZJs7Achp7+zRCnBF+j9N44hEl pKgVPoPV/1NuLKZEvWqsRal1AnzET6hfk7tCPnmIwspk+I945ZJ6HY3o2h1g7rbqDaQcAK B2I7geEyVuyqfsGpMe0PQ6P6Pn118nL6WN339ogL9Ir1tFJvOBIO6dWhlcAG+vTlc89LnR P4dUm7iWnjd5SvGNEAZdU0Rz+nwigFLI+sPSgdyofp2DTL8qRH39VBr1ykTjKQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZTxgR3smzz18FN for ; Sat, 05 Apr 2025 00:49:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5350n7oO021617 for ; Sat, 5 Apr 2025 00:49:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5350n7Pi021616 for bugs@FreeBSD.org; Sat, 5 Apr 2025 00:49:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 285870] Bug in atexit code in rare specific case + patch to correct it Date: Sat, 05 Apr 2025 00:49:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kevans@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285870 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dee9ce1078c596f5719f312feedd616ab0= fb41dc9 commit ee9ce1078c596f5719f312feedd616ab0fb41dc9 Author: Kyle Evans AuthorDate: 2025-04-05 00:47:54 +0000 Commit: Kyle Evans CommitDate: 2025-04-05 00:47:54 +0000 libc: tests: add some tests for __cxa_atexit handling This adds a basic test that __cxa_atexit works, and also adds some tests for __cxa_atexit handlers registered in the middle of __cxa_finalize. PR: 285870 lib/libc/tests/stdlib/Makefile | 2 + lib/libc/tests/stdlib/cxa_atexit_test.c (new) | 132 +++++++++++++++++= ++++ lib/libc/tests/stdlib/libatexit/Makefile (new) | 11 ++ lib/libc/tests/stdlib/libatexit/libatexit.cc (new) | 67 +++++++++++ 4 files changed, 212 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.=