I just solved the crash on shut-down. valentina causes RunRev to crash if you call dbshutdown twice. I found another call to shut-down in a close card handler.