GNU bug report logs - #6015
23.1.96; Internal error in rng-validate-mode for very long attribute

Previous Next

Package: emacs;

Reported by: Jay Berkenbilt <ejb <at> ql.org>

Date: Fri, 23 Apr 2010 14:42:02 UTC

Severity: minor

Full log


Message #13 received at 6015 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jay Berkenbilt <ejb <at> ql.org>
Cc: 6015 <at> debbugs.gnu.org
Subject: Re: bug#6015: 23.1.96; Internal error in rng-validate-mode for very
 long attribute
Date: Sun, 18 Jul 2021 15:29:48 +0200
Jay Berkenbilt <ejb <at> ql.org> 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:
>
> <x value="CTRL-U 40000 w"/> 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")

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I'm able to reproduce this problem in Emacs 28, too, but I have to up
the number of ws to 400000.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 333 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.