Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Baurzhan Ismagulov <ibr@radix50.net>
To: gdb@sourceware.org
Subject: Re: Empty core dump file
Date: Fri, 26 Aug 2011 13:17:00 -0000	[thread overview]
Message-ID: <20110826131657.GW25065@radix50.net> (raw)
In-Reply-To: <41302A7145AC054FA7A96CFD03835A0A047BD8@EX10MBX02.EU.NEC.COM>

On Fri, Aug 26, 2011 at 12:35:59PM +0000, David Aldrich wrote:
> When my C++ program crashes with a segmentation fault I get an empty
> core dump file called core.13754.
...
> ulimit -c unlimited

I wouldn't expect any problems if you don't get an error message after
this command, but I'd double-check ulimit -Sc and ulimit -Hc outputs.


> Why might the core dump be empty?

You do have space on the device, don't you?


> Why does the filename include a number?

See /proc/sys/kernel/core_uses_pid.


Is this i386?


With kind regards,
Baurzhan.


  reply	other threads:[~2011-08-26 13:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-26 12:36 David Aldrich
2011-08-26 13:17 ` Baurzhan Ismagulov [this message]
2011-08-26 13:47   ` David Aldrich
2011-09-02 12:46   ` David Aldrich
2011-09-02 14:35     ` Worley, Dale R (Dale)
2011-09-06 10:47       ` David Aldrich
2011-09-06 11:14         ` Jan Kratochvil
2011-09-06 15:40           ` David Aldrich
2011-09-03  8:47     ` Baurzhan Ismagulov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110826131657.GW25065@radix50.net \
    --to=ibr@radix50.net \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox