This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

$ 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]