URL: <https://savannah.gnu.org/bugs/?68132>
Summary: [troff] formatting Ritchie's "C Reference Manual"
from V6 Unix aborts with assertion failure
Group: GNU roff
Submitter: gbranden
Submitted: Sun 08 Mar 2026 11:16:22 PM UTC
Category: Core
Severity: 4 - Important
Item Group: Incorrect behaviour
Status: In Progress
Privacy: Public
Assigned to: gbranden
Open/Closed: Open
Discussion Lock: Unlocked
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sun 08 Mar 2026 11:16:22 PM UTC By: G. Branden Robinson <gbranden>
This is a regression from _groff_ 1.23.0.
$ make
groff -C -T pdf c0 c1 c2 c3 c4 c5 c6 ca > cref_v6.pdf
troff:c0:3: error: expected ordinary, special, or indexed character, got a
horizontal motion
troff: ../src/roff/troff/input.cpp:8624: void do_translate(bool, bool):
Assertion `0 == "attempted to use token without charinfo in" " character
translation request"' failed.
groff: error: troff: Aborted (core dumped)
make: *** [Makefile:5: cref_v6.pdf] Error 8
The error diagnostic is not a regression, but might indicate a distinct bug.
The input is trying to exercise
[https://cgit.git.savannah.gnu.org/cgit/groff.git/tree/troff/input.c?h=1.04#n4265
what James Clark called, as far back as 1991, "a really bizarre troff
feature"].
$ nl c0 | head
1 .\"fp 3 G \" GBR, 2026
2 .do ftr G CR \" GBR, 2026
3 .tr ^\|
4 .hc $
5 .tr @
6 .br
7 .po 0
8 .tl '-'''
9 .po
10 .pl 11i
Thanks to Clem Cole for the report (via private email).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68132>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
