The core file isn't the kernel, from what I understand its the area of
memory your program was using when it crashed.

You can use a debugging tool on core files (like gdb or kdbg)...i don't
know how this will help you but thats about all I know about core
files...and I'm not too good at c++ either.

I remember along time back i found my hard disk filling up with core
files so I asked some people on an IRC channel if they knew what the
core files were. One guy replied and told me that if I collect 10 and
send them away I could win a t-shirt. oh the hilarity :) i guess u had
to be there..

On Thu, 2002-10-31 at 00:16, Bart s wrote:
> Hello all. My name's Bart. I use Red Hat Linux 7.1 when writing & compiling 
> c++ programs. I'm a novice to c++ and Linux. Basically,I've written a 
> program which writes one-dimentional character arrays to the hard drive and 
> reads them back from it for display, when indicated by the user. It compiles 
> and when it runs, the files on the hard drive are written correctly. 
> However, when attempting to read fron those files, the program crashes and 
> the following message is displayed: "Segmentation fault (core dumped)". I 
> believe that the core is the Linux kernel and I guess that this message 
> comes from the operating system. I was wondering if anybody could tell me 
> what a segmentation fault is and suggest what sort of thing could be wrong 
> with my program.
> 
> 
> 
> 
> 
> _________________________________________________________________
> Internet access plans that fit your lifestyle -- join MSN. 
> http://resourcecenter.msn.com/access/plans/default.asp
> 
> -- 
> SLUG - Sydney Linux User's Group - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to