all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [mark@mcs.vuw.ac.nz: Problem on 64bit systems.]
@ 2006-10-29 18:46 Richard Stallman
  2006-10-29 21:54 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Stallman @ 2006-10-29 18:46 UTC (permalink / raw)


Would someone please install this, then ack?

------- Start of forwarded message -------
From: Mark Davies <mark@mcs.vuw.ac.nz>
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 -------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [mark@mcs.vuw.ac.nz: Problem on 64bit systems.]
  2006-10-29 18:46 [mark@mcs.vuw.ac.nz: Problem on 64bit systems.] Richard Stallman
@ 2006-10-29 21:54 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2006-10-29 21:54 UTC (permalink / raw)
  Cc: Mark Davies, emacs-devel

Richard Stallman <rms@gnu.org> writes:

> Would someone please install this, then ack?

I installed it.  (I assumed you already checked it for correctness.)

Thanks.

> From: Mark Davies <mark@mcs.vuw.ac.nz>
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-29 21:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-29 18:46 [mark@mcs.vuw.ac.nz: Problem on 64bit systems.] Richard Stallman
2006-10-29 21:54 ` Chong Yidong

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.