From unknown Sat Jun 21 03:27:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4629: "Emergency (alloc): Warning: past 85% of memory limit" on NetBSD/mips Reply-To: Izumi Tsutsui , 4629@debbugs.gnu.org Resent-From: Izumi Tsutsui Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 04 Oct 2009 11:15:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4629 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12546543738610 (code B ref -1); Sun, 04 Oct 2009 11:15:09 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Oct 2009 11:06:13 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=3.0 required=4.0 tests=FOURLA,MURPHY_DRUGS_REL8, RCVD_BAD_ID autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n94B6Ap2008606 for ; Sun, 4 Oct 2009 04:06:12 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MuOun-0006Yx-0q for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2009 07:06:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MuOue-0006X7-Ch for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2009 07:06:05 -0400 Received: from [199.232.76.173] (port=44848 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MuOud-0006Wa-44 for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2009 07:05:59 -0400 Received: from vsmtp02.dti.ne.jp ([202.216.231.137]:36965) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MuOuc-0003J6-64 for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2009 07:05:58 -0400 Received: from mirage.ceres.dti.ne.jp (HKRpm202.hyogo-ip.dti.ne.jp [59.157.221.202]) by vsmtp02.dti.ne.jp (3.11v) with ESMTP AUTH id n94B5qfF017573;Sun, 4 Oct 2009 20:05:52 +0900 (JST) Received: from mirage.ceres.dti.ne.jp (localhost [127.0.0.1]) by mirage.ceres.dti.ne.jp (8.14.3/8.14.3) with ESMTP id n94B5qon007891; Sun, 4 Oct 2009 20:05:52 +0900 (JST) Received: (from tsutsui@localhost) by mirage.ceres.dti.ne.jp (8.14.3/8.14.3/Submit) id n94B5qFW010028; Sun, 4 Oct 2009 20:05:52 +0900 (JST) To: bug-gnu-emacs@gnu.org Cc: tsutsui@ceres.dti.ne.jp From: Izumi Tsutsui Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Mailer: mnews [version 1.22PL7(UNI)] 2008-02/02(Sat) Date: Sun, 4 Oct 2009 20:05:51 +0900 Message-ID: <091004200551.M0109566@mirage.ceres.dti.ne.jp> X-detected-operating-system: by monty-python.gnu.org: Solaris 9 Hi, Emacs-23.1 on NetBSD/cobalt (mipsel) 5.0.1 also gets the following warning message as well as bug#2685 on Debian lenny. >> Emergency (alloc): Warning: past 85% of memory limit The following patch (and configure rev 1.326 on HEAD) fixes it: --- src/m/mips.h.orig 2009-06-21 13:38:20.000000000 +0900 +++ src/m/mips.h @@ -50,7 +50,7 @@ NOTE-END */ #define TEXT_START 0x00400000 -#ifndef GNU_LINUX +#if !defined(GNU_LINUX) && !defined(__NetBSD__) #define DATA_START 0x10000000 #endif NetBSD/alpha has the same problem as mentioned in bug#2072, and the following patch for emacs-23.1 works fine on NetBSD/alpha 5.0: --- src/m/alpha.h.orig 2009-06-21 13:38:20.000000000 +0900 +++ src/m/alpha.h @@ -95,7 +95,7 @@ NOTE-END #undef UNEXEC #define UNEXEC unexelf.o -#ifndef GNU_LINUX +#if !defined(GNU_LINUX) && !defined(__NetBSD__) #define DATA_START 0x140000000 #endif I guess these DATA_START definitions are for DEC ULTRIX and OSF/1. Thanks, --- Izumi Tsutsui From unknown Sat Jun 21 03:27:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4629: "Emergency (alloc): Warning: past 85% of memory limit" on NetBSD/mips Reply-To: Dan Nicolaescu , 4629@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 05 Oct 2009 13:05:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4629 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4629-submit@emacsbugs.donarmstrong.com id=B4629.125474765628484 (code B ref 4629); Mon, 05 Oct 2009 13:05:04 +0000 Received: (at 4629) by emacsbugs.donarmstrong.com; 5 Oct 2009 13:00:56 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.4 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from paul-mcgann-v0.ics.uci.edu (paul-mcgann-v0.ics.uci.edu [128.195.1.147]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n95D0tZB028480 for <4629@emacsbugs.donarmstrong.com>; Mon, 5 Oct 2009 06:00:56 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by paul-mcgann-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id n95D0cHI013435; Mon, 5 Oct 2009 06:00:38 -0700 Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n95D0bRV011052; Mon, 5 Oct 2009 06:00:37 -0700 (PDT) Date: Mon, 5 Oct 2009 06:00:37 -0700 (PDT) Message-Id: <200910051300.n95D0bRV011052@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Izumi Tsutsui Cc: 4629@debbugs.gnu.org References: <091004200551.M0109566@mirage.ceres.dti.ne.jp> In-Reply-To: <091004200551.M0109566@mirage.ceres.dti.ne.jp> (Izumi Tsutsui's message of "Sun, 4 Oct 2009 20:05:51 +0900") Lines: 43 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: n95D0cHI013435 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Izumi Tsutsui writes: > Hi, > > Emacs-23.1 on NetBSD/cobalt (mipsel) 5.0.1 also gets the following > warning message as well as bug#2685 on Debian lenny. > > >> Emergency (alloc): Warning: past 85% of memory limit > > The following patch (and configure rev 1.326 on HEAD) fixes it: > > --- src/m/mips.h.orig 2009-06-21 13:38:20.000000000 +0900 > +++ src/m/mips.h > @@ -50,7 +50,7 @@ NOTE-END */ > > #define TEXT_START 0x00400000 > > -#ifndef GNU_LINUX > +#if !defined(GNU_LINUX) && !defined(__NetBSD__) > #define DATA_START 0x10000000 > #endif mips.h is only used on NetBSD and GNU/Linux, so, IMO, the right thing to do here is just remove #define DATA_START in that file. > NetBSD/alpha has the same problem as mentioned in bug#2072, and > the following patch for emacs-23.1 works fine on NetBSD/alpha 5.0: > > --- src/m/alpha.h.orig 2009-06-21 13:38:20.000000000 +0900 > +++ src/m/alpha.h > @@ -95,7 +95,7 @@ NOTE-END > > #undef UNEXEC > #define UNEXEC unexelf.o > -#ifndef GNU_LINUX > +#if !defined(GNU_LINUX) && !defined(__NetBSD__) > #define DATA_START 0x140000000 > #endif The solution should be the same in this file too. OK to check in these 2 removals? From unknown Sat Jun 21 03:27:06 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4629: "Emergency (alloc): Warning: past 85% of memory limit" on NetBSD/mips Reply-To: Izumi Tsutsui , 4629@debbugs.gnu.org Resent-From: Izumi Tsutsui Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 05 Oct 2009 14:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4629 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4629-submit@emacsbugs.donarmstrong.com id=B4629.125475275810096 (code B ref 4629); Mon, 05 Oct 2009 14:30:04 +0000 Received: (at 4629) by emacsbugs.donarmstrong.com; 5 Oct 2009 14:25:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.4 required=4.0 tests=AWL,HAS_BUG_NUMBER,RCVD_BAD_ID autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from vsmtp02.dti.ne.jp (vsmtp02.dti.ne.jp [202.216.231.137]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n95EPuhp010093 for <4629@emacsbugs.donarmstrong.com>; Mon, 5 Oct 2009 07:25:57 -0700 Received: from mirage.ceres.dti.ne.jp (HKRpm202.hyogo-ip.dti.ne.jp [59.157.221.202]) by vsmtp02.dti.ne.jp (3.11v) with ESMTP AUTH id n95EPr8R008907;Mon, 5 Oct 2009 23:25:54 +0900 (JST) Received: from mirage.ceres.dti.ne.jp (localhost [127.0.0.1]) by mirage.ceres.dti.ne.jp (8.14.3/8.14.3) with ESMTP id n95EPrNE018899; Mon, 5 Oct 2009 23:25:53 +0900 (JST) Received: (from tsutsui@localhost) by mirage.ceres.dti.ne.jp (8.14.3/8.14.3/Submit) id n95EPrKA014608; Mon, 5 Oct 2009 23:25:53 +0900 (JST) To: dann@ics.uci.edu Cc: 4629@debbugs.gnu.org, tsutsui@ceres.dti.ne.jp In-Reply-To: <200910051300.n95D0bRV011052@godzilla.ics.uci.edu> From: Izumi Tsutsui Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Mailer: mnews [version 1.22PL7(UNI)] 2008-02/02(Sat) Date: Mon, 5 Oct 2009 23:25:53 +0900 Message-ID: <091005232553.M0108862@mirage.ceres.dti.ne.jp> dann@ics.uci.edu wrote: > mips.h is only used on NetBSD and GNU/Linux, so, IMO, the right thing to > do here is just remove #define DATA_START in that file. : > > --- src/m/alpha.h.orig 2009-06-21 13:38:20.000000000 +0900 > > +++ src/m/alpha.h : > The solution should be the same in this file too. > > OK to check in these 2 removals? No problem for me. --- Izumi Tsutsui From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 27 17:28:11 2010 Received: (at control) by debbugs.gnu.org; 27 Jan 2010 22:28:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaGMs-0000c3-Bf for submit@debbugs.gnu.org; Wed, 27 Jan 2010 17:28:10 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaGMr-0000by-0E for control@debbugs.gnu.org; Wed, 27 Jan 2010 17:28:09 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NaGMn-0007OK-3v; Wed, 27 Jan 2010 17:28:05 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19296.48629.96436.638769@fencepost.gnu.org> Date: Wed, 27 Jan 2010 17:28:05 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: cyan X-Ran: 0TV}r/rsw&u^pJU\=0+2(iP_DvG;#sy=b-[j^^4Y%q'cqa)&LXPkw?icI:bXVA9JYlF9%K X-Debbugs-No-Ack: yes X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) close 4605 severity 4610 wishlist severity 4629 important tags 4629 patch severity 4655 minor From unknown Sat Jun 21 03:27:06 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#4629: "Emergency (alloc): Warning: past 85% of memory limit" on NetBSD/mips References: <091004200551.M0109566@mirage.ceres.dti.ne.jp> In-Reply-To: <091004200551.M0109566@mirage.ceres.dti.ne.jp> Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jan 2010 17:38:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 4629 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch To: Izumi Tsutsui Cc: Dan Nicolaescu , 4629@debbugs.gnu.org, 2072@debbugs.gnu.org Received: via spool by 4629-submit@debbugs.gnu.org id=B4629.126470024810291 (code B ref 4629); Thu, 28 Jan 2010 17:38:02 +0000 Received: (at 4629) by debbugs.gnu.org; 28 Jan 2010 17:37:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaYJ4-0002fr-4J for submit@debbugs.gnu.org; Thu, 28 Jan 2010 12:37:26 -0500 Received: from pantheon-po34.its.yale.edu ([130.132.50.80]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaYIz-0002fR-2f; Thu, 28 Jan 2010 12:37:23 -0500 Received: from furry (dhcp128036014123.central.yale.edu [128.36.14.123]) (authenticated bits=0) by pantheon-po34.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o0SHbDK2000434 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 28 Jan 2010 12:37:14 -0500 Received: by furry (Postfix, from userid 1000) id A24AAC05D; Thu, 28 Jan 2010 12:37:13 -0500 (EST) From: Chong Yidong Date: Thu, 28 Jan 2010 12:37:13 -0500 Message-ID: <87vdemnnau.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) Dan Nicolaescu ics.uci.edu> wrote: > Izumi Tsutsui ceres.dti.ne.jp> wrote: > > > Emacs-23.1 on NetBSD/cobalt (mipsel) 5.0.1 also gets the following > > warning message as well as bug#2685 on Debian lenny. > > > > >> Emergency (alloc): Warning: past 85% of memory limit > > > > The following patch (and configure rev 1.326 on HEAD) fixes it: > > mips.h is only used on NetBSD and GNU/Linux, so, IMO, the right thing to > do here is just remove #define DATA_START in that file. Indeed, thanks. I've checked in the suggested fix. Thanks. > > NetBSD/alpha has the same problem as mentioned in bug#2072, and > > the following patch for emacs-23.1 works fine on NetBSD/alpha 5.0: > > The solution should be the same in this file too. FreeBSD and OpenBSD also use this, so I'm not sure this is right. For now, let's just use the __NetBSD__ conditional as originally suggested. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 28 12:37:52 2010 Received: (at control) by debbugs.gnu.org; 28 Jan 2010 17:37:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaYJU-0002gU-J5 for submit@debbugs.gnu.org; Thu, 28 Jan 2010 12:37:52 -0500 Received: from pantheon-po33.its.yale.edu ([130.132.50.94]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaYJT-0002gN-Mg for control@debbugs.gnu.org; Thu, 28 Jan 2010 12:37:51 -0500 Received: from furry (dhcp128036014123.central.yale.edu [128.36.14.123]) (authenticated bits=0) by pantheon-po33.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o0SHblmW004364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 28 Jan 2010 12:37:47 -0500 Received: by furry (Postfix, from userid 1000) id 4C1ACC05D; Thu, 28 Jan 2010 12:37:47 -0500 (EST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 4629 Date: Thu, 28 Jan 2010 12:37:47 -0500 Message-ID: <87sk9qnn9w.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) close 4629 close 2072 thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 28 13:17:13 2010 Received: (at control) by debbugs.gnu.org; 28 Jan 2010 18:17:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaYvZ-0004Y0-4X for submit@debbugs.gnu.org; Thu, 28 Jan 2010 13:17:13 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NaYvX-0004Xo-Sy for control@debbugs.gnu.org; Thu, 28 Jan 2010 13:17:12 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NaYvO-0003eX-Jo; Thu, 28 Jan 2010 13:17:04 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19297.54429.405783.973574@fencepost.gnu.org> Date: Thu, 28 Jan 2010 13:17:01 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: magenta X-Ran: ugFtMYt#gC(%Tc=V9]k&`8nB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) forcemerge 4629 2072