use db_env_do_backtrace before crashing #987