How can I check stack is OK ?
I'm developing a C++ application that runs under vanilla 184.108.40.206 with busybox 1.14.1
The application is one process divided into 8 threads.
The stack allocated for a thread is 256KB
What tool can I use to make sure that my stack is big enough ?
I suspect that in a specific scenario the stack overflows.
probably you can try valgrind: http://valgrind.org/
Compile your program with -fstack-check. GCC will add some stack protection code. Valgrind is a good tool too. Using the two you should be able to detect most of the problems.
|All times are GMT -5. The time now is 12:21 AM.|