Hello there. I’m new here and sort of new to Zcash. I have ran a full node on and off over the past year or so. I am currently running version 5.7.0 on Debian 12 stable.
Recently I discovered I had a faulty RAM stick. After extensive tests I have determined that the 2 sticks I have now are good, so I’m working with 16GB now. I did have a problem running the node since it looked like I had corrupted blockchain data due to that stick becoming faulty recently.
I ended up having to run zcashd with -reindex -rescan.
This was successful, however, after running for a few hours synchronized, the RAM usage was exhausted and then daemon was killed.
Now when I run zcashd I am prompted by the following error:
zcashd: init.cpp:715: void ThreadStartWalletNotifier(): Assertion `pindexFork != nullptr' failed.
Aborted
Here is the debug.log:
2023-12-05T06:51:47.514275Z INFO main: Zcash version v5.7.0
2023-12-05T06:51:47.514285Z INFO Init: main: InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2023-12-05T06:51:47.515457Z INFO Init: main: Using the 'sse4(1way),sse41(4way),avx2(8way)' SHA256 implementation
2023-12-05T06:51:47.515909Z INFO Init: main: Using BerkeleyDB version Berkeley DB 6.2.23: (March 28, 2016)
2023-12-05T06:51:47.515915Z INFO Init: main: Default data directory /home/alexis/.zcash
2023-12-05T06:51:47.515932Z INFO Init: main: Using data directory /media/alexis/Starseed-Data/.starbits/.zcash/zcash/zdata
2023-12-05T06:51:47.515956Z INFO Init: main: Using config file /media/alexis/Starseed-Data/.starbits/.zcash/zcash/zdata/zcash.conf
2023-12-05T06:51:47.515959Z INFO Init: main: Using at most 125 connections (1024 file descriptors available)
2023-12-05T06:51:47.518510Z INFO Init: main: Using 16 MiB out of 16 requested for signature cache, able to store 524288 elements
2023-12-05T06:51:47.520157Z INFO Init: main: Using 8 MiB out of 8 requested for Sapling bundle cache, able to store 262144 elements
2023-12-05T06:51:47.521760Z INFO Init: main: Using 8 MiB out of 8 requested for Orchard bundle cache, able to store 262144 elements
2023-12-05T06:51:47.521769Z INFO Init: main: Using 6 threads for script verification
2023-12-05T06:51:47.522179Z INFO Init: main: Sprout parameters will be fetched from /home/alexis/.zcash-params/sprout-groth16.params if needed
2023-12-05T06:51:47.522186Z INFO Init: main: Sapling parameters are bundled in this binary
2023-12-05T06:51:47.522189Z INFO Init: main: Orchard parameters are generated deterministically
2023-12-05T06:51:47.522248Z INFO main: metrics-ui thread start
2023-12-05T06:51:47.522291Z INFO main: scheduler thread start
2023-12-05T06:51:47.653676Z INFO Init: main: Loading Orchard parameters
2023-12-05T06:51:50.884384Z INFO Init: main: Loaded proof system parameters in 3.362182s seconds.
2023-12-05T06:51:50.884587Z INFO Init: main: HTTP: creating work queue of depth 16
2023-12-05T06:51:50.884627Z INFO Init: main: Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcuser for rpcauth auth generation.
2023-12-05T06:51:50.884662Z INFO Init: main: HTTP: starting 4 worker threads
2023-12-05T06:51:50.884945Z INFO Init: main: Using wallet wallet.dat
2023-12-05T06:51:50.884962Z INFO Init: main: CDBEnv::Open: LogDir=/media/alexis/Starseed-Data/.starbits/.zcash/zcash/zdata/database ErrorFile=/media/alexis/Starseed-Data/.starbits/.zcash/zcash/zdata/db.log
2023-12-05T06:51:50.888723Z INFO Init: main: Bound to [::]:8233
2023-12-05T06:51:50.888739Z INFO Init: main: Bound to 0.0.0.0:8233
2023-12-05T06:51:50.888751Z INFO Init: main: Cache configuration:
2023-12-05T06:51:50.888756Z INFO Init: main: * Using 2.0MiB for block index database
2023-12-05T06:51:50.888759Z INFO Init: main: * Using 120.0MiB for chain state database
2023-12-05T06:51:50.888761Z INFO Init: main: * Using 328.0MiB for in-memory UTXO set
2023-12-05T06:51:50.888783Z INFO Init: main: Opening LevelDB in /media/alexis/Starseed-Data/.starbits/.zcash/zcash/zdata/blocks/index
2023-12-05T06:51:52.521647Z INFO Init: main: Opened LevelDB successfully
2023-12-05T06:51:52.521668Z INFO Init: main: Opening LevelDB in /media/alexis/Starseed-Data/.starbits/.zcash/zcash/zdata/chainstate
2023-12-05T06:51:53.527740Z INFO Init: main: Opened LevelDB successfully
2023-12-05T06:52:09.904237Z INFO Init: main: LoadBlockIndexDB: last block file = 1948
2023-12-05T06:52:09.908483Z INFO Init: main: LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=10604, size=76592305, heights=0...2302808, time=2016-10-28...2023-11-19)
2023-12-05T06:52:09.908490Z INFO Init: main: Checking all blk files are present...
2023-12-05T06:52:10.285507Z INFO Init: main: LoadBlockIndexDB: transaction index disabled
2023-12-05T06:52:10.285518Z INFO Init: main: LoadBlockIndexDB: insight explorer disabled
2023-12-05T06:52:10.285520Z INFO Init: main: LoadBlockIndexDB: light wallet daemon disabled
2023-12-05T06:52:10.745381Z INFO Init: main: Initializing databases...
2023-12-05T06:52:10.987840Z INFO Init: main: block index 20099ms
2023-12-05T06:52:11.022710Z INFO Init: main: nFileVersion = 5070050
2023-12-05T06:52:11.022724Z INFO Init: main: Keys: 107 plaintext, 0 encrypted, 107 w/ metadata, 107 total
2023-12-05T06:52:11.022729Z INFO Init: main: ZKeys: 4 plaintext, 0 encrypted, 4 w/metadata, 4 total
2023-12-05T06:52:11.076613Z INFO Init: main: wallet 89ms
2023-12-05T06:52:11.077663Z INFO main: txnotify thread start
I have tested the two RAM sticks I have numerous times with memtest86+ and they passed 2 times with 4 passes each time. So I don’t think its that memory that is the issue. But this error is new to me and did begin happening after the memory exhaustion crash. It was using over max RAM capacity and swapfile filled up too. The OS did not crash or anything, since zcashd process was killed.
I don’t want to reindex if there is something I can do to get it running again. Thanks so much for reading this and for your help.