I have written a small program (it depends on big libraries, so I will not post the actual code) that performs correctly, but segfaults at the very end (main return).
int main()
{
..... my code here...
std::cout << "Finished." << std::endl;
return 0;
}
I see "Finished." printed, and then there is a segmentation fault. Is there a common thing that could cause this (i.e. memory not released, etc) that I can look for?
David