sge_execd segfaults in ptmalloc_lock_all during fork
Ingvar Hagelund
ingvar at redpill-linpro.com
Thu May 24 00:52:36 PDT 2012
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:
>
> http://www.canonware.com/cgi-bin/gitweb.cgi?p=jemalloc.git;a=commitdiff;h=5c710cee783a44061fa2c467ffd8984b8047b90e
A scratch build for fedora 17 with that patch is available here:
http://koji.fedoraproject.org/koji/taskinfo?taskID=4097345
Please test.
Ingvar
More information about the jemalloc-discuss
mailing list