URL:
  <https://savannah.gnu.org/bugs/?68797>

                 Summary: [troff] assertion failure when `rn` given invalid
first identifier
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Mon 19 Oct 2026 02:33:28 AM UTC
                Category: Formatter
                Severity: 4 - Important
              Item Group: Crash/Unresponsive
                  Status: In Progress
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 19 Oct 2026 02:33:28 AM UTC By: G. Branden Robinson <gbranden>

$ printf '.rn \002 device\n' | ~/groff-1.24.2/bin/groff -ww
troff:<standard input>:1: error: character code 2 is not allowed in an
identifier
troff: ../src/roff/troff/input.cpp:5646: void rename_macro(): Assertion `s1 !=
0' failed.
/home/branden/groff-1.24.2/bin/groff: error: troff: Aborted (core dumped)


A bogus second argument exhibits expected behavior.


$ printf '.rn .T \002\n' | ~/groff-1.24.2/bin/groff -ww
troff:<standard input>:1: error: character code 2 is not allowed in an
identifier
troff:<standard input>:1: warning: renaming request expects identifier of
existing request, macro, string, or diversion as second argument









    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to