dead lock in forked child

Salvatore Sanfilippo antirez at
Fri May 25 09:10:44 PDT 2012

On Fri, May 25, 2012 at 6:00 PM, Kyle Huey <me at> wrote:

Though, it appears that the standalone jemalloc has this too.

Indeed, it is protected by the following defines:

#if (!defined(JEMALLOC_MUTEX_INIT_CB) && !defined(JEMALLOC_ZONE) \
    && !defined(_WIN32))

So I think it gets compiled by default on Linux, but not on osx.

Still apparently the test code produces the bug (against 3.0.0 as well).


Salvatore 'antirez' Sanfilippo
open source developer - VMware

Beauty is more important in computing than anywhere else in technology
because software is so complicated. Beauty is the ultimate defence against
       — David Gelernter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the jemalloc-discuss mailing list