Crash Analytics for the Internet of Things