crash reporting courtesy of Peter O.