Detect segfaults (usually means recompile app) (#4144)