Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2021 23:46:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 259076] pthread_mutex_init fails with limited AS
Message-ID:  <bug-259076-227-KZbLeCMKb7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259076-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259076-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259076

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D19e008e7f79ce55182d227be8513b3fa5=
20471d8

commit 19e008e7f79ce55182d227be8513b3fa520471d8
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-10-11 16:13:31 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-10-12 23:37:09 +0000

    crt_malloc: Be more persistent when handling mmap() failure

    In the situation with limited address space, together with
    fragmentation, it is possible for mmap() request in morecore() to fail
    when asking for required size + NPOOLPAGES, but succeed without the
    addend.  Retry allocation there.

    PR:     259076
    Reported by:    Denis Koreshkov <dynamic-wind@mail.ru>
    Reviewed by:    arichardson
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D32474

 libexec/rtld-elf/rtld_malloc.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259076-227-KZbLeCMKb7>