The wallet seems to run fine until I exit, and then I see:
[Thread 0x7fffa566a700 (LWP 9742) exited]
[Thread 0x7fffa5ebb700 (LWP 9741) exited]
[Thread 0x7fffa670c700 (LWP 9740) exited]
************************
EXCEPTION: St13runtime_error
CDB() : can't open database file wallet.dat, error -30973
bitcoin in Runaway exception
bitcoin: ../../src/allocators.h:41: LockedPageManagerBase<Locker>::~LockedPageManagerBase() [with Locker = MemoryPageLocker]: Assertion `this->GetLockedPageCount() == 0' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff4323f77 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
This happens each time I close the wallet application.
I think it started happening after my laptop refused to resume from suspending one time and I had to power it down in a less than correct manner.
Is there some way I can 'fix' the wallet?

