Receive --- Fatal signal: Segmentation Fault (SDL Parachute Deployed)

Organization: Jimmy’s World.org

When you’re initializing SDL, do you say atexit( SDL_Quit );?

If not, you’re leaving the program without shutting down SDL. Which you
shouldn’t do :slight_smile:

Either call SDL_Quit() before you return 0;
or add an atexit when you init SDL.

Hi Jimmy,
tnx for you support.

I’ve insert the line “atexit( SDL_Quit );” into my class EasySDL.
This class is used of the sprites_animation.h, and this’s used of
main.cpp.

The class can didn’t call the function atexit when I quit?> From: Jimmy

To: SDL Mailing List
Date: Fri, 12 Sep 2003 16:21:30 -0400
Reply-To: sdl at libsdl.org