[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
>Synopsis: makemandb / man crashes on certain manual pages in netbsd-6
>Arrival-Date: Mon Aug 03 15:30:00 +0000 2015
>Originator: Havard Eidnes
>Release: NetBSD 6.1_STABLE
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
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):
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.)
Install the pkgsrc-wip zabbix-agent package, watch either "man
zabbix_agentd" or "makemandb -v" crash.
There's quite a few updates to man/mkmandb in newer NetBSD
code, but it appears to drag along also an update of mdocml
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?
Main Index |
Thread Index |