Date: Tue, 12 Oct 2021 21:49:31 +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-uUyWomwPoc@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 #4 from Konstantin Belousov <kib@FreeBSD.org> --- So there are two unrelated issues. One is jemalloc, and there I could not help, ask jemalloc developers perhaps. Another *is* in crt_malloc, and my fixed patch somewhat helps your problem: solo% LD_LIBRARY_PATH=3D/usr/obj/usr/home/kostik/work/DEV/src/amd64.amd64/lib/lib= thr ktrace -f /tmp/ktrace.out ./jemalloc_limit alloc 51200 Kbytes freed 51200 Kbytes jemalloc_limit: pthread_mutex_init: Cannot allocate memory 320 mutexes: 40 Kbytes I suspect you rebuilt rtld instead of libthr. The fixed patch is available at https://reviews.freebsd.org/D32474 --=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-uUyWomwPoc>