Current-Users archive

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

NetBSD 6.0_BETA2 & mdoc problem...



Hi,

I upgraded to NetBSD 6.0_BETA2 on some machines, and on one of them running 
makemandb ended like this:

bash-4.2# makemandb -f
Building temporary file cache
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 trap (core dumped)

While ktrace:ing makemandb, it showed that this happened then it was processing 
the FreeRadius man pages.

   922      1 makemandb open("/usr/pkg/man/man5/clients.conf.5", 0, 0x10000) = 5
   922      1 makemandb __fstat50(0x5, 0x7f7fffffd8e0) = 0
   922      1 makemandb read(0x5, 0x7f7ff3d74000, 0x10000) = 2429
       ".TH clients.conf 5 "13 June 2005" "" "FreeRADIUS client configuration"
   922      1 makemandb read(0x5, 0x7f7ff3d74000, 0x10000) = 0
       ""
   922      1 makemandb close(0x5)                 = 0
   922      1 makemandb chdir("/usr/pkg/man")      = 0
   922      1 makemandb lseek(0x3, 0, 0x172c000, 0) = 24297472
   922      1 makemandb write(0x3, 0x7f7ff57b0808, 0x400) = 1024
       "\r\0\0\0\^C\^B\M-3\0\^C\M^Q\^C"\^B\M-3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
   922      1 makemandb open("/usr/pkg/man/man5/dictionary.5", 0, 0x10000) = 5
   922      1 makemandb __fstat50(0x5, 0x7f7fffffd8e0) = 0
   922      1 makemandb read(0x5, 0x7f7ff3d74000, 0x10000) = 5065
       ".\\"     # DS - begin display\n.de DS\n.RS\n.nf\n.sp\n..\n.\\"     # "
   922      1 makemandb read(0x5, 0x7f7ff3d74000, 0x10000) = 0
       ""
   922      1 makemandb close(0x5)                 = 0
   922      1 makemandb lseek(0x3, 0, 0x172cc00, 0) = 24300544
   922      1 makemandb write(0x3, 0x7f7ff57b4008, 0x400) = 1024
       "\r\0\0\0\^A\0%\0\0%\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
   922      1 makemandb lseek(0x3, 0, 0xf51400, 0) = 16061440
   922      1 makemandb read(0x3, 0x7f7ff6bd1008, 0x400) = 1024
       "\n\0\0\0\^Y\0J\0\0J\0p\0\M^V\0\M-<\0\M-b\^A\b\^A.\^AT\^Az\^A\240\^A"
   922      1 makemandb chdir("/usr/pkg/man")      = 0
   922      1 makemandb write(0x2, 0x7f7fffffce40, 0x9a) = 154
       "assertion "MAN_BLOCK == p->parent->type" failed: file "/usr/src/exter"
   922      1 makemandb __sigprocmask14(0x3, 0x7f7fffffd740, 0) = 0
   922      1 makemandb _lwp_self()                = 1
   922      1 makemandb _lwp_kill(0x1, 0x6)        = 0
   922      1 makemandb SIGABRT SIG_DFL

And by removing the FreeRadius package, the problem was solved:

bash-4.2# pkg_info | grep -i free
freeradius-2.1.12nb1 Free RADIUS server implementation

bash-4.2# pkg_delete freeradius
Executing `/bin/rmdir '/usr/pkg'/etc/raddb/sql/postgresql 2>/dev/null || true'
[...]

bash-4.2# makemandb -f
Building temporary file cache
Total Number of new or updated pages enountered = 5777
Total number of pages that were successfully indexed/updated = 5656
Total number of (hard or symbolic) links found = 121
Total number of pages that could not be indexed due to errors = 0

However, reinstalling the FreeRadius package didn't reproduce the problem I saw.

Has anybody else seen a similar problem with makemandb/mdoc?
(Or did I just happen to have a broken file(s) lying around...)

Re,
/P


Home | Main Index | Thread Index | Old Index