From owner-cvs-all@FreeBSD.ORG Fri Jan 13 19:13:58 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A90F16A422; Fri, 13 Jan 2006 19:13:58 +0000 (GMT) (envelope-from keramida@FreeBSD.org) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 702C743D4C; Fri, 13 Jan 2006 19:13:57 +0000 (GMT) (envelope-from keramida@FreeBSD.org) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) by kane.otenet.gr (8.13.4/8.13.4/Debian-8) with SMTP id k0DJDsi9019778; Fri, 13 Jan 2006 21:13:54 +0200 Received: by flame.pc (Postfix, from userid 1001) id EBD3111755; Fri, 13 Jan 2006 21:12:18 +0200 (EET) Date: Fri, 13 Jan 2006 21:12:18 +0200 From: Giorgos Keramidas To: Jason Evans Message-ID: <20060113191218.GA9829@flame.pc> References: <200601121809.k0CI9QGV028693@repoman.freebsd.org> <20060112182804.GA1047@flame.pc> <20060113012900.GA16082@flame.pc> <554CC8A8-35FB-424A-B883-505C26ECBBE8@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <554CC8A8-35FB-424A-B883-505C26ECBBE8@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 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2006 19:13:58 -0000 On 2006-01-13 11:07, Jason Evans 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.