[Bug 287716] periodic: 320.whatis abort trap (caused by got manpages)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 22 Jun 2025 03:53:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287716

            Bug ID: 287716
           Summary: periodic: 320.whatis abort trap (caused by got
                    manpages)
           Product: Base System
           Version: 14.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: christopherhall.hsw@gmail.com

I recently noticed this error

> # /etc/periodic/weekly/320.whatis
> Rebuilding whatis database:
> Assertion failed: (n->tag == NULL), function tag_put, file /usr/src/contrib/mandoc/tag.c, line 185.
> Abort trap (core dumped)

running makewhatis in verbose mode does not indicate the exact man page, but as
the core file was: "/usr/local/share/man/makewhatis.core"
I tried moving various man pages until I hit upon the "got" manpage.

> # pkg remove got                 
> ...
> Installed packages to be REMOVED:
>    got: 0.113
>
> # /etc/periodic/weekly/320.whatis
> Rebuilding whatis database:
> /etc/periodic/weekly/320.whatis  9.81s user 0.40s system 99% cpu 10.210 total

Reinstalling got causes the crash. I do not think this crash occurred on 14.2.

-- 
You are receiving this mail because:
You are the assignee for the bug.