Bug 288026 - mandoc crashes on groff_char(7) manual page
Summary: mandoc crashes on groff_char(7) manual page
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 15.0-CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks: 274423
  Show dependency treegraph
 
Reported: 2025-07-05 15:06 UTC by Wolfram Schneider
Modified: 2025-11-15 03:52 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schneider freebsd_committer freebsd_triage 2025-07-05 15:06:01 UTC
With the latest imported mandoc version 1.14.6s20250613
mandoc fails on the  groff_char(7) manual page

curl -sSf https://people.freebsd.org/~wosch/tmp/mandoc/core-dumped/groff_char.7 | mandoc >/dev/null
Assertion failed: (rval != ESCAPE_EXPAND), function mandoc_escape, file /home/projects/freebsd-src/contrib/mandoc/roff_escape.c, line 46.
Abort trap (core dumped)
Comment 1 cyric@mm.st 2025-11-15 03:52:23 UTC
Just noticed this too with opengrok indexing netbsd source tree (it uses system mandoc) and failing on what seems to be the same file: https://github.com/NetBSD/src/blob/trunk/external/gpl2/groff/dist/man/groff_char.man