User Guide

Contents

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
.
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

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:
  • 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
    .

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.