Core Dumps

HalimC

Registered
I'm working with a Unix application within OS X. When the application crashes, it produces core dump files in /private/cores, but only SOMETIMES. Is there a setting to force it to always produce core dump files when the program crashes?

I NEED to have these cores so I can see where it is crashing...
 

howardm4

Registered
Couldn't you install a sig handler for sigaction that forces
a SEGV?

Or possibly re-define signal() via a custom dylib so that
all signals cause a SEGV
 
Top