bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61748] [grohtml] infinite loop


From: G. Branden Robinson
Subject: [bug #61748] [grohtml] infinite loop
Date: Sun, 2 Jan 2022 01:26:29 -0500 (EST)
User-agent: Lynx/2.8.9rel.1 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/3.6.7

Follow-up Comment #3, bug #61748 (project groff):

Hi, Bjarni!

[comment #1 comment #1:]
>   I do not get any trouble processing the minimal example.

Thanks for trying.  I hesitate to call the behavior
non-deterministic, because it was reproducible with 100%
reliability on my system, but there are obviously many factors
affecting the memory layout of an executable.

>   I do get errors when processing "doc/grnexmpl.me":
>
>   The pipe is
>
> soelim grnexmpl.me | grn -Thtml | eqn -Tps:html | pre-grohtml troff -b \
>   -ww -me -Thtml | post-grohtml
>
>   The strings "10", and "g9" come from "eqn" (eqn grnexmpl.me).
>
>   The "output suppression escape sequence" is "\O" and valid arguments
> are the numbers 0-4 and string "5...".
>
>   An exaple of the error messages is:
>
> troff: backtrace: './grnexmpl.me':44: string '10'
> troff: backtrace: file './grnexmpl.me':43
> troff:./grnexmpl.me:43: error: invalid argument 'H' to output suppression
escape sequence
> troff: backtrace: './grnexmpl.me':44: string '10'
> troff: backtrace: file './grnexmpl.me':43
> troff:./grnexmpl.me:43: error: invalid argument 'H' to output suppression
escape sequence
> troff: backtrace: './grnexmpl.me':44: string '10'
> troff: backtrace: file './grnexmpl.me':43
>
>   All messages are in the attachment.

Yes, I noticed these too.  They are clearly evidence of a bug,
but as it is (as far as I can tell) unrelated to the problem I
encountered, I did not mention it.

[comment #2 comment #2:]
>   The argument 'H' comes (presumably) from this
>
> src/include/html-strings.h:#define HTML_IMAGE_INLINE_BEGIN
> "\\O[HTML-IMAGE-INLINE-BEGIN]"
> src/include/html-strings.h:#define HTML_IMAGE_INLINE_END
> "\\O[HTML-IMAGE-INLINE-END]"

Thank you!  I had not tried to track that down yet.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61748>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]