Hi, i don’t know much about sdl, but tried to find out why my qemu crashed since
today. I reduced the problem to the following lines:
#include <stdlib.h>
#include “SDL.h”
main(int argc, char *argv[])
{
if ( SDL_Init(SDL_INIT_VIDEO) < 0 ) {
fprintf(stderr, “Unable to init SDL: %s\n”, SDL_GetError());
exit(1);
}
atexit(SDL_Quit);
SDL_SetVideoMode(100, 100, 0, SDL_HWSURFACE);
while (1)
{
SDL_Event ev;
while (SDL_PollEvent(&ev))
{
}
}
}
I’ve got a callstack, but currently no self-compiled sdl, so just functions:
SDL_PumpEvents - X11_PumpEvents - X11_SetKeyboardState - X11_TranslateKey -
XLookupString - Segmentation Fault
The crash happens sometimes on start, otherwise always as soon as the mouse
enters the sdl-windows.