http://sourceware.org/bugzilla/show_bug.cgi?id=14149
--- Comment #1 from Cary Coutant 2012-05-23
21:59:08 UTC ---
> Note that _end has a mis-aligned address. This causes jemalloc (the malloc in
> FreeBSD's libc) to corrupt it's internal RB trees as it assumes the start of
> the heap is aligned
http://sourceware.org/bugzilla/show_bug.cgi?id=14149
--- Comment #2 from jhb at FreeBSD dot org 2012-05-24 12:11:24 UTC ---
That's fair. In fact, the man pages for end(3) and sbrk(2) on FreeBSD do not
make any claims at all about alignment. POSIX intentionally states that
sbrk(2) return values d
http://sourceware.org/bugzilla/show_bug.cgi?id=14149
--- Comment #3 from jhb at FreeBSD dot org 2012-08-27 14:15:53 UTC ---
FYI, jemalloc has since been fixed to handle unaligned _end addresses. Given
the link in my last comment about POSIX not requiring any specific alignment
from sbrk(), I thin
http://sourceware.org/bugzilla/show_bug.cgi?id=14149
Paul Pluzhnikov changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|