[Bug 277429] makewhatis coredump (SIGABRT) on 12.3, 13.1 and 13.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 02 Mar 2024 08:09:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277429

            Bug ID: 277429
           Summary: makewhatis coredump (SIGABRT)  on 12.3, 13.1 and 13.2
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: mich@FreeBSD.org

makewhatis core dumps randomly across multiple systems.

backtrace:

(lldb) bt all
* thread #1, name = 'makewhatis', stop reason = signal SIGABRT
  * frame #0: 0x000000080048769a libc.so.7`__sys_thr_kill at thr_kill.S:3
    frame #1: 0x0000000800485af4 libc.so.7`__raise(s=6) at raise.c:52:10
    frame #2: 0x00000008003fb719 libc.so.7`abort at abort.c:67:8
    frame #3: 0x0000000000242277 makewhatis`mandoc_escape(end=<unavailable>,
start=<unavailable>, sz=<unavailable>) at mandoc.c:243:4
    frame #4: 0x000000000023a75d makewhatis`roff_parseln [inlined]
roff_parsetext(r=<unavailable>, buf=0x00007fffffffdd20, pos=<unavailable>,
offs=0x00007fffffffdd0c) at roff.c:1742:10
    frame #5: 0x000000000023a670 makewhatis`roff_parseln(r=<unavailable>,
ln=<unavailable>, buf=<unavailable>, offs=<unavailable>) at roff.c:1819
    frame #6: 0x0000000000243d3e makewhatis`mparse_buf_r(curp=<unavailable>,
blk=buf @ 0x00007fffffffdd80, i=<unavailable>, start=1) at read.c:275:17
    frame #7: 0x00000000002437e8
makewhatis`mparse_readfd(curp=0x00000008006e3000, fd=<unavailable>,
filename=<unavailable>) at read.c:587:2
    frame #8: 0x000000000025f7a4
makewhatis`mpages_merge(dba=0x0000000801e71b30, mp=0x00000008006e3000) at
mandocdb.c:1144:4
    frame #9: 0x000000000025eb04 makewhatis`mandocdb(argc=<unavailable>,
argv=0x00007fffffffeba8) at mandocdb.c:510:4
    frame #10: 0x0000000000261d5b makewhatis`main(argc=7,
argv=0x00007fffffffeba0) at main.c:152:10
    frame #11: 0x0000000000226300 makewhatis`_start(ap=<unavailable>,
cleanup=<unavailable>) at crt1.c:76:

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