From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andrew Hyatt Newsgroups: gmane.emacs.bugs Subject: bug#6015: 23.1.96; Internal error in rng-validate-mode for very long attribute Date: Sun, 07 Aug 2016 00:09:42 -0400 Message-ID: References: <20100423104120.1616631296.qww314159@motoko.argon.local> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1470543025 32461 195.159.176.226 (7 Aug 2016 04:10:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 Aug 2016 04:10:25 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) Cc: 6015@debbugs.gnu.org To: Jay Berkenbilt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 07 06:10:21 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWFPk-0007Gx-Qo for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Aug 2016 06:10:17 +0200 Original-Received: from localhost ([::1]:51365 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWFPh-0005fV-Ko for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Aug 2016 00:10:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWFPb-0005cW-2e for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 00:10:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWFPW-0004HZ-NB for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 00:10:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWFPW-0004HV-JU for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 00:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bWFPW-0004tE-Ft for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 00:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Hyatt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Aug 2016 04:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6015 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6015-submit@debbugs.gnu.org id=B6015.147054299218762 (code B ref 6015); Sun, 07 Aug 2016 04:10:02 +0000 Original-Received: (at 6015) by debbugs.gnu.org; 7 Aug 2016 04:09:52 +0000 Original-Received: from localhost ([127.0.0.1]:58276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWFPL-0004sY-NY for submit@debbugs.gnu.org; Sun, 07 Aug 2016 00:09:52 -0400 Original-Received: from mail-qk0-f173.google.com ([209.85.220.173]:36486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWFPJ-0004sI-Ox for 6015@debbugs.gnu.org; Sun, 07 Aug 2016 00:09:50 -0400 Original-Received: by mail-qk0-f173.google.com with SMTP id v123so163725781qkh.3 for <6015@debbugs.gnu.org>; Sat, 06 Aug 2016 21:09:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Qtr9V/L/QddV4mNxudQlt9S4M2VudWQh1Z4zls60M6k=; b=S4JjQj31R6A1PVyV4YLoAbouvZKTERNtyZzWmC1oM/CnsuuALRf7Eq0bSz2+XNtSBW MRrQEdx3pwamoZNrdWk78oCVXZ7wp43Psh/U8BtuEKBKIGE645ej2Dc2BhfR/6yoTaz2 1kOL5bgzI2QainKpsAlBX80+yoAhD7797n9KA2c760ypfdOlp2OOL6gRlsi4bb9KMn6H ORe/AWHfFbzvbv4B988NrbVuQb6vYQ129AIPTBiibQ1ZsmspPqHP8dDo+pWLTVz2I9Rs Q0hUWwCUPzGzSv67cx9nQWW3PAMPvnTGmPZiJwCaQxUel8hygkmb7CqKjJgPzvdUkboC gbbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Qtr9V/L/QddV4mNxudQlt9S4M2VudWQh1Z4zls60M6k=; b=lKCmKqh+HZfGFLrTfYb9uxVy6iAZ2+3ZC5foup/uVCQohF1DTPrmtd88OoQ2Tr2u1S AnQPLM67es4ywE5M0pgnWf06N+cFnZSd6YNJ1Ksd5Q/+z50nWVaF+AygnUhOUePUuC8t qPWbkPOG7TWQPWhMNiFElybRCN5MmK4q5FVa9USDRjrLJJvsNid+LdH5S9ibYNWkCxmG buoSr4yCGwoccBTNnVPn5kJe1jZmn/4L1rA41YSV85uge0esxh4O+5N1eYEMz4c4qGMe A+tUno855nWVD/nanpPrP3eycMXi6YfXazZIX+s/aib84Pk1J34WRMPv6pKYKlKpv8hI YIgw== X-Gm-Message-State: AEkoouvwKYTLYt5OZTM9x3Ics6GKUEc8QOsy82ZgptvochxyLYqKbQRyNiq0AWct3whz+g== X-Received: by 10.55.154.131 with SMTP id c125mr22365763qke.33.1470542984434; Sat, 06 Aug 2016 21:09:44 -0700 (PDT) Original-Received: from Andrews-MacBook-Pro.local (cpe-74-73-128-199.nyc.res.rr.com. [74.73.128.199]) by smtp.gmail.com with ESMTPSA id u44sm13972947qtc.27.2016.08.06.21.09.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Aug 2016 21:09:43 -0700 (PDT) In-Reply-To: <20100423104120.1616631296.qww314159@motoko.argon.local> (Jay Berkenbilt's message of "Fri, 23 Apr 2010 10:41:20 -0400") 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" Xref: news.gmane.org gmane.emacs.bugs:121929 Archived-At: Thanks for the bug report. This still happens in Emacs 25. However, this seems to be an unusually large value, and not something users would ordinarily experience. Due to that, I'm going to change the bug priority to minor. Jay Berkenbilt writes: > Create a file called "a.xml" and place the buffer in fundamental mode by > typing > > M-x fundamental-mode RET > > Create a simple XML file consisting of a single element with a single > attribute whose value is 40,000 characters long: > > RET > > and save the file. Reload the file so that emacs enters nxml mode upon > initial load: > > C-x C-v RET > > Observe the following errors in *Messages*: > > File mode specification error: (error "Stack overflow in regexp matcher") > Error during redisplay: (error Stack overflow in regexp matcher) > Internal error in rng-validate-mode triggered at buffer position 4. Stack overfl > > Information below pertains to my environment, but the issue reported > above can be reproduced with emacs -Q. > > > > In GNU Emacs 23.1.96.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4) > of 2010-04-20 on motoko.argon.local > Windowing system distributor `The X.Org Foundation', version 11.0.70101000 > configured using `configure '--prefix=/opt/tps/packages/linux.x86_64.rhel5/emacs-23.1.96-1'' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: en_US.UTF-8 > value of $XMODIFIERS: @im=none > locale-coding-system: utf-8-unix > default enable-multibyte-characters: t > > Major mode: nXML > > Minor modes in effect: > which-function-mode: t > tooltip-mode: t > mouse-wheel-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > auto-encryption-mode: t > auto-compression-mode: t > column-number-mode: t > line-number-mode: t > > Recent input: > C-x C-v C-g C-x C-v C-a C-k C-g C-x C-f C-a > C-k C-g C-x C-g 6 5 2 C-g C-x b C-x C-g 6 > 5 2 C-x C-z C-p C-e M-b M-b M-f M-f M-b C-b > u n d e f , SPC C-x C-x C-x C-x C-x C-s C-x b a . > C-x C-v C-g C-v C-l M-< C-s < d e s c r t > p t i o n C-a C-x C-v y M-x g > o t o SPC c SPC 1 4 5 2 1 0 8 5 C-f > M-f M-f M-f C-v C-e C-g C-x C-x M-< M-p M-x M-p > M-p C-a C-SPC C-n M-w C-x C-f / t m p / a > b . x m l C-y M-< M-> M-< C-s > v a l u e s = C-s C-f M-x r e p l SPC s > SPC { [ ^ " ] C-a C-k C-g M-x > r e p l SPC r e SPC g SPC C-y > w / > > M-< C-s v a l u e = C-s C-f M-l M-< M-f M-b M-d x M-d > M-d M-d M-d M-d C-d C-d C-d C-x C-s y C-x C-v > M-> M-? M-> M-< C-f C-f C-f C-f C-f C-f C-f C-f C-f > C-f C-x h M-w C-x r s a M-f M-f M-f M-b C-k C-u 4 0 > 0 0 0 w M-x C-g M-< M-x f u n d a m > C-e w C-u 4 0 0 0 0 w " / > M-> > M-< C-x C-s C-x C-v M-x r e p o r t SPC e > SPC b SPC > > Recent messages: > Saved text until "wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww"/> > " > Quit [2 times] > Undo! > Mark set [3 times] > Saving file /tmp/b.xml... > Wrote /tmp/b.xml > File mode specification error: (error "Stack overflow in regexp matcher") > Error during redisplay: (error Stack overflow in regexp matcher) > Internal error in rng-validate-mode triggered at buffer position 4. Stack overflow in regexp matcher > > Load-path shadows: > /home/jberkenb/elisp/startup hides /opt/tps/packages/linux.x86_64.rhel5/emacs-23.1.96-1/share/emacs/23.1.96/lisp/startup > > Features: > (shadow warnings emacsbug help-mode view sgml-mode nxml-uchnm rng-xsd > xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse > nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode > nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok perl-mode > desktop rmail multi-isearch tabify man assoc vc-rcs epa-file epa derived > epg flow-fill starttls dabbrev auth-source mailalias tls q-valid-addr > newcomment flyspell ispell w3m-form w3m-symbol sort gnus-cite ansi-color > mail-extr gnus-async gnus-bcklg parse-time gnus-ml disp-table vc-accurev > paranoid-backup byte-opt bytecomp byte-compile nndraft nnmh nnfolder > gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art > mm-uu mml2015 epg-config mm-view smime dig nntp gnus-cache gnus-sum > gnus-group gnus-undo nndoc nnoo nnmail mail-source format-spec > gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems vc-svn > vc vc-dispatcher w3m browse-url doc-view image-mode dired timezone > w3m-hist w3m-fb w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc > w3m-util qmime qmime-compose qmime-view which-func imenu filecache > server uniquify compile ange-ftp comint ring message ecomplete rfc822 > mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap > mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader > gnus-util netrc time-date mm-util mail-prsvr gmm-utils mailheader > canlock sha1 hex-util hashcash mail-utils cc-styles cc-align cc-engine > cc-vars cc-defs smtpmail sendmail regexp-opt project advice help-fns > advice-preload jka-compr cus-edit easymenu wid-edit cus-start cus-load > edmacro kmacro cl cl-19 tooltip ediff-hook vc-hooks lisp-float-type > mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe > lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar > mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham > georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao > korean japanese hebrew greek romanian slovak czech european ethiopic > indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple > abbrev loaddefs button minibuffer faces cus-face files text-properties > overlay md5 base64 format env code-pages mule custom widget > hashtable-print-readable backquote make-network-process dbusbind > system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)