Testing Bitcoin-Qt on my mac, I got a crash when running 0.5rc4 on a previously-encrypted wallet, after clicking the "you must restart" dialog box OK button.
This catches the exception that is causing the problem (DbEnv::close(0) is upset about an invalid parameter), but I'm still concerned that I haven't found the root cause-- I still don't know WHY the exception is thrown.