From debbugs-submit-bounces@debbugs.gnu.org Sat May 03 04:00:51 2014 Received: (at submit) by debbugs.gnu.org; 3 May 2014 08:00:51 +0000 Received: from localhost ([127.0.0.1]:49073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgUsN-0007bp-At for submit@debbugs.gnu.org; Sat, 03 May 2014 04:00:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59367) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgUsK-0007bW-1c for submit@debbugs.gnu.org; Sat, 03 May 2014 04:00:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WgUsD-0000oW-Qy for submit@debbugs.gnu.org; Sat, 03 May 2014 04:00:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgUsD-0000oS-9W for submit@debbugs.gnu.org; Sat, 03 May 2014 04:00:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgUsC-00054U-4c for bug-gnu-emacs@gnu.org; Sat, 03 May 2014 04:00:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WgUsB-0000ns-2i for bug-gnu-emacs@gnu.org; Sat, 03 May 2014 04:00:40 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgUsA-0000nn-WC for bug-gnu-emacs@gnu.org; Sat, 03 May 2014 04:00:39 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WgUsA-0004J2-Au; Sat, 03 May 2014 04:00:38 -0400 Date: Sat, 03 May 2014 04:00:38 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: bug-gnu-emacs@gnu.org Subject: GC during idle time becomes fatal X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] I updated from the trunk on May 1, and since then, Emacs seems to GC a lot when idle. I am not sure it is GC, but I don't know what else it could be, and a couple of times Emacs died because I typed C-g at it during that time and said it was fatal to have an error in GC. (It is a bug that C-g C-g during GC causes a crash.) Over time, GC takes longer and longer. Once I had to kill Emacs because it went a few minutes without finishing a GC. A couple of times, it crashed saying memory was full. The previously reported problem, applying to epa decryption still occurs: decryption never finishes. When I type C-g while it is hung, I get a message asking me whether to kill the epa process that is still running. If I say yes, Emacs responds again but the decryption has not been done. I could get more info about that, with some trouble. I don't know how to give more info about the GC problem. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call. From debbugs-submit-bounces@debbugs.gnu.org Sat May 03 04:23:46 2014 Received: (at 17395) by debbugs.gnu.org; 3 May 2014 08:23:46 +0000 Received: from localhost ([127.0.0.1]:49085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgVEX-0008IH-S3 for submit@debbugs.gnu.org; Sat, 03 May 2014 04:23:46 -0400 Received: from mtaout24.012.net.il ([80.179.55.180]:44287) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WgVEU-0008I1-UL for 17395@debbugs.gnu.org; Sat, 03 May 2014 04:23:43 -0400 Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0N4Z00F00O4F9R00@mtaout24.012.net.il> for 17395@debbugs.gnu.org; Sat, 03 May 2014 11:21:15 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4Z00AC9OJF2R60@mtaout24.012.net.il>; Sat, 03 May 2014 11:21:15 +0300 (IDT) Date: Sat, 03 May 2014 11:23:54 +0300 From: Eli Zaretskii Subject: Re: bug#17395: GC during idle time becomes fatal In-reply-to: X-012-Sender: halo1@inter.net.il To: rms@gnu.org Message-id: <837g631d9h.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17395 Cc: 17395@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 03 May 2014 04:00:38 -0400 > From: Richard Stallman > > I updated from the trunk on May 1, and since then, Emacs seems to GC a > lot when idle. I am not sure it is GC, but I don't know what else it could be, > and a couple of times Emacs died because I typed C-g at it during that time > and said it was fatal to have an error in GC. Please use your ~/.bzr.log to see when was your previous update from trunk, and to what bzr revision did you update back then. From debbugs-submit-bounces@debbugs.gnu.org Sun May 04 00:01:02 2014 Received: (at 17395) by debbugs.gnu.org; 4 May 2014 04:01:03 +0000 Received: from localhost ([127.0.0.1]:50269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wgnbq-0001kD-7F for submit@debbugs.gnu.org; Sun, 04 May 2014 00:01:02 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:35077) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wgnbm-0001jY-Oa for 17395@debbugs.gnu.org; Sun, 04 May 2014 00:00:59 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNLd/4Y/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCwsOJhIUGA0kiAQI0hkXjnoHhDgEqRmBaoNMIQ X-IPAS-Result: ArUGAIDvNVNLd/4Y/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCwsOJhIUGA0kiAQI0hkXjnoHhDgEqRmBaoNMIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="61436494" Received: from 75-119-254-24.dsl.teksavvy.com (HELO ceviche.home) ([75.119.254.24]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 04 May 2014 00:00:52 -0400 Received: by ceviche.home (Postfix, from userid 20848) id CE07B66094; Sun, 4 May 2014 00:00:52 -0400 (EDT) From: Stefan Monnier To: Richard Stallman Subject: Re: bug#17395: GC during idle time becomes fatal Message-ID: References: Date: Sun, 04 May 2014 00:00:52 -0400 In-Reply-To: (Richard Stallman's message of "Sat, 03 May 2014 04:00:38 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17395 Cc: 17395@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > (It is a bug that C-g C-g during GC causes a crash.) Indeed. And not one I've heard before. > Over time, GC takes longer and longer. Once I had to kill Emacs > because it went a few minutes without finishing a GC. A couple of > times, it crashed saying memory was full. IOW, the problem is not that the GC is taking longer but that the memory is filling up with many Lisp objects. You can try M-x profiler-start RET mem RET ... use Emacs for a while ... M-x profiler-report. Tho this will only shows us where memory is allocated, which will contain lots of places where that memory is later correctly reclaimed. You can also try the install memory-usage (from GNU ELPA) and then M-x memory-usage RET. Again, it won't give us very much info, but might still be helpful. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun May 04 00:11:18 2014 Received: (at 17395) by debbugs.gnu.org; 4 May 2014 04:11:18 +0000 Received: from localhost ([127.0.0.1]:50283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wgnll-00024M-OF for submit@debbugs.gnu.org; Sun, 04 May 2014 00:11:18 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:53046 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wgnlj-00024A-Nc for 17395@debbugs.gnu.org; Sun, 04 May 2014 00:11:16 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Wgnli-0007kX-MP; Sun, 04 May 2014 00:11:15 -0400 Date: Sun, 04 May 2014 00:11:14 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Eli Zaretskii In-reply-to: <837g631d9h.fsf@gnu.org> (message from Eli Zaretskii on Sat, 03 May 2014 11:23:54 +0300) Subject: Re: bug#17395: GC during idle time becomes fatal References: <837g631d9h.fsf@gnu.org> X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 17395 Cc: 17395@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] My previous update was [14354] 2014-04-24 00:08:25.751 INFO: Updated to revision 117017 of branch bzr+ssh://rms@bzr.savannah.gnu.org/emacs/trunk That is when the decryption bug appeared. I don't know whether the GC bug appeared in that version too, because I did not run it for very long. before that was [11166] 2014-04-02 12:56:08.059 INFO: Updated to revision 116929 of branch bzr+ssh://rms@bzr.savannah.gnu.org/emacs/trunk but I did not build it then. The last version that really worked was this: [16633] 2014-03-18 07:22:45.537 INFO: Updated to revision 116791 of branch bzr+ssh://rms@bzr.savannah.gnu.org/emacs/trunk I am sure neither of these bugs was in that version. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call. From debbugs-submit-bounces@debbugs.gnu.org Mon May 05 02:59:09 2014 Received: (at 17395) by debbugs.gnu.org; 5 May 2014 06:59:09 +0000 Received: from localhost ([127.0.0.1]:51210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WhCrk-0000WA-93 for submit@debbugs.gnu.org; Mon, 05 May 2014 02:59:08 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:45371 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WhCrh-0000Vz-GB for 17395@debbugs.gnu.org; Mon, 05 May 2014 02:59:06 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WhCrf-0007P3-Nm; Mon, 05 May 2014 02:59:03 -0400 Date: Mon, 05 May 2014 02:59:03 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Sun, 04 May 2014 00:00:52 -0400) Subject: Re: bug#17395: GC during idle time becomes fatal References: X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 17395 Cc: 17395@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] IOW, the problem is not that the GC is taking longer but that the memory is filling up with many Lisp objects. You can try M-x profiler-start RET mem RET ... use Emacs for a while ... M-x profiler-report. I have tried this. I can't understand the answers, though. I did profiler-report several times, and each time it displays more than a meg. Once it reported over 7 meg. I did it in a session where I did real work, and got this: + redisplay_internal (C function) 29,776,412 0% tooltip-hide 8,215,721 0% + timer-event-handler 336,066 0% + compilation-sentinel 333,520 0% + isearch-pre-command-hook 262,144 0% internal-timer-start-idle 140,161 0% undefined 131,072 0% + compilation-filter 26,200 0% clear-transient-map 4,120 0% + clear-transient-map 1,040 0% + clear-transient-map 1,040 0% ... 0 0% + command-execute -452333584 0% But the problem had not happened. You can also try the install memory-usage (from GNU ELPA) How? -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call. From debbugs-submit-bounces@debbugs.gnu.org Mon May 05 03:00:15 2014 Received: (at 17395) by debbugs.gnu.org; 5 May 2014 07:00:15 +0000 Received: from localhost ([127.0.0.1]:51217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WhCsn-0000aq-4k for submit@debbugs.gnu.org; Mon, 05 May 2014 03:00:13 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:45453 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WhCsf-0000ZJ-FH for 17395@debbugs.gnu.org; Mon, 05 May 2014 03:00:06 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WhCsf-0007fU-1C; Mon, 05 May 2014 03:00:05 -0400 Date: Mon, 05 May 2014 03:00:05 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Sun, 04 May 2014 00:00:52 -0400) Subject: Re: bug#17395: GC during idle time becomes fatal References: X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 17395 Cc: 17395@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] I can reproduce the frequent and slow GC. Once decryption fails, and I quit out of waiting for it, GC becomes quite frequent. Quitting asks me Buffer " *epg*" has a running process; kill it? I say yes, but afterward there is still a running process called epg. And each successive decryption attempt creates another process. I suppose that is responsible for the frequent garbage collections and filling up memory. It seems to GC after every few chars I type, but not while Emacs is idle. So the only real bug is the one affecting decryption. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 20 17:44:06 2017 Received: (at control) by debbugs.gnu.org; 20 Nov 2017 22:44:06 +0000 Received: from localhost ([127.0.0.1]:49630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eGunO-0002yi-AZ for submit@debbugs.gnu.org; Mon, 20 Nov 2017 17:44:06 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eGunM-0002xz-D4 for control@debbugs.gnu.org; Mon, 20 Nov 2017 17:44:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGunG-00004z-MG for control@debbugs.gnu.org; Mon, 20 Nov 2017 17:43:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGunG-0008WT-Ia for control@debbugs.gnu.org; Mon, 20 Nov 2017 17:43:58 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eGunG-00013I-Cr for control@debbugs.gnu.org; Mon, 20 Nov 2017 17:43:58 -0500 Subject: control message for bug 17395 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 20 Nov 2017 17:43:58 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) forcemerge 17406 17395 From unknown Sun Aug 10 16:45:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 19 Dec 2017 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator