register new Event when an app crashes

[#49165165]