This is related to the previous thread. Apparently the latest NVidia drivers for the GTX cards have bugs that are breaking GLFW. Other users are having problems at glfwInit. In your case you can simply comment out glfwTerminate, until the NVidia drivers are fixed. Or try a different version of the video driver.