From nobody Tue Jan 27 21:14:40 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 4f0ypS3T7Dz6QRZn for ; Tue, 27 Jan 2026 21:14:40 +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 4f0ypS2k4Rz3ktk for ; Tue, 27 Jan 2026 21:14:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769548480; 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=EnrVxd2F35vkgRllm8elJHYKJEvrBrZJ+AV/c0Y6CJ8=; b=gP4XkdPYBQ+EGKWJXDsIARwEXF+ei+R27LlT/vAk4gSW5OYLJGobKp8vmjahbLGIdi33Pc miT9FvE2jDHRHPRMmxIiFoQnCOW3ynr4934UIZIUdprb/IazFuISR/N2BV4wdplpoiaZn3 0qab1uTRjbUh8lXg+ANBk8EhxLdV07Irk/vWdSKlFQjd4pWGhmT4IBfx5UaApBbKDiAg9B FrLc3MYtqd/ez21NC7PXCVs5QCkomysjLq8I3HamLJuRkXiVfE9lYs/KkH6/9UjaZic3Vg 3WVMZclr97ztsD4LTWMGzRRy008W9iT8q8HRYmXTvq1nEl01S3o/oWtGcmjBqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769548480; 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=EnrVxd2F35vkgRllm8elJHYKJEvrBrZJ+AV/c0Y6CJ8=; b=WcHQkbbvKrINk1n6lsW2iLKuMvbd2LHOaiX+QDg82AxagZFr61vXyEIPry6cQreftxywnr E9tzIRLuOWmZLsbjXonj8hyiE6gAnqbe71OUqf2J3dlnzELtyNKwzhFb+nSFOYLph7vycC vHQfStSbRUbAoyio0Dp25lOP6w7Z73soUve7K6Qj/h+s/dHW9/TZ3kCSLVMuVqp9wdW8IT qV1MwhXRHBAEPCXkWMTsRA73CDhHoeMJSvPoZUH/BNh85FtSeCEVP9eZ31HYDOsOQ+5GFJ FSDxWp068wKg7pSj+6zetIvRd8uaIaW13+3Pjf98s+iTo8QgekeqTY6ew9BPZw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1769548480; a=rsa-sha256; cv=none; b=LGMJsSLRUfSjZy+1KBICrUlROOlZETlY7LsD+wwGKcDg/7y8EGvLuuP53ROtC+T3fW2UTT iZUqfK8FzZl5oU8GCJ9NGQbwVj1wlsjiXuxeIYI1Rfw5+YypvY3RjerO8mhcrNjTAkv0Yh nwPYUHR91O2K2jQ5Qzln/CWMHayzrLZ587pOEh7168cUSj/XADzVGPgerfwNF6Fm7jxurh cloaAnJQaH9MT8p9LaQCMBTTmFrTNomNCHlVGPXAfHHMEAx045Fe61hRLAZmc0xtQMAnYk 3LBZBMu5iNBh2fp8KAlm+mhqs74poCmkVdf9DQgpvcEaQDNhHIazCxF67wgztg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4f0ypS2L37z7Zj for ; Tue, 27 Jan 2026 21:14:40 +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 60RLEeuM010703 for ; Tue, 27 Jan 2026 21:14:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 60RLEeKa010702 for testing@FreeBSD.org; Tue, 27 Jan 2026 21:14:40 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: Tue, 27 Jan 2026 21:14:40 +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 #11 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D938915a22c84af88afa587694e8d63ce9= dd202f4 commit 938915a22c84af88afa587694e8d63ce9dd202f4 Author: Mark Johnston AuthorDate: 2026-01-27 21:08:35 +0000 Commit: Mark Johnston CommitDate: 2026-01-27 21:08:35 +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 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.=