sdl: improve error message on fatal error