I'm having some trouble with VBO's with my project. note: The code worked perfectly before trying to use VBO's.
Here's the error: http://pastebin.com/6x7YWtgc
Here's the gdb backtrace: http://pastebin.com/zn3aN43b
My glut+glew initialization code and some relevant code and data structures: http://pastebin.com/xEEUc0ix
ps: A valgrind output is enormous because of fglrx code.
From what I can see within your code, you have enabled a vertex, normal, and texture coordinate array:
glEnableClientState(GL_VERTEX_ARRAY); glEnableClientState(GL_NORMAL_ARRAY); glEnableClientState(GL_TEXTURE_COORD_ARRAY);
However, you only set a pointer to the vertex array:
glVertexPointer(3, GL_FLOAT, sizeof(GPoint), 0);
Whenever I do this, my programs crash as well. Try commenting out the normal and texture coordinate arrays and try it again.