Date: Fri, 13 Jan 2006 21:12:18 +0200 From: Giorgos Keramidas <keramida@FreeBSD.org> To: Jason Evans <jasone@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <20060113191218.GA9829@flame.pc> In-Reply-To: <554CC8A8-35FB-424A-B883-505C26ECBBE8@FreeBSD.org> References: <200601121809.k0CI9QGV028693@repoman.freebsd.org> <AD9B1A12-47F1-4EA1-B270-CC83D3149543@freebsd.org> <20060112182804.GA1047@flame.pc> <20060113012900.GA16082@flame.pc> <554CC8A8-35FB-424A-B883-505C26ECBBE8@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-01-13 11:07, Jason Evans <jasone@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[873]. >> >> 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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060113191218.GA9829>