URL: <https://savannah.gnu.org/bugs/?68303>
Summary: asciify and nroff
Group: GNU roff
Submitter: deri
Submitted: Sun 03 May 2026 05:18:07 PM UTC
Category: Core
Severity: 3 - Normal
Item Group: Crash/Unresponsive
Status: Need Info
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Unlocked
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sun 03 May 2026 05:18:07 PM UTC By: Deri James <deri>
This is a strange one! Using this:-
[derij@pip build (master)]$ cat lic.trf
.box trump
Groff's
\,\fIms\fP
macros
.fl
.box
.
.chop trump
\*[trump]
.asciify trump
\X'ignore: \*[trump]'
Using command:-
[derij@pip build (master)]$ groff lic.trf -Z
x T ps
x res 72000 1 1
x init
p1
x font 5 TR
f5
s10000
md
DFd
V12000
H72000
tGrof
H90630
tf
h550
t'
H97290
ts
wx font 40 TI
f40
h2880
tms
wf5
h2500
tmacros
wh2500
V12000
H149050
x X ignore: Groff's ms macros
n12000 0
x trailer
V792000
x stop
Perfect. But this:-
[derij@pip build (master)]$ groff -Tutf8 lic.trf -Z
x T utf8
x res 240 24 40
x init
p1
troff: ../src/roff/troff/node.cpp:4042: virtual void
left_italic_corrected_node::asciify(macro*): Assertion `nodes != 0' failed.
groff: error: troff: Aborted (core dumped)
So the crash only happens in nroff not troff, also asciify left italic was
corrected for troff in bug #67509. I found the issue running nroff on ms.ms
with the new s.tmac (.I and .BI include italic correction). My latest s.tmac
fixes the problem by not adding italic correction unless it is run by troff
(.if t), but the underlying issue remains.
I wonder if the problem is limited to nodes which do nothing in nroff mode.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68303>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
