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:
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
Looks good so far. Thanks all!
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder Office FAX: 303-415-9702
3380 Mitchell Lane [email protected]
Boulder, CO 80301 http://www.nwra.com
_______________________________________________
jemalloc-discuss mailing list
[email protected]
http://www.canonware.com/mailman/listinfo/jemalloc-discuss