From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jay Berkenbilt Newsgroups: gmane.emacs.bugs Subject: bug#6015: 23.1.96; Internal error in rng-validate-mode for very long attribute Date: Fri, 23 Apr 2010 10:41:20 -0400 Message-ID: <20100423104120.1616631296.qww314159@motoko.argon.local> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272034572 915 80.91.229.12 (23 Apr 2010 14:56:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Apr 2010 14:56:12 +0000 (UTC) To: 6015@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 23 16:56:10 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O5KIV-00077S-33 for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Apr 2010 16:56:03 +0200 Original-Received: from localhost ([127.0.0.1]:50433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5KIU-0005AY-Gk for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Apr 2010 10:56:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5KI0-0004w3-Sd for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2010 10:55:32 -0400 Original-Received: from [140.186.70.92] (port=58154 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5KHy-0004v6-Uq for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2010 10:55:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5KHx-0005xy-3W for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2010 10:55:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55571) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5KHx-0005xu-0S for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2010 10:55:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O5K4w-0003WX-Gf; Fri, 23 Apr 2010 10:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jay Berkenbilt Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Apr 2010 14:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6015 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.127203370713534 (code B ref -1); Fri, 23 Apr 2010 14:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Apr 2010 14:41:47 +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 1O5K4h-0003WE-56 for submit@debbugs.gnu.org; Fri, 23 Apr 2010 10:41:47 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5K4e-0003W6-2Q for submit@debbugs.gnu.org; Fri, 23 Apr 2010 10:41:45 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:56144) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O5K4Z-0005mC-2D for submit@debbugs.gnu.org; Fri, 23 Apr 2010 10:41:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5K4Y-0005nD-Ic for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2010 10:41:38 -0400 Original-Received: from [140.186.70.92] (port=40682 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5K4W-0005kr-37 for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2010 10:41:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5K4L-0003mV-K7 for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2010 10:41:35 -0400 Original-Received: from hgblob.mail.tigertech.net ([64.62.209.71]:38142) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5K4L-0003ll-CY for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2010 10:41:25 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hgblob.tigertech.net (Postfix) with ESMTP id D8E2C32358B3; Fri, 23 Apr 2010 07:41:22 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at hgblob.tigertech.net Original-Received: from motoko.argon.local (unknown [72.165.80.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hgblob.tigertech.net (Postfix) with ESMTPSA id EFC1232283A9; Fri, 23 Apr 2010 07:41:21 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 23 Apr 2010 10:42:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36441 Archived-At: 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)