Follow-up Comment #3, bug #24048 (project groff):
I can reproduce this bug, but not with the original problematic page lengths.
Input document:
.if r PL .pl \n[PL]u
\&
.sp 2i
test 1
.br
.bp
\&
.sp 2i
test 2
.br
Reproducer:
$ for W in $(seq 10 -1 1); do for F in $(seq 9 -1 0); do ./build/test-groff
-Tutf8 -mm -rPL=$W.${F}i smaller-test.mm >/dev/null || echo $W.${F}i is bad;
done; done
troff: smaller-test.mm:6: fatal error: input stack limit exceeded (probable
infinite loop)
10.4i is bad
troff: smaller-test.mm:6: fatal error: input stack limit exceeded (probable
infinite loop)
10.3i is bad
troff: smaller-test.mm:2: fatal error: input stack limit exceeded (probable
infinite loop)
1.2i is bad
troff: smaller-test.mm:2: fatal error: input stack limit exceeded (probable
infinite loop)
1.1i is bad
troff: smaller-test.mm:2: fatal error: input stack limit exceeded (probable
infinite loop)
1.0i is bad
The above is groff Git HEAD, but groff 1.22.4 fails for exactly the same page
lengths (and no others from the input set).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?24048>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/