   glutSetWindow and glutSwapBuffers segfaulting for no reason?
  I'm working on a project to automatically subdivide a manifold mesh, and I've got all my code working and running fine.  It works like this:1) Loop for a certain number of subdivision runs   Subdivide mesh2) Generate model list3) Draw it to the screenNow, when I run only one subdivision loop, it displays and runs fine, but any more than that and glutSetWindow and glutSwapBuffers segfault for some reason.  I'm not looking for someone to debug my code, but does anyone know of a reason off the top of their head that would cause those two functions to segfault?  It's only those two, if I comment them both out, it runs fine (but doesn't draw anything to the screen).  Thoughts?   