One thing that is tricky is OpenGL attempts to reference static locations in RAM where mac decides to tidy up its RAM whenever it wants and may move the reference. I don't know if that is causing this specific problem, its just something i've come across in my research.