id summary reporter owner description type status priority milestone component version resolution keywords cc difficulty 995 SDL on OSX, How does it work ? paines "I compiled and installed the SDL egg using libsdl-framework via macports. When now compiling and running a Chicken App or using csi, it will segfault with an NSInternalInconsistencyException exception. Some sources state that SDLmain / SDL_Init must be called at first like this: (cond-expand (compile-sdl (declare (foreign-declare ""#include \""SDL.h\""\n"")) (foreign-code ""SDL_Init(SDL_INIT_EVERYTHING);"")) (else (sdl-init sdl_init_everything))) .... more code and then compile it with csc -feature compile-sdl file.scm under OSX, which still gives the same exception. One more suggestion is to use the parameter SDL_VIDEODRIVER=x11 ./myOSXBinary but this won't produce a working GFX context. I am not sure if this is a real bug, or I am just not using SDL correctly under Chicken + OSX. I hope someone can clear things up. " defect closed major someday unknown 4.8.x fixed sdl osx