cvs commit: src/lib/libc/stdlib malloc.c
keramida at FreeBSD.org
Fri Jan 13 11:13:58 PST 2006
On 2006-01-13 11:07, Jason Evans <jasone at FreeBSD.org> wrote:
>On Jan 12, 2006, at 5:29 PM, Giorgos Keramidas wrote:
>> Does this look like an off-by-one error to you too Jason?
>> Apparently, the
>> allocated size of s->data is s->size, which is 873 bytes, but then
>> Emacs tries
>> to access s->data.
>> Does it look like I'm right in thinking that this is a bug in Emacs?
> This looks like a bug in emacs, as you say, but I don't know if it
> has any particular relation to the posix_memalign() changes.
I updated my FreeBSD tree to a version before posix_memalign() was
exported by libc:
$ more /home/build/pre-jasone-malloc
cvs -q up -APd -D '2006/01/12 07:28:20 UTC'
and Emacs can bootstrap correctly.
> If updating to either before or after the broken posix_memalign()
> revision, and need help figuring out the issue, please let me know.
I'll see if the Emacs folks at emacs-devel at gnu.org can help me track
down why the new posix_memalign() function caused the problems.
Thanks for the offer to help, I may need some as I track this down.
More information about the cvs-src