This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Empty core dump file
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.