Re: Segmentation fault problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Karane Mariano Vieira <karane@xxxxxxxxx> writes:

> I have a strange problem with segmentation fault in c++(gnu). It
> allways happens when my program leaves a certain function. The
> function (a void one) seems to work well. But why would it receive
> segmentation fault? What are the possible reasons?  Is that a stack
> problem?

There are many possible reasons.

Overwriting the stack is indeed one of the more likely ones.  It is
most likely some sort of invalid pointer or array use leading to
memory corruption.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux