Update of bug #67434 (group groff):
Category: Core => Macro package -
others/general
Summary: [troff] "groff -ms -m hdtbl doc/ms.ms" freezes
document rendering process => [hdtbl] "echo .TH | groff -m hdtbl" infloops
_______________________________________________________
Follow-up Comment #9:
[comment #8 comment #8:]
>
> [comment #7 comment #7:]
> [ ... ]
>> I hear bug #62264 calling my name...
>
> Hi Branden,
>
> I have shaved the issue down to this ultra simple document, "t.ms":
>
> .NH
> .TS
> cb
> .
> .TH
> Some text
> .TE
>
> processing this with
>
> groff -t -ms -m hdtbl t.ms
>
> makes the process freeze. If I remove the .TH macro, it completes.
Thanks, Morten! I've gotten it even smaller.
$ echo .TH | groff -ms -m hdtbl
In fact, this reproduces it too:
$ echo .TH | groff -m hdtbl
So `-ms` doesn't even need to be involved.
> So, the problem seemingly is with the .TH macro ... I think the problem lies
> in some poor error handling in one of these macro packages.
I think that's a good guess. I'll wager _hdtbl_ is failing to validate its
internal state when the document calls `TH`, and from there goes into an
infinite loop.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67434>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
