NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/54502: makemandb crashes
>Number: 54502
>Category: bin
>Synopsis: makemandb crashes
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 29 07:20:00 +0000 2019
>Originator: Martin Husemann
>Release: NetBSD 9.99.10
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD space-truckin.duskware.de 9.99.10 NetBSD 9.99.10 (GENERIC) #3: Tue Aug 27 10:58:41 CEST 2019 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/evbarm/compile/GENERIC evbarm
Architecture: earmv7hfeb
Machine: evbarm
>Description:
I noticed in my daily report:
Possible core dumps:
/usr/share/man/makemandb.core
and:
Updating man page index:
makemandb: no such table: mandb_links
makemandb: no such table: mandb_links
[..]
Looking at the core file:
Reading symbols from makemandb...
Reading symbols from /usr/libdata/debug//usr/sbin/makemandb.debug...
[New process 1]
Core was generated by `makemandb'.
Program terminated with signal SIGSEGV, Segmentation fault.
(gdb) bt full
#0 rewrite_macro2len (arg=0x466e2076, mdoc=<optimized out>)
at /work/src/external/bsd/mdocml/lib/libmandoc/../../dist/mdoc_validate.c:1644
width = <optimized out>
tok = <optimized out>
#1 0x099e4444 in post_bl_norm (mdoc=0x68e9a060)
at /work/src/external/bsd/mdocml/lib/libmandoc/../../dist/mdoc_validate.c:703
argv = 0x68c267f4
wa = 0x68c267f4
i = 1
lt = LIST__NONE
n = 0x68ece020
mdoclt = <optimized out>
n = <optimized out>
argv = <optimized out>
wa = <optimized out>
i = <optimized out>
mdoclt = <optimized out>
lt = <optimized out>
#2 post_bl_head (mdoc=0x68e9a060)
at /work/src/external/bsd/mdocml/lib/libmandoc/../../dist/mdoc_validate.c:1664
nh = <optimized out>
nch = <optimized out>
nnext = <optimized out>
argv = <optimized out>
i = <optimized out>
nbl = <optimized out>
j = <optimized out>
nbl = <optimized out>
nh = <optimized out>
nch = <optimized out>
nnext = <optimized out>
argv = <optimized out>
i = <optimized out>
j = <optimized out>
#3 post_bl (mdoc=0x68e9a060)
at /work/src/external/bsd/mdocml/lib/libmandoc/../../dist/mdoc_validate.c:1735
nparent = <optimized out>
nprev = <optimized out>
nblock = <optimized out>
nbody = <optimized out>
nchild = <optimized out>
nnext = <optimized out>
prev_Er = <optimized out>
order = <optimized out>
#4 0x099e5ab0 in mdoc_validate (mdoc=0x68e9a060)
at /work/src/external/bsd/mdocml/lib/libmandoc/../../dist/mdoc_validate.c:378
n = 0x68ece080
np = <optimized out>
p = <optimized out>
__func__ = "mdoc_validate"
#5 0x099e55d4 in mdoc_validate (mdoc=0x68e9a060)
at /work/src/external/bsd/mdocml/lib/libmandoc/../../dist/mdoc_validate.c:322
n = 0x68ece020
np = <optimized out>
p = <optimized out>
__func__ = "mdoc_validate"
#6 0x099e55d4 in mdoc_validate (mdoc=0x68e9a060)
at /work/src/external/bsd/mdocml/lib/libmandoc/../../dist/mdoc_validate.c:322
n = 0x68ecdfc0
np = <optimized out>
p = <optimized out>
__func__ = "mdoc_validate"
#7 0x099e55d4 in mdoc_validate (mdoc=0x68e9a060)
at /work/src/external/bsd/mdocml/lib/libmandoc/../../dist/mdoc_validate.c:322
n = 0x68ecdea0
np = <optimized out>
p = <optimized out>
__func__ = "mdoc_validate"
#8 0x099e55d4 in mdoc_validate (mdoc=0x68e9a060)
at /work/src/external/bsd/mdocml/lib/libmandoc/../../dist/mdoc_validate.c:322
n = 0x68e9a0c0
np = <optimized out>
p = <optimized out>
__func__ = "mdoc_validate"
#9 0x099d5308 in mparse_result (curp=0x68ec4000)
at /work/src/external/bsd/mdocml/lib/libmandoc/../../dist/read.c:696
No locals.
#10 0x099f0a2c in begin_parse (fd=4, rec=0x7ff21940, mp=0x68ec4000,
file=0x68d7a920 "/usr/share/man/man9/vn_open.9")
at /work/src/usr.sbin/makemandb/makemandb.c:883
roff = <optimized out>
roff = <optimized out>
#11 update_db (rec=0x7ff21940, mp=0x68ec4000, db=0x6961e208)
at /work/src/usr.sbin/makemandb/makemandb.c:825
fd = 4
stmt = 0x68deb278
file = 0x68d7a920 "/usr/share/man/man9/vn_open.9"
errmsg = 0x0
err_count = 19
md5sum = <optimized out>
rows = 0x68c265d0
row = <optimized out>
rc = <optimized out>
parent = 0x68d8b5b0 "/usr/share/man"
buf = 0x689527c0
buflen = <optimized out>
link_count = 0
sqlstr = 0x99f2168 "SELECT device, inode, mtime, parent, file FROM metadb.file_cache fc WHERE NOT EXISTS(SELECT 1 FROM mandb_meta WHERE device = fc.device AND inode = fc.inode AND mtime = fc.mtime AND file = fc.file)"
new_count = 16
total_count = 6315
md5_status = <optimized out>
sqlstr = <optimized out>
stmt = <optimized out>
file = <optimized out>
parent = <optimized out>
errmsg = <optimized out>
md5sum = <optimized out>
buf = <optimized out>
buflen = <optimized out>
rows = <optimized out>
row = <optimized out>
new_count = <optimized out>
total_count = <optimized out>
err_count = <optimized out>
link_count = <optimized out>
md5_status = <optimized out>
rc = <optimized out>
fd = <optimized out>
#12 main (argc=<optimized out>, argv=<optimized out>)
at /work/src/usr.sbin/makemandb/makemandb.c:434
file = <optimized out>
sqlstr = 0x99f2080 "CREATE TABLE metadb.file_cache(device, inode, mtime, parent, file PRIMARY KEY);CREATE UNIQUE INDEX metadb.index_file_cache_dev ON file_cache (device, inode)"
manconf = <optimized out>
line = 0x68e44100 "January 2, 2017"
command = 0x696204a8 "Aq"
errmsg = 0x0
ch = <optimized out>
mp = 0x68ec4000
db = 0x6961e208
len = <optimized out>
linesize = 128
rec = {name = 0x0, name_desc = 0x0, desc = {
data = 0x6938b000 "Vnode attributes describe attributes of a file or directory including file permissions, owner, group, size, access time and modification time. A vnode attribute has the following structure: struct vat"...,
buflen = 20480, offset = 0}, lib = {data = 0x6961e000 "",
buflen = 512, offset = 0}, return_vals = {data = 0x694fe000 "",
buflen = 1024, offset = 0}, env = {data = 0x694fe800 "",
buflen = 1024, offset = 0}, files = {data = 0x694fec00 "",
buflen = 1024, offset = 0}, exit_status = {data = 0x694fe400 "",
buflen = 1024, offset = 0}, diagnostics = {data = 0x694ff000 "",
buflen = 1024, offset = 0}, errors = {data = 0x694ff400 "",
buflen = 1024, offset = 0}, section = 0x0, xr_found = 0,
md5_hash = 0x68c26620 "5cee1c625fd3699aa9abb6399076e92b",
device = 4096, inode = 18692514, mtime = 1483644222, machine = 0x0,
links = 0x0, file_path = 0x68d612c0 "/usr/share/man/man9/vn_open.9",
page_type = 0}
>How-To-Repeat:
no idea, just happens on this machine.
>Fix:
n/a
Home |
Main Index |
Thread Index |
Old Index