[bug #68521] [troff] assertion failure in `void charinfo::set_number(int)`: (n >= 0)
"G. Branden Robinson" <[email protected]> Mon, 13 Jul 2026 10:58:16 -0400 (EDT)
| Newsgroups | gmane.comp.printing.groff.bugs |
|---|---|
| Message-ID | <[email protected]> |
URL:
<https://savannah.gnu.org/bugs/?68521>
Summary: [troff] assertion failure in `void
charinfo::set_number(int)`: (n >= 0)
Group: GNU roff
Submitter: gbranden
Submitted: Mon 13 Jul 2026 02:58:13 PM UTC
Category: Core
Severity: 4 - Important
Item Group: Crash/Unresponsive
Status: None
Privacy: Public
Assigned to: gbranden
Open/Closed: Open
Discussion Lock: Unlocked
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 13 Jul 2026 02:58:13 PM UTC By: G. Branden Robinson <gbranden>
Regressed in _groff_ 1.24.0.
```
$ printf '\\N"-1"\n' | ~/groff-1.24.1/bin/groff -z
troff: ../src/roff/troff/input.cpp:10981: void charinfo::set_number(int):
Assertion `n >= 0' failed.
/home/branden/groff-1.24.1/bin/groff: error: troff: Aborted (core dumped)
$ printf '\\N"-1"\n' | ~/groff-1.23.0/bin/groff -z
troff:<standard input>:1: warning: invalid numbered character -1
```
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68521>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCalT9CAAKCRCqLAuaBUf3 TotnAQDtoE4o/0f+DaYUY2GhgIE9P1szBLp1DjVcVb2JW4noSgEA/JcFdXeHSNwp U2SpSqW9jyyjGpZgRkalGlBJDit1EAc= =IIY6 -----END PGP SIGNATURE-----