bug-groff
[Top][All Lists]
Advanced

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

[bug #24048] [mm] infinite loop with certain page lengths


From: G. Branden Robinson
Subject: [bug #24048] [mm] infinite loop with certain page lengths
Date: Sat, 17 Jul 2021 17:28:55 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

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/




reply via email to

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