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#10664: 24.0.93; JIT font-lock infloops in a C file Date: Mon, 06 Feb 2012 19:04:17 +0200 Message-ID: <83wr7zc2r2.fsf@gnu.org> References: <83wr89qcay.fsf@gnu.org> <83bopdcfe5.fsf@gnu.org> <20120206110957.GA2731@acm.acm> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1328547936 28332 80.91.229.3 (6 Feb 2012 17:05:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2012 17:05:36 +0000 (UTC) Cc: 10664@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 06 18:05:36 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RuS0V-00016b-OC for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2012 18:05:35 +0100 Original-Received: from localhost ([::1]:59549 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuS0V-0003kT-7I for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2012 12:05:35 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:43735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuS0N-0003XA-IH for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 12:05:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RuS0E-0001hz-1f for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 12:05:27 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuS07-0001hE-OC; Mon, 06 Feb 2012 12:05:11 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RuS0v-0002mX-MD; Mon, 06 Feb 2012 12:06:02 -0500 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, bug-cc-mode@gnu.org Resent-Date: Mon, 06 Feb 2012 17:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10664 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 10664-submit@debbugs.gnu.org id=B10664.132854791910633 (code B ref 10664); Mon, 06 Feb 2012 17:06:01 +0000 Original-Received: (at 10664) by debbugs.gnu.org; 6 Feb 2012 17:05:19 +0000 Original-Received: from localhost ([127.0.0.1]:57407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RuS0E-0002lS-Iv for submit@debbugs.gnu.org; Mon, 06 Feb 2012 12:05:18 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:49251) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RuS0C-0002lH-Ub for 10664@debbugs.gnu.org; Mon, 06 Feb 2012 12:05:17 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LYZ00A00E1U4000@a-mtaout20.012.net.il> for 10664@debbugs.gnu.org; Mon, 06 Feb 2012 19:04:15 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.162.243]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LYZ0096ZE329UG0@a-mtaout20.012.net.il>; Mon, 06 Feb 2012 19:04:15 +0200 (IST) In-reply-to: <20120206110957.GA2731@acm.acm> 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:56574 Archived-At: > Date: Mon, 6 Feb 2012 11:09:57 +0000 > Cc: 10664@debbugs.gnu.org > From: Alan Mackenzie > > I got something similar for this socket.c. I load it into emacs -Q, then > start scrolling downwards, a page at a time. The first five scrolls are > fine. Then it hangs on the sixth. > > However, typing C-g (maybe twice) frees it up, and it does the scroll. > Careful perusal reveals that the fontification is incomplete. From now > on, most key sequences must be followed by C-g to perform their commands. > ;-(. > > Did you actually try C-g when your session hung? I'm quite sure I did. But that was on Windows, where C-g is less powerful than on Posix platforms (since keyboard input is not interrupt driven). So it could be that what you can interrupt on GNU/Linux, I cannot on Windows. > I was able to run elp on this, and I've a fairly good idea where it's got > stuck, but not yet why. Let me know if you need any further help. > > > I still have that session in a debugger, so if someone wants me to > > > look around and show some values, I can do that. > > I'm not sure I'd be able to make much out of debugger results. I'm not > familiar enough with the internals of Emacs. :-( That's good, because I needed to kill that session in order to rebuild Emacs. > Can you restart this Emacs session? No, but I can start another and do the same (i.e. wait for it to hang in the same way). The problem is reproducible in my configuration. But I think it would be better to wait for you to fix that problem you are zeroing in, and then see if it also fixes my hangs. Thanks.