[Bug 294039] databases/postgresql14-server: jemalloc crashes triggered by autovacuum

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Apr 2026 02:57:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294039

--- Comment #15 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=9b7c0f4f81f06424899094d4381dede79669b623

commit 9b7c0f4f81f06424899094d4381dede79669b623
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-04-08 04:21:09 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-04-13 02:53:32 +0000

    vm_fault: Reset m_needs_zeroing properly

    - When allocating a page, we should only consider the PG_ZERO flag when
      handling the top-level page.
    - Unconditionally reset the flag when restarting the fault handler.
      Previously, vm_fault_busy_sleep() would fail to reset it.

    PR:             294039
    Reviewed by:    kib
    Tested by:      Peter Much <pmc@citylink.dinoex.sub.org>
    MFC after:      3 days
    Fixes:          cff67bc43df1 ("vm_fault: only rely on PG_ZERO when the page
was newly allocated")
    Differential Revision:  https://reviews.freebsd.org/D56234

    (cherry picked from commit 04132e01004316ddd0e0cde6ef15b100b7b1844d)

 sys/vm/vm_fault.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.