I downloaded Bitcoin Core v0.11.0 and immediately got some bitcoins sent to the address it created from a friend. Through the process of "synchronizing with the network" it ran into an error and crashed. Now whenever I open the client it just says "Error reading from database, shutting down." I still have my wallet.dat file, so will I still be able to recover those coins? It's not exactly an amount I can just forget about.
This is what's in the debug file when I open that. What can I do to recover the coins sent to this address? debug is here
http://pastebin.com/32FXCK92That is odd. Unless there's a little obvious thing you need to fix to solve this issue, the typical first step is going to %appdata% and find the roaming folder for bitcoin core, then delete the blockchain data. Of course do NOT touch the wallet.dat.
Then uninstall bitcoincore and reinstall it. Then try to resync again.
If it get corrupted again, a quick google search have people recommending to check your ram for errors;
http://www.memtest86.com/