segmenation fault

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
JoeriDC
Posts: 18
Joined: Mon May 22, 2006 5:22 pm

segmenation fault

Post by JoeriDC »

Hi,

I try to debug and run the customscenode example and i get a segmenation fault ( didn't changed the code and all dependecy's are set )

any idea what causes this?
game
Posts: 13
Joined: Sun Jul 09, 2006 2:47 pm

Post by game »

are you sure that your pointeur are OK?
when you create it give them 0 for value.
to be sure you can use it test:

Code: Select all

if (pointeur)
{
    //instruction if good
}
else
{
    //instruction if bad
}
you can execute the debugger too without breakpoint to find information about the file the function and the line, it it will give you the call stack. :)
Post Reply