bug-groff
[Top][All Lists]
Advanced

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

[bug #65930] [me] large values of register `tv` cause infinite trap recu


From: G. Branden Robinson
Subject: [bug #65930] [me] large values of register `tv` cause infinite trap recursion
Date: Wed, 3 Jul 2024 22:07:23 -0400 (EDT)

Follow-up Comment #8, bug #65930 (group groff):

Hrm, I definitely can reproduce it, with a `$v` of 421, using _groff_ 1.22.4.


$ /usr/bin/groff --version | head -n 1
GNU groff version 1.22.4
$ cat ./EXPERIMENTS/bug-65930b.me
.\"mso e.tmac
.br
.nr $v 421
.fo 'foo'bar'baz'
.lp
You get the diplomatic treatment
.br
You get the force-fed future
.br
You get the funk after death
.br
You get the weisenheimer brainstorm
$ /usr/bin/groff -z -me ./EXPERIMENTS/bug-65930b.me
troff: fatal error: input stack limit exceeded (probable infinite loop)


I thought briefly that the `-me` versus `mso` approaches of loading the
package mattered, but they don't.


$ cat ./EXPERIMENTS/bug-65930c.me 
.mso e.tmac
.br
.nr $v 421
.fo 'foo'bar'baz'
.lp
You get the diplomatic treatment
.br
You get the force-fed future
.br
You get the funk after death
.br
You get the weisenheimer brainstorm
$ /usr/bin/groff -z ./EXPERIMENTS/bug-65930c.me
troff: fatal error: input stack limit exceeded (probable infinite loop)


I can reproduce it with groff 1.23.0 and groff Git HEAD (my working copy,
which doesn't have the patch applied) as well.

And if I go back to your original reproducer in comment #0, I can reproduce
your problem with all the same versions of _groff_.

Can you reconfirm reproducibility of your original, then test each of my two
variants?  Please test with 1.22.4, then 1.23.0, then HEAD.





    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature


reply via email to

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