From nobody Mon Feb 9 18:05:20 2026 X-Original-To: testing@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 4f8t022kKtz6RnT7 for ; Mon, 09 Feb 2026 18:05:22 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f8t012PWjz3xBy for ; Mon, 09 Feb 2026 18:05:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770660321; 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=rTKmWwrtQkNXw0DSU8hwoS7vKyGvo5pps1WsE02PuuY=; b=U8Kl3H1wOPltnNi+aKD/620uLyGH/pSjD4r21Md94JkSbZ3Xdo2cexJDFzgQGQjNyc9W26 mBndlhF/+KgSJNy+QHFFD6SjIgfX2iEYy7yiGYlKW8wggaWlhItPgA5+Dou/MFuFTLoO75 Eh1/1Trn4c5D9fux/HBYc6wawEVj7ORZL7XQX9RkaJrvL1wa+oX4vgSUP0WJa4orL/EXFp bqqS4QKMx55sdRljTWvvh4Emw7ctuwsGaSQz/6SdY7FvznfF1i4xxjs0CbM06zKUZFuCes vOeq/Ie2wDzKzzbgcnPfORCnRn+cQQY586WPU/YCdF9c8GcfNoT9YU4LBAGJAA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770660321; a=rsa-sha256; cv=none; b=gfTqeoPgK+IxJ+G5ca7pNzG2CXlQGMan1phXUtlKs9OX0LEXzY0tkHpxYWR9gghO+Ao9zs XQmsKNFR8kuVnscVRRoMf846oa0ujC5ysExVqsjyfCoJiXvdL2LIh/hWn54WoB1nhsFsyj 6XPIxspZTsalgNEzxtwsoLCsMRctMXpoYXDGCqNlbJ8b8gODjOC0KEAWM1DYz27dyiYS+A ww49AEXD8B2o5JHwSFlVrKO5Z44MhVasHEV79/y7ZmQ8o59zzTjdpR2D94XzZwI580rD3s jFoTN9C4bZWK57oJM3e4DGBSbAKd5fIZXIJDoMh4t2NMaPsdIZ02io6H0KOc6w== 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=1770660321; 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=rTKmWwrtQkNXw0DSU8hwoS7vKyGvo5pps1WsE02PuuY=; b=Hftg+EvqW1tCvr/bvGlqvhNjL/KVHMzxiCWdwjOQj0kTxdx4F+KbTXSTb+ElT1ttKx9/0d lcXwcI+yKWbF5XyznPKilGDnE7BBAL7rS90Fs5r7MpncQLWGUQWz/xF2uyfHwQIBMxevsd aOYlUxSRqXqmZwa1we2j8x4uBoQhqH3xUhOs/AJP9aRcO3aSFJcOM6ld29e4+GUKBooxGo 4KrHFa/iK/6b2kJ6s8z35yUlJME5FeC2pAlhSvEVWC9zeHxWTKc6QTaqMCWb4PotXzMJOl niLJfTgewLyqSOXkFxzpoyTPWPwjNVGNyxX/cPCxuhb3jRs4R+COHU5ZWJhYbA== 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 4f8t012125zkR7 for ; Mon, 09 Feb 2026 18:05:21 +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 619I5Lxt077412 for ; Mon, 9 Feb 2026 18:05:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 619I5Lba077411 for testing@FreeBSD.org; Mon, 9 Feb 2026 18:05:21 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: testing@FreeBSD.org Subject: [Bug 259971] lib.libc.regex.exhaust_test.regcomp_too_big fails with ASLR on by default Date: Mon, 09 Feb 2026 18:05:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 16.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: testing@FreeBSD.org X-Bugzilla-Flags: mfc-stable15? 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: Testing List-Archive: https://lists.freebsd.org/archives/freebsd-testing List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-testing@freebsd.org Sender: owner-freebsd-testing@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259971 --- Comment #12 from commit-hook@FreeBSD.org --- A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dd17e192524a62801e3ca52ead3716be6c= 7c22531 commit d17e192524a62801e3ca52ead3716be6c7c22531 Author: Mark Johnston AuthorDate: 2026-01-27 21:08:35 +0000 Commit: Mark Johnston CommitDate: 2026-02-09 18:03:41 +0000 netbsd-tests: Fix regcomp_too_big flakiness The test sometimes crashes with ASLR enabled. This seems to happen when regcomp() grows the process stack and happens to run into the virtual memory limit set at the beginning of the test. ASLR triggers the problem since it introduces a bit of fragmentation and thus introduces cases where stack allocation can be the trigger of virtual memory exhaustion, rather than dynamic memory allocation in regcomp(). Make the test stable by priming the stack before doing anything else. This effectively reserves 16MB of virtual memory for the stack, which in practice is enough to make the test stable on amd64. PR: 259971 Reviewed by: ngie, emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D54880 (cherry picked from commit 938915a22c84af88afa587694e8d63ce9dd202f4) contrib/netbsd-tests/lib/libc/regex/t_exhaust.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=