SDL BIG problem

Hi all,
I am initing SDL with the SDL_INIT_NOPARACHUTE, but it refuse to works
as expected.

My app crash and instead of having a window of where the crash happens
I get a pretty “Fatal signal : SDL Parachute deployed”.

You could know how to feel after been debuging for 2 hours.

Is there any work around? Any fix?

I really will appreciate any help.

Regards,
Miguel

Hi all,
I am initing SDL with the SDL_INIT_NOPARACHUTE, but it refuse to works
as expected.

Are you making any call to SDL_Init() that doesn’t have the NOPARACHUTE
flags? Right now, SDL_INIT_NOPARACHUTE isn’t saved for future calls to
SDL_Init().

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Mensaje citado por: Sam Lantinga :

Hi all,
I am initing SDL with the SDL_INIT_NOPARACHUTE, but it refuse to
works

as expected.

Are you making any call to SDL_Init() that doesn’t have the
NOPARACHUTE
flags? Right now, SDL_INIT_NOPARACHUTE isn’t saved for future calls
to
SDL_Init().

I have switched to SDL_InitSubSystem,
Should I also pass SDL_INIT_NOPARACHUTE to it?
Do you think is a good movement for my project to make users to use
SDL-1.1.6 or better?

Hi all,
I am initing SDL with the SDL_INIT_NOPARACHUTE, but it refuse to
works

as expected.

Are you making any call to SDL_Init() that doesn’t have the
NOPARACHUTE
flags? Right now, SDL_INIT_NOPARACHUTE isn’t saved for future
calls
to

SDL_Init().

Ok, I have done it, and it keep the same behaviour, I think that it
only happens on Windows as in Linux I get a correct behaviour.

Ok, I have done it, and it keep the same behaviour, I think that it
only happens on Windows as in Linux I get a correct behaviour.

Ahh, I know what’s happening.
Just add: signal(SIGSEGV, SIG_DFL);
somewhere in your code.

The WinMain() call in SDL_main.c is calling SDL_Init() without passing
SDL_INIT_NOPARACHUTE. I’ll fix that, but in the meantime using signal()
to override the signal handler should work fine.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Quoting Sam Lantinga :

Ok, I have done it, and it keep the same behaviour, I think that
it

only happens on Windows as in Linux I get a correct behaviour.

Ahh, I know what’s happening.
Just add: signal(SIGSEGV, SIG_DFL);
somewhere in your code.

Thank you.
These days has been a real pain with this problem.