reth-indexer icon indicating copy to clipboard operation
reth-indexer copied to clipboard

reth-indexer db panics on `osal_rdt_unlock` while syncing new block headers

Open halljson opened this issue 2 years ago • 5 comments

This has popped up twice once the indexer catches up and starts syncing new block headers, it runs fine for hours before hitting this:

new block(s) found check from: 17713275... last seen: 17713274... latest block: 17713275
new block(s) found check from: 17713276... last seen: 17713275... latest block: 17713276
reth-database-reader: mdbx:0: panic: Assertion `osal_rdt_unlock() failed: err 1
' failed.
Aborted (core dumped)

real    594m0.578s
user    0m13.813s
sys     0m2.265s

halljson avatar Jul 17 '23 14:07 halljson

hmm interesting il take a look

joshstevens19 avatar Jul 17 '23 21:07 joshstevens19

noticed today that this happens a lot more often while reth is catching up to the current chain state and reth-indexer is syncing. makes me think this may have something to do with reth writing while reth-indexer is reading?

halljson avatar Jul 21 '23 20:07 halljson

Need to raise this on reth lib itself il do it tomorrow

joshstevens19 avatar Jul 23 '23 07:07 joshstevens19

get this in place of the initial error once today, first time seeing it:

reth-database-reader: pthread_mutex_lock.c:438: __pthread_mutex_lock_full: Assertion `e != ESRCH || !robust' failed.
Aborted (core dumped)

halljson avatar Aug 02 '23 14:08 halljson

Hi guys -- can we get a repro of this as a Github issue? We want to investigate!

gakonst avatar Nov 22 '23 22:11 gakonst