Intel® Advisor Help

Error Message: Stack Size Is Too Small

Symptoms

When you run a Survey or a Suitability analysis, the following error message appears: Stack size provided to sigaltstack is too small. Please increase the stack size to 64K minimum.

Note

This message is for Linux* OS only.

Cause

When setting up a SIGPROF signal handler, the Intel® Advisor configures the signals to use the alternative stack size with the sigaltstack() API. This verifies that its signal handler does not depend on the profiled application stack size. If the application uses an alternative signal stack, the Intel Advisor requires it to be not less than 64 KB.

However, if the application uses the SIGSTKSZ constant for the alternative stack size (which is 8192 bytes), the data collection may terminate with the error message.

Possible Solution

Note

This solution is applicable only to the Survey and Suitability analyses.

Configure the Intel Advisor so that it does not set up the alternative stack and uses the stack provided by the application. Do one of the following:

Related information
Command Line Interface This reference section describes the Intel® Advisor command line interface (CLI) used to run the analysis.