The case of the missing core dump.
Whenever a program segfaults and says "Core dumped" it should leave a core dump somewhere, right? But as I was unable to find *any* core dump, what so ever, I thought it might be that ulimit was set to 0, but in Ubuntu it is set to Unlimited, in which case it shouldn't mean a thing. But where are the core dumps?
I used Slackware quite a while, and the core dumps were easily spotted in the working directory. Any ideas?
ps. I don't actually use them for anything. Just likes to know, that's all.
pps. Can one use these in GDB for debugging purposes?
Re: The case of the missing core dump.
Did you use "ulimit -c unlimited" (with the -c option)? The core file should be in the directory where you run the malfunctioning program.
Edit: man core gives other common reasons why the core file isn't created. Also it's possible to disable core files in /etc/security/limits.conf (though it probably isn't edited).
Last edited by Ragazzo; March 8th, 2007 at 09:46 PM.