It's possible you ran into a n² computation issue rather than actual corruption. If it happens next time, give it 30 minutes and see if it completes.
As for the scanning, how many wallets do you use at the same time and do you use imported private keys? These could be the cause of the multiple transaction scans.