NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/59562: man(1) and makemandb(8) crash in mdocml



>Number:         59562
>Category:       lib
>Synopsis:       man(1) and makemandb(8) crash in mdocml
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 29 19:00:00 +0000 2025
>Originator:     dogcow%babymeat.com@localhost
>Release:        NetBSD 10.99.15
>Organization:
	
>Environment:
	
	
System: NetBSD flippy.babymeat.com 10.99.15 NetBSD 10.99.15 (FLIPPY) #25: Fri Jul 18 15:18:38 CDT 2025 dogcow%flippy.babymeat.com@localhost:/crap/obj/hgcurobj/src/hg/src/sys/arch/amd64/compile/FLIPPY amd64
Architecture: x86_64
Machine: amd64
>Description:
presumably because of the import of mdocml/mandoc 1.14.6, man/makemandb can
crash when fed certain manpages
	
>How-To-Repeat:
on current, install pkgsrc/devel/got (specifically, got-0.115), and run
`makemandb -f`:

Building temporary file cache
Performing index update
makemandb: Error in indexing `/usr/pkg/man/man3/libcurl-symbols.3'
makemandb: Error in indexing `/usr/pkg/man/man3/uuid_generate_time_safe.3'
makemandb: Error in indexing `/usr/pkg/man/man3/uuid_generate_time.3'
makemandb: Error in indexing `/usr/pkg/man/man3/uuid_generate_random.3'
assertion "n->tag == NULL" failed: file "/src/hg/src/external/bsd/mdocml/lib/libmandoc/../../dist/tag.c", line 186, function "tag_put"

alternately, just try `man got`:
man: Formatting manual page...
assertion "n->tag == NULL" failed: file "/src/hg/src/external/bsd/mdocml/lib/libmandoc/../../dist/tag.c", line 186, function "tag_put"

the file in question:
SHA256 (/usr/pkg/man/man1/got.1) = 4bd063aece39b3f179980d55cac78464bd5f8f1c50170278adc16014b80f11a4
	
>Fix:
	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index