From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24013: 25.0.95; Emacs 25.x uses up all memory and needs to be killed Date: Sun, 17 Jul 2016 17:19:46 +0300 Message-ID: <83eg6s2vp9.fsf@gnu.org> References: <8737n88mm2.fsf@Rainer.invalid> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1468765284 22128 80.91.229.3 (17 Jul 2016 14:21:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Jul 2016 14:21:24 +0000 (UTC) Cc: 24013@debbugs.gnu.org To: Achim Gratz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 17 16:21:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bOmwT-0006cs-10 for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jul 2016 16:21:13 +0200 Original-Received: from localhost ([::1]:41790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOmwS-0002e3-6M for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jul 2016 10:21:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOmwM-0002du-6z for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2016 10:21:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOmwI-0002Md-2T for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2016 10:21:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOmwH-0002MZ-V3 for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2016 10:21:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bOmwH-00069f-Ox for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2016 10:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Jul 2016 14:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24013 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24013-submit@debbugs.gnu.org id=B24013.146876520423583 (code B ref 24013); Sun, 17 Jul 2016 14:21:01 +0000 Original-Received: (at 24013) by debbugs.gnu.org; 17 Jul 2016 14:20:04 +0000 Original-Received: from localhost ([127.0.0.1]:54648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bOmvL-00068J-Th for submit@debbugs.gnu.org; Sun, 17 Jul 2016 10:20:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bOmvK-00067m-Ig for 24013@debbugs.gnu.org; Sun, 17 Jul 2016 10:20:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOmvC-00029z-9n for 24013@debbugs.gnu.org; Sun, 17 Jul 2016 10:19:57 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOmvC-00029E-6N; Sun, 17 Jul 2016 10:19:54 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1688 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bOmvA-0003BN-A4; Sun, 17 Jul 2016 10:19:52 -0400 In-reply-to: <8737n88mm2.fsf@Rainer.invalid> (message from Achim Gratz on Sun, 17 Jul 2016 14:39:33 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:121173 Archived-At: > From: Achim Gratz > Date: Sun, 17 Jul 2016 14:39:33 +0200 > > To reproduce, set a mark (C-Space) somewhere in the file. Then > extend/shrink the selection region by doing Shift-PgUp / Shift-PgDwn, > going back and forth several times. Once you've crossed a portion of > the file that has the "foreign" line endings, as soon as you take your > finger off the Shift key Emacs becomes unresponsive (the cursor > vanishes). Several seconds later it starts allocating memory in an > apparently exponential fashion until it has exhausted both physical and > swap, while maxing out one CPU core. The process must be killed. > > Trying the same recipe with Emacs 24.5 yields a short phase of > unresponsiveness with the cursor vanished, then it returns with an error > message "Timed out waiting for property-notify event". That error message is related to X selections. Does the problem go away if you disable putting the selected text into the X selections? If it does, do you have some agent running that manages X selections? Also, what is your value of selection-coding-system? Thanks.