URL: <https://savannah.gnu.org/bugs/?67139>
Summary: .di / .box sequence terminates with fatal signal
Group: GNU roff
Submitter: None
Submitted: Tue 20 May 2025 12:48:37 AM UTC
Category: Core
Severity: 3 - Normal
Item Group: Crash/Unresponsive
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 20 May 2025 12:48:37 AM UTC By: Anonymous
A simple input file consisting of a diversion defined with ".di" but closed
with ".box" causes troff to terminate with sigsegv or sigbus.
$ cat /etc/debian_version
12.10
$ cat fatal.tr
.di x
y
.box
z
$ troff --version
GNU troff (groff) version 1.22.4
$ troff fatal.tr
x T ps
x res 72000 1 1
x init
p1
Segmentation fault (core dumped)
# groff built from d8cd70f3a:
$ troff --version
GNU troff (groff) version 1.23.0.3269-d8cd7
$ troff fatal.tr
x T ps
x res 72000 1 1
x init
p1
Bus error (core dumped)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67139>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
