It happened to me too. I installed the new pos recalibration version, when i replaced the previous wallet.dat of esp2 , it says error in reading wallet.dat and then just closes.

Make copy of your wallet.dat in safe place and start client with -salvagewallet argument