From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#10664: 24.0.93; JIT font-lock infloops in a C file Date: Mon, 06 Feb 2012 09:39:26 -0500 Message-ID: References: <83wr89qcay.fsf@gnu.org> <83bopdcfe5.fsf@gnu.org> <20120206110957.GA2731@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328539235 17689 80.91.229.3 (6 Feb 2012 14:40:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2012 14:40:35 +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 15:40:34 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 1RuPk7-0007xh-7S for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2012 15:40:31 +0100 Original-Received: from localhost ([::1]:47875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuPk6-0007QB-Lc for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2012 09:40:30 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:54852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuPk3-0007Q5-Ub for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 09:40:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RuPju-0005aR-Jc for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 09:40:27 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuPjo-0005YQ-B4; Mon, 06 Feb 2012 09:40:12 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RuPkc-00054F-7g; Mon, 06 Feb 2012 09:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier 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 14:41:02 +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.132853922519428 (code B ref 10664); Mon, 06 Feb 2012 14:41:02 +0000 Original-Received: (at 10664) by debbugs.gnu.org; 6 Feb 2012 14:40:25 +0000 Original-Received: from localhost ([127.0.0.1]:56594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RuPk1-00053H-0F for submit@debbugs.gnu.org; Mon, 06 Feb 2012 09:40:25 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:27667) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RuPjy-000535-Pp for 10664@debbugs.gnu.org; Mon, 06 Feb 2012 09:40:23 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EAMrlL09MCqD0/2dsb2JhbABDrRCCKIEGgXIBAQQBViMFCwsOJhIUGA0kiA+5P4wOEgICAwYCBAIBBAICDAYNhB4BBAQMDAaDOQSIRJsDhFo X-IronPort-AV: E=Sophos;i="4.73,371,1325480400"; d="scan'208";a="161433770" Original-Received: from 76-10-160-244.dsl.teksavvy.com (HELO pastel.home) ([76.10.160.244]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 06 Feb 2012 09:39:26 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 51F2158BE3; Mon, 6 Feb 2012 09:39:26 -0500 (EST) In-Reply-To: <20120206110957.GA2731@acm.acm> (Alan Mackenzie's message of "Mon, 6 Feb 2012 11:09:57 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) 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:56562 Archived-At: >> > I don't have a recipe starting from "emacs -Q", sorry. >> > I left my freshly built Emacs 24.0.93 running, and when I returned to >> > it a few hours later, I found it unresponsive, endlessly showing in >> > the echo area "JIT lock socket.c", interspersed with GC messages >> > (I have garbage-collection-messages set non-nil). >> > Breaking into Emacs with a debugger produced the backtrace below (it's >> > an optimized build, so the backtrace may be inaccurate, sorry). I >> > attach the file socket.c (part of the Guile sources) as well. > 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. While not easy, it should be theoretically possible to reproduce the problem with (setq font-lock-support-mode nil) which would make it much easier to debug. If the problem doesn't appear right when enabling font-lock, then it needs to be triggered by cutting and re-inserting a chunk of text (and you need to find a chunk that triggers the problem). Stefan