page fault in glut

i’m using glut and when ever i run a program i get a page fault and it crashes. this occurs when it tries to initiallize glut.
the error is :
AGAIN caused an invalid page fault in
module GLUT32.DLL at 017f:1000fdac.

Post some code.