# Load error after several crashes. How to bug report?

**URL:** <https://forum.zcashcommunity.com/t/load-error-after-several-crashes-how-to-bug-report/1699>\
**Category:** zcashd client\
**Created:** [September 13, 2016, 10:36am UTC](https://forum.zcashcommunity.com/t/load-error-after-several-crashes-how-to-bug-report/1699 "2016-09-13T10:36:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Artlav](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@Artlav](https://forum.zcashcommunity.com/u/Artlav)\
**Post date:** [September 13, 2016, 10:36am UTC](https://forum.zcashcommunity.com/t/load-error-after-several-crashes-how-to-bug-report/1699/1 "2016-09-13T10:36:06Z")

</div>

I was trying to make a Z transaction on a node with 4Gb of RAM.

It crashed once with mining active (with “terminate called after throwing an instance of ‘std::bad\_alloc’ what(): std::bad\_alloc”), it succeeded with mining off but then crashed when mining restarted, and then it crashed again when mining with only one core.

Apparently crashing is unhealthy, since now i’m getting an error trying to start it, during the “activate the best chain” part: zcashd: wallet/wallet.cpp:605: void CWallet::IncrementNoteWitnesses(const CBlockIndex\*, const CBlock\*, ZCIncrementalMerkleTree): Assertion `nWitnessCacheSize \>= nd-\>witnesses.size()’ failed.

I suspect that re-downloading the blockchain would fix this.

Is that some sort of a known problem?  
Should i preserve the blockchain as i have it for someone to debug the issue?  
Anywhere to report this?

---

<div class="post-metadata">

**Author:** ![Artlav](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@Artlav](https://forum.zcashcommunity.com/u/Artlav)\
**Post date:** [September 13, 2016, 12:38pm UTC](https://forum.zcashcommunity.com/t/load-error-after-several-crashes-how-to-bug-report/1699/2 "2016-09-13T12:38:00Z")

</div>

Ok, found str4d on Slack, turns out it’s mostly a known issue.  
Sadly, the issue corrupts the wallet, so there goes that node’s mining spoils. ☹

---

<div class="post-metadata">

**Author:** ![daira](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/daira/32/43253_2.png) [@daira](https://forum.zcashcommunity.com/u/daira)\
**Post date:** [September 18, 2016, 2:23pm UTC](https://forum.zcashcommunity.com/t/load-error-after-several-crashes-how-to-bug-report/1699/3 "2016-09-18T14:23:28Z")

</div>

The github ticket for this is [error on startup: Assertion `nWitnessCacheSize \>= nd-\>witnesses.size()' failed. · Issue #1378 · zcash/zcash · GitHub](https://github.com/zcash/zcash/issues/1378) . It will be fixed in beta 2.
