crash when I call glutDisplayFunc()

after I have created the off-screen buffer and the main window, glutDisplayFunc() gives
me a crash, what is the reason?

Thanks

did you glutInit(&argc, argv)