Jeff Cliff (themusicgod1) wrote,
Jeff Cliff
themusicgod1

I know what 'std::bad_alloc' probably means

After being really slow to load, bitcoin 0.9.0 crashed suddenly and gave me:
************************
EXCEPTION: St9bad_alloc
std::bad_alloc
bitcoin in ProcessMessages()

bitcoin-qt: main.cpp:1638: bool ConnectBlock(CBlock&, CValidationState&, CBlockIndex*, CCoinsViewCache&, bool): Assertion `hashPrevBlock == view.GetBestBlock()' failed.

Aborted (core dumped)

I'm checking now, but I'm pretty sure this means I ran out of memory.  I only have 1GB and hadn't enabled swap, and other ubuntu 14.04 crap takes up a lot of my memory.  I probably ran completely out.
Tags: computer problems
  • Post a new comment

    Error

    default userpic
  • 1 comment
In the meanwhile, the more I see stuff like this the more I wonder how far a united framework of error messaging could go. I've seen talk about Linux including QR codes to represent error messages to scan & send back to dev team. I wonder how much of that would be useful within bitcoin.