EXCEPTION: St9bad_alloc #9922

issue Smiggel opened this issue on March 5, 2017
  1. Smiggel commented at 10:18 AM on March 5, 2017: none

    My node suddenly crashed in the middle of the night, after running stable for many days. I got this error in the terminal:

    EXCEPTION: St9bad_alloc
    std::bad_alloc
    bitcoin in ProcessMessages()

    bitcoin-qt: validation.cpp:1751: bool ConnectBlock(const CBlock&, CValidationState&, CBlockIndex*, CCoinsViewCache&, const CChainParams&, bool): Controletest 'hashPrevBlock == view.GetBestBlock()'

    What version of bitcoin-core are you using?

    0.14.0RC1

    Machine specs:

    • OS: Raspbian
    • CPU: ARM
    • RAM: 1GB
    • Disk size: 500GB
    • Disk Type (HD/SDD): HDD

    Any extra information that might be useful in the debugging process.

    My bitcoin.conf file contents: listen=1 bind=0.0.0.0 port=8333 maxconnections=64 upnp=1 maxmempool=64

    dbcache=64 par=2 checkblocks=24 checklevel=0

    disablewallet=1

    rpcbind=127.0.0.1 rpcport=8332 rpcallowip=127.0.0.1

    #maxuploadtarget=144

    server=1 testnet=0

  2. laanwj commented at 11:00 AM on March 5, 2017: member

    You had already reported this in #9857.

  3. laanwj closed this on Mar 5, 2017

  4. TheBlueMatt commented at 2:15 PM on March 5, 2017: member

    I believe the reporter's point is that it still crashes with -maxmempool set (the purported fix for #9857).

    On March 5, 2017 6:00:22 AM EST, "Wladimir J. van der Laan" notifications@github.com wrote:

    You had already reported this in #9857.

    -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/bitcoin/bitcoin/issues/9922#issuecomment-284220406

  5. Smiggel commented at 2:59 PM on March 5, 2017: none

    @TheBlueMatt That's correct. The error I get now is also different then the errors I had before. It ran stable for long time using the maxmempool setting. However, not it suddenly stopped.

  6. laanwj commented at 5:00 PM on March 5, 2017: member

    That's fine, but #9857 is still open, so you should not report a new issue then (or at least close the old one).

  7. Smiggel commented at 5:01 PM on March 5, 2017: none

    Ok. I'll Remember that.

  8. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-28 06:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me