NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/54139: makemandb dumps core
>Number: 54139
>Category: bin
>Synopsis: makemandb dumps core
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 24 18:55:00 +0000 2019
>Originator: Martin Husemann
>Release: NetBSD 8.99.37
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD nelly.aprisoft.de 8.99.37 NetBSD 8.99.37 (NELLY) #29: Wed Apr 24 11:21:34 CEST 2019 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/sparc64/compile/NELLY sparc
Architecture: sparc
Machine: sparc
>Description:
Reproducable on this machine, no idea what makes it special.
At startup I get a /makemandb.core that says:
Core was generated by `makemandb'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x207c848c in strlen () from /usr/lib/libc.so.12
(gdb) bt
#0 0x207c848c in strlen () from /usr/lib/libc.so.12
#1 0x200c80b8 in sqlite3DbStrDup (db=0x2019c208,
z=0x208ea7f8 <error: Cannot access memory at address 0x208ea7f8>)
at /work/src/external/public-domain/sqlite/lib/../dist/sqlite3.c:27019
#2 0x2012841c in codeAllEqualityTerms (pzAff=<synthetic pointer>,
nExtraReg=0, bRev=<optimized out>, pLevel=0x209154f8, pParse=0xffffd6f8)
at /work/src/external/public-domain/sqlite/lib/../dist/sqlite3.c:136121
#3 sqlite3WhereCodeOneLoopStart (notReady=18446744073709551615, iLevel=0,
pWInfo=0x20915208)
at /work/src/external/public-domain/sqlite/lib/../dist/sqlite3.c:5962
#4 sqlite3WhereBegin (pParse=<optimized out>, pParse@entry=0xffffd6f8,
pTabList=<optimized out>, pTabList@entry=0x2091e808,
pWhere=pWhere@entry=0x209208d8, pOrderBy=<optimized out>,
pResultSet=<optimized out>, wctrlFlags=<optimized out>,
wctrlFlags@entry=0, iAuxArg=<optimized out>)
at /work/src/external/public-domain/sqlite/lib/../dist/sqlite3.c:13265
#5 0x2011b29c in sqlite3Select (pParse=<optimized out>,
pParse@entry=0xffffd6f8, p=<optimized out>, pDest=<optimized out>,
pDest@entry=0xffffd1b8)
at /work/src/external/public-domain/sqlite/lib/../dist/sqlite3.c:130026
#6 0x20145894 in yy_reduce (yyLookahead=<optimized out>, pParse=0xffffd6f8,
yyruleno=<optimized out>, yypParser=0xffffd1d4, yyLookaheadToken=...)
at /work/src/external/public-domain/sqlite/lib/../dist/sqlite3.c:149853
#7 sqlite3Parser (yyminor=..., yymajor=<optimized out>, yyp=0xffffd1d4)
at /work/src/external/public-domain/sqlite/lib/../dist/sqlite3.c:20045
#8 sqlite3RunParser (pParse=pParse@entry=0xffffd6f8, zSql=0x209683f3 "",
zSql@entry=0x209683c0 "SELECT * FROM mandb_meta WHERE md5_hash = :md5_hash", pzErrMsg=<optimized out>, pzErrMsg@entry=0xffffd6f0)
at /work/src/external/public-domain/sqlite/lib/../dist/sqlite3.c:21234
#9 0x2014a1a4 in sqlite3Prepare (db=db@entry=0x2019c208,
zSql=zSql@entry=0x209683c0 "SELECT * FROM mandb_meta WHERE md5_hash = :md5_hash", nBytes=nBytes@entry=-1, prepFlags=prepFlags@entry=128,
pReprepare=pReprepare@entry=0x0, ppStmt=ppStmt@entry=0xffffd974,
pzTail=pzTail@entry=0x0)
at /work/src/external/public-domain/sqlite/lib/../dist/sqlite3.c:123355
#10 0x2014a6c8 in sqlite3LockAndPrepare (db=0x2019c208,
zSql=0x209683c0 "SELECT * FROM mandb_meta WHERE md5_hash = :md5_hash",
nBytes=-1, prepFlags=128, pOld=0x0, ppStmt=0xffffd974,
pzTail=<optimized out>)
at /work/src/external/public-domain/sqlite/lib/../dist/sqlite3.c:123448
#11 0x2014aa20 in sqlite3_prepare_v2 (db=db@entry=0x2019c208,
zSql=0x209683c0 "SELECT * FROM mandb_meta WHERE md5_hash = :md5_hash",
nBytes=nBytes@entry=-1, ppStmt=ppStmt@entry=0xffffd974,
pzTail=pzTail@entry=0x0)
at /work/src/external/public-domain/sqlite/lib/../dist/sqlite3.c:123819
#12 0x00032290 in check_md5 (buflen=<optimized out>, buf=0x20e32c40,
md5=<synthetic pointer>, db=0x2019c208,
file=0x20d56af0 "/usr/share/man/man3/dwarf_add_expr_gen.3")
at /work/src/usr.sbin/makemandb/makemandb.c:1825
#13 update_db (rec=0xffffd978, mp=0x2039a000, db=0x2019c208)
at /work/src/usr.sbin/makemandb/makemandb.c:781
#14 main (argc=<optimized out>, argv=<optimized out>)
at /work/src/usr.sbin/makemandb/makemandb.c:434
>How-To-Repeat:
s/a
>Fix:
n/a
Home |
Main Index |
Thread Index |
Old Index