sge_execd segfaults in ptmalloc_lock_all during fork
jasone at canonware.com
Wed May 23 16:11:15 PDT 2012
On May 23, 2012, at 2:48 PM, Orion Poplawski wrote:
> I'm seeing sge_execd segfaults in ptmalloc_lock_all during fork on Fedora 17 with jemalloc 3.0.0. See https://bugzilla.redhat.com/show_bug.cgi?id=824646 for details.
In my own build of jemalloc, I see via nm(1) that in libjemalloc[_pic].a and jemalloc.o, the __*_hook symbols are read-only data ('R'), but they should be writable ('D'), as they are in libjemalloc.so.1. This problem arises because jemalloc mistakenly declares the hooks as const, so they are indeed read-only (whoops). Here's the fix:
More information about the jemalloc-discuss