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#12196: 24.1.50; setting cache-long-line-scans to non-nil freezes Emacs Date: Fri, 24 Aug 2012 16:35:32 +0300 Message-ID: <83ehmwh0pn.fsf@gnu.org> References: <87has6ysxn.fsf@web.de> <834no4jeoa.fsf@gnu.org> <87ehmwscrt.fsf@web.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1345815391 10448 80.91.229.3 (24 Aug 2012 13:36:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Aug 2012 13:36:31 +0000 (UTC) Cc: 12196@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 24 15:36:32 2012 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 1T4u3r-0006ea-Sn for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Aug 2012 15:36:32 +0200 Original-Received: from localhost ([::1]:42710 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4u3q-0001Fd-39 for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Aug 2012 09:36:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4u3n-0001FX-Kk for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2012 09:36:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4u3m-00013J-Hs for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2012 09:36:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4u3m-00013F-EE for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2012 09:36:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T4u4M-00015s-6X for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2012 09:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Aug 2012 13:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12196 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12196-submit@debbugs.gnu.org id=B12196.13458153864160 (code B ref 12196); Fri, 24 Aug 2012 13:37:02 +0000 Original-Received: (at 12196) by debbugs.gnu.org; 24 Aug 2012 13:36:26 +0000 Original-Received: from localhost ([127.0.0.1]:46574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T4u3i-00014z-LB for submit@debbugs.gnu.org; Fri, 24 Aug 2012 09:36:26 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:63257) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T4u3d-00014l-GN for 12196@debbugs.gnu.org; Fri, 24 Aug 2012 09:36:21 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M9900000HIRXH00@a-mtaout20.012.net.il> for 12196@debbugs.gnu.org; Fri, 24 Aug 2012 16:35:22 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M99000ZRHQXE880@a-mtaout20.012.net.il>; Fri, 24 Aug 2012 16:35:21 +0300 (IDT) In-reply-to: <87ehmwscrt.fsf@web.de> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63452 Archived-At: > From: Michael Heerdegen > Cc: 12196@debbugs.gnu.org > Date: Fri, 24 Aug 2012 14:19:34 +0200 > > Thanks, Eli. However, I still see the freezing. I have > > GNU Emacs 24.2.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2) > of 2012-08-23 on dex, modified by Debian > > now, so your fix should be included. Do you see a reference to bug#12196 in src/ChangeLog of that distribution? If not, then my fix is not included. > In emacs -Q, I did C-x d ~ RET and set `cache-long-line-scans' to t. > Then I moved around in that buffer with the arrow keys and prior/ next. > After a few seconds, Emacs was frozen. > > In another test, I started emacs -Q and evaluated > > (setq-default cache-long-line-scans t) > > Then I did some trivial things like changing current buffer and moving > around. In some cases, CPU consumption went to 100% while I did > nothing, and Emacs didn't respond anymore. Another time, Emacs aborted. I cannot reproduce any of this on my system. Emacs never freezes on me. Does Emacs really freeze, or does it just do some prolonged operation? (And is your CPU really an i486?) If you wait for a long time, does Emacs eventually recover and become responsive again? If Emacs really freezes, attach a debugger to it when it does, type "bt" at the debugger's prompt, and post here everything the debugger displays in response. Then try to follow the advice in etc/DEBUG, under "If the symptom of the bug is that Emacs fails to respond", to establish which Emacs function, if any, is looping.