From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [mark@mcs.vuw.ac.nz: Problem on 64bit systems.] Date: Sun, 29 Oct 2006 13:46:05 -0500 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1162147681 25906 80.91.229.2 (29 Oct 2006 18:48:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 29 Oct 2006 18:48:01 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 29 19:48:01 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 1GeFhM-00071P-Gi for ged-emacs-devel@m.gmane.org; Sun, 29 Oct 2006 19:47:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GeFhM-0003B0-1n for ged-emacs-devel@m.gmane.org; Sun, 29 Oct 2006 13:47:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GeFfg-0000n7-JY for emacs-devel@gnu.org; Sun, 29 Oct 2006 13:46:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GeFff-0000lp-V0 for emacs-devel@gnu.org; Sun, 29 Oct 2006 13:46:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GeFff-0000lX-Eu for emacs-devel@gnu.org; Sun, 29 Oct 2006 13:46:11 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GeFff-0001sJ-8X for emacs-devel@gnu.org; Sun, 29 Oct 2006 13:46:11 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1GeFfZ-0007gP-6a; Sun, 29 Oct 2006 13:46:06 -0500 Original-To: emacs-devel@gnu.org 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:61341 Archived-At: Would someone please install this, then ack? ------- Start of forwarded message ------- From: Mark Davies To: bug-gnu-emacs@gnu.org Date: Sat, 28 Oct 2006 08:44:53 +1300 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Subject: Problem on 64bit systems. X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=failed version=3.0.4 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 ------- End of forwarded message -------