|
From: <led...@vt...> - 2007-08-18 22:08:34
|
I am running an application on an Intel Xenon running RHEL I have to set the max stack size to be unlimited (using limit stacksize unlimited) because the limit that the system is configured to have is too small. The symptom of the stack overflow is a seg fault at a particular function call. When I increase the limit, the program is able to run past that function. When I run the program under valgrind (memcheck), the program crashes at the same function call even after I've increased the OS stack limit. Is there some limit to the stack size used by programs run under valgrind? Is valgrind using the original configured stack limit? Thanks for your time. -Cass |