Segmentation problem?????

Hi,
When I compiled my OpenGL program(glxsimple.c) using the following command:

cc -o glxsimple glxsimple.c -shared -L/usr/X11R6/lib -lGL -lXext -lX11

“It’s throwing no errors.” when i look at the output of the program using the following command :

./glxsimple

It’s giving the following error:

“segmentation problem”

what does this mean?
please help me out.

thanks & regards
Yug.

You’re probably trying to write or read an uninitialized pointer. Post some code and we’ll know for sure.

out of bounds with an array.

I’m guessing something like this is happening:

Scene * myScene;

myScene->draw(); // KABOOM!