NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/50121: makemandb / man crashes on certain manual pages in netbsd-6
>Number: 50121
>Category: bin
>Synopsis: makemandb / man crashes on certain manual pages in netbsd-6
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 03 15:30:00 +0000 2015
>Originator: Havard Eidnes
>Release: NetBSD 6.1_STABLE
>Organization:
None
>Environment:
System: NetBSD smistad.uninett.no 6.1_STABLE NetBSD 6.1_STABLE (MAANEN) #1: Wed Oct 29 11:27:25 CET 2014 he%smistad.uninett.no@localhost:/usr/obj/sys/arch/i386/compile/MAANEN i386
Architecture: i386
Machine: i386
>Description:
The makemandb program crashes on certain man pages. In my
case, the zabbix_agentd page from the pkgsrc-wip zabbix-agent
package makes this happen (under the -v option):
Parsing: /usr/pkg/man/man8/zabbix_agentd.8
assertion "MAN_BLOCK == p->parent->type" failed: file "/usr/src/external/bsd/mdocml/lib/libmandoc/../../dist/man.c", line 212, function "man_node_append"
Abort (core dumped)
The same happens if you do "man" on that manual page.
However, if you do "nroff -man" on the manpage, it formats
~ok. The manpage doesn't use the new man page macros.
This has the slightly nasty side effect that "man -k" on this
machine is useless, as any lookup results in:
apropos: Unable to query schema version: disk I/O error
(I thought that error code / message was reserved for actual
hard IO failures, which this isn't an instance of.)
>How-To-Repeat:
Install the pkgsrc-wip zabbix-agent package, watch either "man
zabbix_agentd" or "makemandb -v" crash.
>Fix:
There's quite a few updates to man/mkmandb in newer NetBSD
code, but it appears to drag along also an update of mdocml
and sqlite...
However, with a wholesale upgrade to HEAD of all those 4
components, makemandb no longer crashes, and "man
zabbix_agentd" works as expected.
Is this too invasive to contemplate pulling up to netbsd-6?
Or does there exist a "point fix" for this problem?
Home |
Main Index |
Thread Index |
Old Index