The following occurred today on Ubuntu 14.04 LTS 64bit, bitcoind v0.10
EXCEPTION: St9bad_alloc
std::bad_alloc
bitcoin in ProcessMessages()
bitcoind: main.cpp:1647: bool ConnectBlock(const CBlock&, CValidationState&, CBlockIndex*, CCoinsViewCache&, bool): Assertion `hashPrevBlock == view.GetBestBlock()' failed. Aborted (core dumped)