3
![Stack Overflow](http://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png)
Without the code, one can only try and analyse valgrind's output:
The problem seems to occur in the main() function where you have a stack overflow. Do you call a function that define a very large automatic array? Or do you define such an array in main() itself?
From the posted code, here are som...