Visible to Intel only — GUID: GUID-8A5F6C3C-297E-44F2-A044-03E2A125616A
Visible to Intel only — GUID: GUID-8A5F6C3C-297E-44F2-A044-03E2A125616A
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.
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
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:
When collecting data with advisor command line interface (CLI), pass the --run-pass-thru=--no-altstack option to the tool. For example, for the mmult application:
advisor --collect=survey --run-pass-thru=--no-altstack -- ./mmult
Before collecting data from the Intel Advisor GUI or CLI, set the environment variable ADVIXE_RUNTOOL_OPTIONS=--no-altstack.