That was me replacing "printf("SDL_WaitEvent() error\n")" with abort(). A core dump is more useful to me rather than seeing "SDL_WaitEvent() error" a million and one times...