SDL and core dump?

Hi All!

I have one question:

Is there any way to switch on core dumps under Linux for my SDL
program. I want to analize core of my program because it crashes at
unpredictable time.

my limits:

ulimit -a
core file size (blocks) 100000
data seg size (kbytes) unlimited
file size (blocks) unlimited
max locked memory (kbytes) unlimited
max memory size (kbytes) unlimited
open files 1024
pipe size (512 bytes) 8
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes 1983
virtual memory (kbytes) unlimited

But my SDL program only type:
telerand.cxx : 63 [dbg] Telerand: teleporting to room (8,18)
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

And no core ;( But non-SDL programs produce core well enough ;)–
Best regards,
Leo
Solvo Ltd.
St.Petersburg, Russia

Leonid V. Khramov wrote:

But my SDL program only type:
telerand.cxx : 63 [dbg] Telerand: teleporting to room (8,18)
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
And no core ;( But non-SDL programs produce core well enough :wink:

Use SDL_Init() with SDL_INIT_NO_PARACHUTE.

Bye,
Gabry