Hi, Quanah
Thanks for your info. I am forwarding my info to the mailing-list.
Cheers,
Peter
From: Quanah Gibson-Mount <quanah.gibsonmount@gmail.com>
Sent: Thursday, January 2, 2020 12:18 PM
To: Peter Zhu (pezhu) <pezhu@cisco.com>
Subject: Re: mdb_stat() crashes under DB_STALE
I would advise you use the correct methods for asking for assistance. I would start with the openldap-technical mailing list (https://www.openldap.org/lists/)
Regards,
Quanah
On Mon, Dec 23, 2019 at 3:18 PM Peter Zhu (pezhu) <pezhu@cisco.com> wrote:
Hi, Folks
I am using LMDB 9.24, and have experienced the following crashes:
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Core was generated by `/ngfw/usr/local/sf/bin/sfhassd -c /etc/sf/sfhassd.conf'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 mdb_node_search (mc=mc@entry=0x2b794dbf7320, key=0x560ed4785f30, exactp=exactp@entry=0x2b794dbf730c) at mdb.c:5322
5322 mdb.c: No such file or directory.
[Current thread is 1 (LWP 12824)]
(gdb)
(gdb) bt
#0 mdb_node_search (mc=mc@entry=0x2b794dbf7320, key=0x560ed4785f30, exactp=exactp@entry=0x2b794dbf730c) at mdb.c:5322
#1 0x00002b792c57c79f in mdb_page_search (mc=0x2b794dbf74e0, key=key@entry=0x0, flags=flags@entry=2) at mdb.c:5617
#2 0x00002b792c57c960 in mdb_cursor_init (mc=mc@entry=0x2b794dbf74e0, txn=txn@entry=0x2b79600332c0, dbi=dbi@entry=5, mx=mx@entry=0x2b794dbf7670) at mdb.c:7623
#3 0x00002b792c58713d in mdb_stat (txn=0x2b79600332c0, dbi=5, arg=0x2b794dbf7a10) at mdb.c:9856
#4 0x00002b792c798c17 in LMDBCache::GetMstByType (this=0x560ed4782fb0, type=SSL_CACHE_ORIG_CERT, mst=0x2b794dbf7a10, idx=CACHE_TABLE_FIFO) at lmdbCache.cpp:1408
#5 0x00002b792c7946df in LMDBCache::InsertKeyValuePair (this=0x560ed4782fb0, type=SSL_CACHE_ORIG_CERT, key=0x2b794dbf7b60, data=0x2b794dbf7d00, idx=CACHE_TABLE_FIFO, asyncWrite=0) at lmdbCache.cpp:820
#6 0x00002b792c795aae in LMDBCache::InsertFiFoKeyValue (this=0x560ed4782fb0, type=SSL_CACHE_ORIG_CERT, appKey=0x2b794dbf7d00) at lmdbCache.cpp:1007
#7 0x00002b792c795143 in LMDBCache::InsertKeyValuePair (this=0x560ed4782fb0, type=SSL_CACHE_ORIG_CERT, key=0x2b794dbf7d00, data=0x2b794dbf7cf0) at lmdbCache.cpp:907
#8 0x00002b792c7957c4 in LMDBCache::InsertKeyValuePair (this=0x560ed4782fb0, type=SSL_CACHE_ORIG_CERT, key_=0x2b7960033abe "37364826527",
value=0x2b7960033ada "moredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredead"...) at lmdbCache.cpp:953
#9 0x00002b792c79a228 in lmdb_insert_to_cache (type=3, key=0x2b7960033abe "37364826527",
value=0x2b7960033ada "moredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredeadbeefmoremoredead"...) at lmdbCacheCWrapper.cpp:38
#10 0x0000560ed2c37155 in LocalInputThread (thread_handle=thread_handle@entry=0x2b79600008c0, arg=arg@entry=0x2b7950000b40) at local.c:473
#11 0x0000560ed2c38aa2 in _threadlist_create_stub (arg=0x2b794d3f3cc0) at ThreadList.c:174
#12 0x00002b792b8243d4 in ?? () from /lib64/libpthread.so.0
#13 0x00002b792ca8791d in clone () from /lib64/libc.so.6
Can you folks let me know if you can help. Or please forward my email to Howard Chu.
Thanks and have Happy Holidays.
Peter