[bug #68420] Using .cc ' causes Assertion failed: (assignment_worked), function assign_control_character_request

Martin <[email protected]>
Newsgroups gmane.comp.printing.groff.bugs
Message-ID <[email protected]>
URL:
  <https://savannah.gnu.org/bugs/?68420>

                 Summary: Using .cc ' causes Assertion failed:
(assignment_worked), function assign_control_character_request
                   Group: GNU roff
               Submitter: mlw
               Submitted: Tue 02 Jun 2026 03:01:01 PM UTC
                Category: Core
                Severity: 3 - Normal
              Item Group: Crash/Unresponsive
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 02 Jun 2026 03:01:01 PM UTC By: Martin <mlw>
I am running the groff-1.24.1_1 package on FreeBSD 14.4.

Running this:


groff -Tascii -me <<END
H??Subject: this is an example message
.cc '
.
'cc
END


gives an error followed by an abort:


troff:x.me:2: error: ignoring control character change request; the no-break
control character is already "'"
Assertion failed: (assignment_worked), function
assign_control_character_request, file src/roff/troff/input.cpp, line 298.
grotty:<standard input>: warning: no final 'x stop' command
groff: error: troff: Abort trap (core dumped)


I don't know if this is sensible input, but I found it in the documentation
for sendmail 8.18.2 (doc/op/op.me).  The intent is to put a . in the output
and this works in groff 1.23.0.








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68420>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCah7wMQAKCRCqLAuaBUf3
TvJ8AQDYcBCeaf6o0vS12CtLzLmi4c5FS7plmEZe5PEcxEz0XQD9GnRdWKpMAN1X
kiw4mpMZYFbMZFAmko7mbzE03U6QFgQ=
=Pfrk
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.