> > > I have a couple of programs that will either not run, or, after a
> > > while shut down giving the error "Segmentation Fault" I would
> > > mostly just want to know what exactly a Segmentation Fault is...
> > > Just off the top of my head it seems like a memory issue?
> > >

All this "Segmentation Fault" problem I met when programming is memory
issue, just like you said.
Usually it concerns memory corruption in your programs, such as:
    free memory (e.g. pointers) not existing anymore;
    out of array bounds;
The latter is easy to check out. In case of the former, you can set a macro
MALLOC_CHECK_=1 then your system will check all the function calls of memory
allocation and free in your program automatically and report the status of
those operations. At this moment you can find out what's g on.

HTH,

QingHua Wang



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to