[Bug 283083] System goes broken after update from sources with malloc.conf

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 05 Jun 2025 23:24:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283083

Brooks Davis <brooks@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brooks@FreeBSD.org

--- Comment #8 from Brooks Davis <brooks@FreeBSD.org> ---
Ah, I think I see what's going on.

You're inside the thread local storage (TLS) initialization, but jemlloc is
calling strtol which accesses TLS to provide an argument to strtol_l.

Calling strtol_l with a NULL locale might fix this.

(The real issue is that we shouldn't be using jemalloc for TLS, it's not
performance critical due to a pool of TLS entries being reused and having the
runtime tangled in the innards to jemalloc is complicating.)

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