From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: Emacs crashes Date: Tue, 14 Mar 2006 19:24:54 -0800 Message-ID: <20060315032454.GB2585@flame.pc> References: <17429.54459.803236.351040@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142393237 20458 80.91.229.2 (15 Mar 2006 03:27:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Mar 2006 03:27:17 +0000 (UTC) Cc: nickrob@snap.net.nz, emacs-devel@gnu.org, storm@cua.dk, Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 15 04:27:15 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FJMfL-0007jI-31 for ged-emacs-devel@m.gmane.org; Wed, 15 Mar 2006 04:27:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJMfK-0006go-Hm for ged-emacs-devel@m.gmane.org; Tue, 14 Mar 2006 22:27:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FJMf4-0006fK-6f for emacs-devel@gnu.org; Tue, 14 Mar 2006 22:26:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FJMf3-0006ea-L6 for emacs-devel@gnu.org; Tue, 14 Mar 2006 22:26:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJMf3-0006eQ-BK for emacs-devel@gnu.org; Tue, 14 Mar 2006 22:26:57 -0500 Original-Received: from [62.1.205.36] (helo=igloo.linux.gr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FJMjK-0003fa-BI; Tue, 14 Mar 2006 22:31:22 -0500 Original-Received: from flame.pc (igloo.linux.gr [62.1.205.36]) by igloo.linux.gr (8.13.5/8.13.5/Debian-3) with ESMTP id k2F3QG7e010106; Wed, 15 Mar 2006 05:26:17 +0200 Original-Received: by flame.pc (Postfix, from userid 1001) id 3D78789; Tue, 14 Mar 2006 19:24:54 -0800 (PST) Original-To: Richard Stallman Content-Disposition: inline In-Reply-To: X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.77, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.63, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51642 Archived-At: On 2006-03-14 11:09, Richard Stallman wrote: > But, this Emacs was compiled before these changes: > > 2006-03-10 Kim F. Storm > > * alloc.c (USE_POSIX_MEMALIGN): Fix last change. > > 2006-03-09 Stefan Monnier > > * alloc.c (USE_POSIX_MEMALIGN): New macro. > (ABLOCKS_BASE, lisp_align_malloc, lisp_align_free): Use it. > > > Could you put a note in src/ChangeLog that you get crashes > with a version compiled before that point? I think these changes are very likely to be 100% correct, as not having them fails to bootstrap too many times. Their intent was to only use posix_memalign() when the system's malloc() is used. Otherwise we risk having a memory area allocated by posix_memalign() and then freed with Emacs' internal gmalloc or vice versa. With these changes, on the other hand, failures during bootstrapping on FreeBSD/amd64 have stopped immediately here :-)