sge_execd segfaults in ptmalloc_lock_all during fork
orion at cora.nwra.com
Thu May 24 08:10:31 PDT 2012
On 05/24/2012 01:52 AM, Ingvar Hagelund wrote:
> on., 23.05.2012 kl. 16.11 -0700, skrev Jason Evans:
>> 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:
> A scratch build for fedora 17 with that patch is available here:
> Please test.
Looks good so far. Thanks all!
Technical Manager 303-415-9701 x222
NWRA, Boulder Office FAX: 303-415-9702
3380 Mitchell Lane orion at nwra.com
Boulder, CO 80301 http://www.nwra.com
More information about the jemalloc-discuss