unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29029: 27.0.50; Internal error in rng-ipattern-after
@ 2017-10-27 18:30 Sam Steingold
  2019-07-14 20:00 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Sam Steingold @ 2017-10-27 18:30 UTC (permalink / raw)
  To: 29029

Backtrace:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (error "Internal error in rng-ipattern-after: unexpected 
  signal(error ("Internal error in rng-ipattern-after: unexpected type empty"))
  error("Internal error in rng-ipattern-after: unexpected type %s" empty)
  rng-ipattern-after(#1=[empty -2 nil nil t nil nil nil #1# nil #2=[not-allowed -3 nil 
  mapcar(rng-ipattern-after (#1=[empty -2 nil nil t nil nil nil #1# nil #2=[not-allowed
  rng-transform-multi(rng-ipattern-after [choice 1672 nil (#1=[empty -2 nil nil t nil n
  rng-transform-choice(rng-ipattern-after [choice 1672 nil (#1=[empty -2 nil nil t nil 
  rng-ipattern-after([choice 1672 nil (#1=[empty -2 nil nil t nil nil nil #1# nil #2=[n
  rng-match-after()
  rng-end-element()
  rng-process-end-tag()
  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(#<buffer rawsock.xml>)
  nxml-parent-document-set("/Users/sds/src/clisp/current/doc/impnotes.xml.in")
  clisp-nxml-mode-hook()
--8<---------------cut here---------------end--------------->8---

The text around position 3960 (marked by <*>):

--8<---------------cut here---------------start------------->8---
  <member><code>(&socketpair; &dom-r; &type-r; &proto-r;)</code></member>
 </simplelist><*>using same-named lisp functions in package
--8<---------------cut here---------------end--------------->8---


I get this error on every single XML file in the CLISP manual.

E.g., in another file:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (error "Internal error in rng-ipattern-after: unexpected
  signal(error ("Internal error in rng-ipattern-after: unexpected type group"))
  error("Internal error in rng-ipattern-after: unexpected type %s" group)
  rng-ipattern-after([group 1701 nil ([choice 1646 nil (#1=[empty -2 nil nil t nil nil
  rng-match-after()
  rng-end-element()
  rng-process-end-tag()
  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(#<buffer syscalls.xml>)
  nxml-parent-document-set("/Users/sds/src/clisp/current/doc/impnotes.xml.in")
  clisp-nxml-mode-hook()
--8<---------------cut here---------------end--------------->8---

error:
--8<---------------cut here---------------start------------->8---
Internal error in rng-validate-mode triggered at buffer position 882. Internal error in rng-ipattern-after: unexpected type group
--8<---------------cut here---------------end--------------->8---

Text around position 882:

--8<---------------cut here---------------start------------->8---
     <listitem><simpara>host name</simpara></listitem></varlistentry><*>
    <varlistentry><term><structfield>aliases</structfield></term>
--8<---------------cut here---------------end--------------->8---

Thanks!



In GNU Emacs 27.0.50 (build 3, x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G29))
 of 2017-10-16 built on Clr-Sam.local
Repository revision: eed3a3d9e95d2c5346a23c9d92ca4e5848330183
Windowing system distributor 'Apple', version 10.3.1504
Recent messages:
Using schema ~/src/emacs/trunk/build/nextstep/Emacs.app/Contents/Resources/etc/schema/docbook.rnc
Set parent document to /Users/sds/src/clisp/current/doc/impnotes.xml.in
Entering debugger...
Error in debug printer: (error "Lisp nesting exceeds ‘max-lisp-eval-depth’") [4 times]
Internal error in rng-validate-mode triggered at buffer position 3960. Internal error in rng-ipattern-after: unexpected type empty

Configured using:
 'configure --with-mailutils --with-ns
 PKG_CONFIG_PATH=/usr/local/opt/libxml2/lib/pkgconfig:/usr/local/opt/imagemagick/lib/pkgconfig/
 --without-makeinfo'

Configured features:
JPEG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS

Important settings:
  value of $LANG: C
  locale-coding-system: utf-8-unix

Major mode: Text

Features:
(cperl-mode semantic/html mhtml-mode css-mode cc-langs vc-annotate eww
clhs shadow emacsbug ...)

Memory information:
((conses 16 2703822 241804)
 (symbols 48 78504 13)
 (miscs 40 32683 4838)
 (strings 32 402523 21681)
 (string-bytes 1 12277467)
 (vectors 16 168678)
 (vector-slots 8 3442966 191030)
 (floats 8 1337 4922)
 (intervals 56 206611 190)
 (buffers 992 305))

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504
http://steingoldpsychology.com http://www.childpsy.net https://ffii.org
http://islamexposedonline.com http://mideasttruth.com http://no2bds.org
Small languages require big programs, large languages enable small
programs.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#29029: 27.0.50; Internal error in rng-ipattern-after
  2017-10-27 18:30 bug#29029: 27.0.50; Internal error in rng-ipattern-after Sam Steingold
@ 2019-07-14 20:00 ` Lars Ingebrigtsen
  2019-07-15 17:01   ` Sam Steingold
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2019-07-14 20:00 UTC (permalink / raw)
  To: Sam Steingold; +Cc: 29029

Sam Steingold <sds@gnu.org> writes:

> Debugger entered--Lisp error: (error "Internal error in rng-ipattern-after: unexpected 
>   signal(error ("Internal error in rng-ipattern-after: unexpected type empty"))
>   error("Internal error in rng-ipattern-after: unexpected type %s" empty)
>   rng-ipattern-after(#1=[empty -2 nil nil t nil nil nil #1# nil #2=[not-allowed -3 nil 

[...]

>   rng-validate-while-idle(#<buffer rawsock.xml>)
>   nxml-parent-document-set("/Users/sds/src/clisp/current/doc/impnotes.xml.in")
>   clisp-nxml-mode-hook()

Hm...  Could this be a bug in the package that provides clisp-nxml-mode-hook?

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#29029: 27.0.50; Internal error in rng-ipattern-after
  2019-07-14 20:00 ` Lars Ingebrigtsen
@ 2019-07-15 17:01   ` Sam Steingold
  0 siblings, 0 replies; 3+ messages in thread
From: Sam Steingold @ 2019-07-15 17:01 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 29029

> * Lars Ingebrigtsen <ynefv@tahf.bet> [2019-07-14 22:00:02 +0200]:
>
> Sam Steingold <sds@gnu.org> writes:
>
>> Debugger entered--Lisp error: (error "Internal error in rng-ipattern-after: unexpected 
>>   signal(error ("Internal error in rng-ipattern-after: unexpected type empty"))
>>   error("Internal error in rng-ipattern-after: unexpected type %s" empty)
>>   rng-ipattern-after(#1=[empty -2 nil nil t nil nil nil #1# nil #2=[not-allowed -3 nil 
>
> [...]
>
>>   rng-validate-while-idle(#<buffer rawsock.xml>)
>>   nxml-parent-document-set("/Users/sds/src/clisp/current/doc/impnotes.xml.in")
>>   clisp-nxml-mode-hook()
>
> Hm...  Could this be a bug in the package that provides clisp-nxml-mode-hook?

no, `clisp-nxml-mode-hook' identified the parent document correctly.
(this is the docbook book that includes the current buffer doc as an
external entity)

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1671
http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com
https://ffii.org http://www.memritv.org http://memri.org
Things that cannot be programmed in assembler have to be soldered.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-15 17:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-27 18:30 bug#29029: 27.0.50; Internal error in rng-ipattern-after Sam Steingold
2019-07-14 20:00 ` Lars Ingebrigtsen
2019-07-15 17:01   ` Sam Steingold

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).