Error Message: Stack Size Is Too Small
Full error message:
Stack size provided to sigaltstack is too small. Please increase the stack size to 64K minimum.
This message is Linux* only.
Cause
When setting up SIGPROF signal handler, the
VTune
attempts to configure the signals to use the alternative stack size using
Profiler
sigaltstack()
API to make sure that its signal handler does not depend on the stack size of the profiled application. If the application uses alternative signal stack itself, the
Intel® VTune™
requires that the alternative stack size is 64K at a minimum. This may be not the case if the application uses
Profiler
SIGSTKSZ
constant for the alternative stack size (which is 8192 bytes). In this case, the data collection may terminate with the error message.
Solution
Configure the
VTune
not to set up the alternative stack and use the stack provided by th application. To do this, pass the following command line options to the tool:
Profiler
vtune
Or, set up the environment variable
AMPLXE_RUNTOOL_OPTIONS=--no-altstack
.