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