Empty core dump file

Baurzhan Ismagulov ibr@radix50.net
Fri Aug 26 13:17:00 GMT 2011


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.



More information about the Gdb mailing list