From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: [mark@mcs.vuw.ac.nz: Problem on 64bit systems.] Date: Sun, 29 Oct 2006 16:54:56 -0500 Message-ID: <87d58ass7j.fsf@furball.mit.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162158952 25631 80.91.229.2 (29 Oct 2006 21:55:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 29 Oct 2006 21:55:52 +0000 (UTC) Cc: Mark Davies , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 29 22:55:51 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 1GeId8-0007Hm-B3 for ged-emacs-devel@m.gmane.org; Sun, 29 Oct 2006 22:55:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GeId7-0002OB-Q9 for ged-emacs-devel@m.gmane.org; Sun, 29 Oct 2006 16:55:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GeIcs-0002Ng-Pz for emacs-devel@gnu.org; Sun, 29 Oct 2006 16:55:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GeIcs-0002NS-EY for emacs-devel@gnu.org; Sun, 29 Oct 2006 16:55:30 -0500 Original-Received: from [18.72.1.2] (helo=south-station-annex.mit.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GeIcs-0005Da-GS; Sun, 29 Oct 2006 16:55:30 -0500 Original-Received: from grand-central-station.mit.edu (GRAND-CENTRAL-STATION.MIT.EDU [18.7.21.82]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id k9TLtRUd001589; Sun, 29 Oct 2006 16:55:27 -0500 (EST) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by grand-central-station.mit.edu (8.13.6/8.9.2) with ESMTP id k9TLt3Dv011979; Sun, 29 Oct 2006 16:55:04 -0500 (EST) Original-Received: from furball.mit.edu (SYDNEYPACIFIC-FOUR-THIRTY-SEVEN.MIT.EDU [18.95.6.182]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id k9TLt2KB015044; Sun, 29 Oct 2006 16:55:02 -0500 (EST) Original-Received: from cyd by furball.mit.edu with local (Exim 3.36 #1 (Debian)) id 1GeIcM-0007yV-00; Sun, 29 Oct 2006 16:54:58 -0500 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sun\, 29 Oct 2006 13\:46\:05 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: -2.599 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:61352 Archived-At: Richard Stallman writes: > Would someone please install this, then ack? I installed it. (I assumed you already checked it for correctness.) Thanks. > From: Mark Davies > Subject: Problem on 64bit systems. > To: bug-gnu-emacs@gnu.org > > I thing I reported this back when I found it but in case I didn't: > > emacs would quickly complain about running out of memory and core dump on > amd64 systems on NetBSD. Problem was tracked down to a bug in ralloc.c that > caused a negative number intended to be an argument to sbrk() to reduce the > break to be treated as a large positive one (because of wrong sized object > being passed on the stack). > > Below patch fixes: > > - --- src/ralloc.c.orig 2001-02-20 01:19:40.000000000 +1300 > +++ src/ralloc.c > @@ -328,7 +328,7 @@ static void > relinquish () > { > register heap_ptr h; > - - int excess = 0; > + long excess = 0; > > /* Add the amount of space beyond break_value > in all heaps which have extend beyond break_value at all. */ > > cheers > mark > > > _______________________________________________ > bug-gnu-emacs mailing list > bug-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs > ---------- > > > > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-devel