From: Mark B. <mb...@0x...> - 2000-05-17 18:55:23
|
On Wed, 17 May 2000, Pete Shinners wrote: > python is dumping in the calls sdl_image_load and sdl_sound_load. > i've been spending my time attacking the sdl_image_load, but it > seems curious that the same problem exists in sdl_sound_load. > things are crashing on the meat and potatos line of sdl_image_load > in sdlmodule.c: > > surface_ref = sdl_surface_NEW(IMG_Load_RW((SDL_RWops*)ops_ref, 0)); You should compile everything with debugging on, and find exactly where it's having issues. It's likely to be in IMG_Load_RW, either because of something to do with the ops_ref, or some broken aspect of SDL_image. Perhaps rw_NEW() is returning NULL for some reason, and then IMG_Load_RW isn't behaving. You might want to consider testing ops_ref for NULL. Other than that, without more detailed information regarding where it's croaking, it's hard to say. |