Create a database with an expiring entry, open it and leave pwsafe in tray.
The day after pwsafe will notify the password is expiring, asking you to review entries with expiring password. This message box is displayed after double click on the tray icon and after password request.
If you hit "cancel" on password request the dialog box about expiring password is displayed anyway and if you click on "view password" the application crashes.
Tested on Windows XP SP3, pwsafe version 3.32