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#4175: 23.1; nxml-mode: Internal error in rng-validate-mode triggered Date: Fri, 12 Feb 2016 14:02:10 +0200 Message-ID: <83oabm6ssd.fsf@gnu.org> References: <87tyz9qaqd.fsf@stupidchicken.com> <87r5u9r3io.fsf@thialfi.karme.de> <83bn7m8kfo.fsf@gnu.org> <87lh6qz188.fsf@gmx.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1455278605 16011 80.91.229.3 (12 Feb 2016 12:03:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Feb 2016 12:03:25 +0000 (UTC) Cc: ahyatt@gmail.com, 4175@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 12 13:03: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 1aUCRN-0002lI-H9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Feb 2016 13:03:13 +0100 Original-Received: from localhost ([::1]:60068 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUCRM-0007Hv-OI for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Feb 2016 07:03:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUCRF-0007Fu-Gt for bug-gnu-emacs@gnu.org; Fri, 12 Feb 2016 07:03:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUCRC-0002A3-C2 for bug-gnu-emacs@gnu.org; Fri, 12 Feb 2016 07:03:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUCRC-00029y-8H for bug-gnu-emacs@gnu.org; Fri, 12 Feb 2016 07:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aUCRB-0001Mb-Vl for bug-gnu-emacs@gnu.org; Fri, 12 Feb 2016 07:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Feb 2016 12:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4175 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 4175-submit@debbugs.gnu.org id=B4175.14552785475193 (code B ref 4175); Fri, 12 Feb 2016 12:03:01 +0000 Original-Received: (at 4175) by debbugs.gnu.org; 12 Feb 2016 12:02:27 +0000 Original-Received: from localhost ([127.0.0.1]:37308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUCQc-0001Lh-On for submit@debbugs.gnu.org; Fri, 12 Feb 2016 07:02:26 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52162) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUCQa-0001LU-9c for 4175@debbugs.gnu.org; Fri, 12 Feb 2016 07:02:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUCQP-0001xj-9s for 4175@debbugs.gnu.org; Fri, 12 Feb 2016 07:02:19 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUCQP-0001xe-6y; Fri, 12 Feb 2016 07:02:13 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2083 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aUCQO-0007fX-AM; Fri, 12 Feb 2016 07:02:12 -0500 In-reply-to: <87lh6qz188.fsf@gmx.net> (message from Stephen Berman on Fri, 12 Feb 2016 11:12:23 +0100) 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112925 Archived-At: > From: Stephen Berman > Cc: Andrew Hyatt , 4175@debbugs.gnu.org > Date: Fri, 12 Feb 2016 11:12:23 +0100 > > I can reproduce it in a91b4b51ddf2575d821adb8b84fdf32cff83886e (GNU > Emacs 25.0.90.2 (x86_64-suse-linux-gnu, GTK+ Version 3.14.15) of > 2016-02-11). How large is the run-time stack on that system? > Here's the backtrace: > > Debugger entered--Lisp error: (error "Stack overflow in regexp matcher") > looking-at("\\(\\(?:\\(xmlns\\)\\|[_[:alpha:]][-._[:alnum:]]*\\)\\(:[_[:alpha:]][-._[:alnum:]]*\\)?\\)[ > \n]*=\\(?:[ > \n]*\\('[^<'& > \n ]*\\([& > \n ][^<']*\\)?'\\|\"[^<\"& > \n ]*\\([& > \n ][^<\"]*\\)?\"\\)\\(?:\\([ > \n]*>\\)\\|\\(?:\\([ > \n]*/\\)\\(>\\)?\\)\\|\\([ > \n]+\\)\\)\\)?") > xmltok-scan-attributes() > xmltok-scan-after-lt() > xmltok-forward() > rng-forward() > rng-do-some-validation-1(rng-validate-while-idle-continue-p) > rng-do-some-validation(rng-validate-while-idle-continue-p) > rng-validate-while-idle(#) Thanks. Perhaps some regexp guru could suggest how to make this regexp less greedy.