Gather more debugging data regarding current hard-to-reproduce crashes

See Issues 504 and 505.
5.0.8 Release changes