NetBSD-Bugs archive

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

Re: lib/54135: sparc userland can not deal with 8k page size



The following reply was made to PR lib/54135; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: Christos Zoulas <christos%astron.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: lib/54135: sparc userland can not deal with 8k page size
Date: Wed, 24 Apr 2019 20:42:13 +0200

 Tried again with the PAGE change you asked for and got the same (?)
 again:
 
 #0  0x203884d8 in memset () from /usr/lib/libc.so.12
 #1  0x20314f50 in tcache_alloc_small (size=<optimized out>, 
     slow_path=<optimized out>, zero=<optimized out>, binind=18, 
     tcache=0x200ba130, arena=<optimized out>, tsd=0x200ba040)
     at /work/src/external/bsd/jemalloc/lib/../include/jemalloc/internal/tcache_inlines.h:80
 #2  arena_malloc (slow_path=<optimized out>, tcache=0x200ba130, 
     zero=<optimized out>, ind=18, size=<optimized out>, arena=<optimized out>, 
     tsdn=0x200ba040)
     at /work/src/external/bsd/jemalloc/lib/../include/jemalloc/internal/arena_inlines_b.h:94
 #3  iallocztm (slow_path=<optimized out>, arena=<optimized out>, 
     is_internal=false, tcache=0x200ba130, zero=<optimized out>, ind=18, 
     size=<optimized out>, tsdn=0x200ba040)
     at /work/src/external/bsd/jemalloc/lib/../include/jemalloc/internal/jemalloc_internal_inlines_c.h:53
 #4  imalloc_no_sample (sopts=<optimized out>, ind=18, usize=768, 
     size=<optimized out>, tsd=0x200ba040, dopts=0xffffd104)
     at /work/src/external/bsd/jemalloc/lib/../dist/src/jemalloc.c:1742
 #5  imalloc_body (sopts=<optimized out>, dopts=0xffffd104, tsd=0x200ba040)
     at /work/src/external/bsd/jemalloc/lib/../dist/src/jemalloc.c:1938
 #6  0x2031611c in imalloc (dopts=0xffffd104, sopts=0xffffd0ec)
     at /work/src/external/bsd/jemalloc/lib/../dist/src/jemalloc.c:2041
 #7  malloc (size=<optimized out>)
     at /work/src/external/bsd/jemalloc/lib/../dist/src/jemalloc.c:2071
 #8  0x201324cc in ft_mem_qrealloc (memory=memory@entry=0x2005e050, 
     item_size=item_size@entry=4, cur_count=cur_count@entry=0, 
     new_count=new_count@entry=192, block=block@entry=0x0, 
     p_error=p_error@entry=0xffffd1e4)
     at /work/xsrc/external/mit/freetype/dist/src/base/ftutil.c:146
 #9  0x20132558 in ft_mem_realloc (memory=memory@entry=0x2005e050, 
     item_size=item_size@entry=4, cur_count=cur_count@entry=0, 
     new_count=new_count@entry=192, block=block@entry=0x0, 
     p_error=p_error@entry=0xffffd26c)
     at /work/xsrc/external/mit/freetype/dist/src/base/ftutil.c:102
 #10 0x20110b00 in pcf_get_bitmaps (face=0x20588000, stream=0x20588084)
     at /work/xsrc/external/mit/freetype/dist/src/pcf/pcfread.c:874
 #11 pcf_load_font (stream=stream@entry=0x20588084, face=face@entry=0x20588000, 
     face_index=face_index@entry=0)
     at /work/xsrc/external/mit/freetype/dist/src/pcf/pcfread.c:1375
 ...
 
 
 I get a second core from makemandb that looks like this:
 
 Program terminated with signal SIGSEGV, Segmentation fault.
 #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
 
 but that may be completely unrelated
 
 Martin
 


Home | Main Index | Thread Index | Old Index