Write before crash