Results 1 to 2 of 2

Thread: The case of the missing core dump.

  1. #1
    Join Date
    Apr 2005

    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?

  2. #2
    Join Date
    Feb 2006
    Ubuntu 7.04 Feisty Fawn

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts