[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: |
Tue, 16 Jul 2024 09:15:46 -0400 (EDT) |
Update of bug #65930 (group groff):
Status: Need Info => Confirmed
_______________________________________________________
Follow-up Comment #17:
Okay, well, my patch from comment #2 seems to be impotent to resolve the
problem reported in comment #0.
$ cat ATTIC/stack-limit.me
.mso e.tmac
.br
.nr $v 421
$ sed -n '/\.de @t/,+10p' tmac/e.tmac
.de @t \" --- output header or footer title
.if !\\n(?h \
\{\
. \" Temporarily set vertical spacing to zero so `sz` doesn't
. \" spring the footer trap again in infinite regress.
. nr _t \\n(tv
. nr tv 0
. sz \\n(tp\" \" set header/footer type fonts, etc.
. @F \\n(tf
. lt \\n(_Lu \" make title span entire page
. if \\n(?n \
$ ./build/test-groff -abww ATTIC/stack-limit.me
<beginning of page>
troff: backtrace: '/home/branden/src/GIT/groff/build/../tmac/e.tmac':1507:
macro 'sz'
troff: backtrace: '/home/branden/src/GIT/groff/build/../tmac/e.tmac':470:
macro '@t'
troff: backtrace: '/home/branden/src/GIT/groff/build/../tmac/e.tmac':458:
macro '@e'
troff: backtrace: '/home/branden/src/GIT/groff/build/../tmac/e.tmac':405:
trap-called macro '@f'
troff: fatal error: input stack limit exceeded (probable infinite loop)
Back to the drawing board, I reckon.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65930>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- [bug #65930] [me] large values of register `tv` cause infinite trap recursion, (continued)
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [bug #65930] [me] large values of register `tv` cause infinite trap recursion,
G. Branden Robinson <=