   Odd segmentation fault when using SDL_Image.
  http://pastebin.com/m4434850c  <-- m'codehttp://www.gsarchives.net/index2.php?category=all&system=computer&game=chips_challenge&type=sprites&level0=non-animated&level1=chip <-- transparent sprites being used.I'm trying to learn SDL by recreating the old DOS game Chips Challenge. Had it working to the point where a gif of the southern facing chip would move around the map I created. But once I tried to add the different sprites for different directions, I get a segmentation fault everytime I try to execute the file. I've made the same program countless times, but with SDL_LoadBMP rather than IMG_Load. Unless I just made a very elementary mistake in my code, there must be some big difference between SDL_LoadBMP and IMG_Load that I'm not taking into consideration.I would ask the SDL mailing list, but it usually takes about a week for an unregistered member to get a post approved. Any gesture in the right direction would be appreciated.   
  On which line do you get segmentation fault? Run under debugger to see it.Are you sure it is needed to surface from SDL_SetVideoMode function result?   ;Quote:Original post by bubu LVOn which line do you get segmentation fault? Run under debugger to see it.Are you sure it is needed to surface from SDL_SetVideoMode function result?I'm not too experienced with debuggers. I have gdb, but don't know how to use it.   