Sorry, can't replicate your crash.
Created a new wallet, encrypted it (client restarted), added a couple send and receive addresses, changed passphrase, added a couple more addresses.
Using the old passphrase only made Bitcoin-qt 5.1 grumble about being unable to unlock the wallet and give me that "Don't remember your password, dummy?" look