From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gareth Rees Newsgroups: gmane.emacs.bugs Subject: bug#9234: 23.3; Long lines in compilation output cause stack overflow in regexp matcher Date: Thu, 4 Aug 2011 01:24:23 +0100 Message-ID: <718C9E83-4C0A-4E5C-807B-06A1F1AF4E39@garethrees.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1312417535 7167 80.91.229.12 (4 Aug 2011 00:25:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 4 Aug 2011 00:25:35 +0000 (UTC) To: 9234@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 04 02:25:31 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qolkg-0001yh-NL for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Aug 2011 02:25:31 +0200 Original-Received: from localhost ([::1]:50742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qolkg-0007d4-3B for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Aug 2011 20:25:30 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qolkd-0007cz-Fd for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2011 20:25:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qolkc-00045T-GC for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2011 20:25:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qolkc-00045N-Ec for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2011 20:25:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QollC-00030m-C6; Wed, 03 Aug 2011 20:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gareth Rees Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Aug 2011 00:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9234 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.131241751811522 (code B ref -1); Thu, 04 Aug 2011 00:26:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Aug 2011 00:25:18 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QolkU-0002zn-Fp for submit@debbugs.gnu.org; Wed, 03 Aug 2011 20:25:18 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QolkS-0002ze-3N for submit@debbugs.gnu.org; Wed, 03 Aug 2011 20:25:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qoljq-0003vU-Vc for submit@debbugs.gnu.org; Wed, 03 Aug 2011 20:24:39 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:58608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qoljq-0003vQ-UC for submit@debbugs.gnu.org; Wed, 03 Aug 2011 20:24:38 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qoljq-0007Vh-06 for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2011 20:24:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qoljo-0003v3-TO for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2011 20:24:37 -0400 Original-Received: from raven.ravenbrook.com ([94.229.129.33]:59584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qoljo-0003up-GD for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2011 20:24:36 -0400 Original-Received: from [192.168.0.2] (82-69-91-179.dsl.in-addr.zen.co.uk [82.69.91.179]) (authenticated bits=0) by raven.ravenbrook.com (8.14.5/8.14.2) with ESMTP id p740OS9h055345 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 4 Aug 2011 01:24:28 +0100 (BST) (envelope-from gdr@garethrees.org) X-Mailer: Apple Mail (2.1244.3) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (raven.ravenbrook.com [94.229.129.33]); Thu, 04 Aug 2011 01:24:29 +0100 (BST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 03 Aug 2011 20:26:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:49891 Archived-At: In a fresh emacs -Q, type M-x compile RET for X in {1..100000}; do echo -n 1; done RET The following message appears in the echo area: error in process filter: Stack overflow in regexp matcher With debug-on-error turned on, I get the following backtrace: Debugger entered--Lisp error: (error "Stack overflow in regexp matcher") re-search-forward("^ *\\([^ \n]+\\)(\\([0-9]+\\)): = \\(?:error\\|warnin\\(g\\)\\|remar\\(k\\)\\)" 34233 t) font-lock-fontify-keywords-region(194 34233 nil) font-lock-default-fontify-region(33209 34233 nil) font-lock-fontify-region(33209 34233) font-lock-after-change-function(33209 34233 0) compilation-filter(# "1111111...1111111") --=20 Gareth Rees In GNU Emacs 23.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.35) of 2011-03-10 on black.porkrind.org Windowing system distributor `Apple', version 10.3.1138 configured using `configure '--host=3Dx86_64-apple-darwin' = '--build=3Di686-apple-darwin' '--with-ns' = 'build_alias=3Di686-apple-darwin' 'host_alias=3Dx86_64-apple-darwin' = 'CC=3Dgcc -mmacosx-version-min=3D10.5''