Empty core dump file

David Aldrich David.Aldrich@EMEA.NEC.COM
Fri Aug 26 13:47: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.

$ ulimit -Sc
unlimited
$ ulimit -Hc
unlimited

> > Why might the core dump be empty?
> 
> You do have space on the device, don't you?

Yes, but I have just realised that I am working on a shared drive from a VM. There may be some permissions problem. I will check.

> Is this i386?

It's a 64-bit Linux VM.

Thanks for your help.

David



More information about the Gdb mailing list