User Guide

Contents

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
Profiler
attempts to configure the signals to use the alternative stack size using
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™
Profiler
requires that the alternative stack size is 64K at a minimum. This may be not the case if the application uses
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
Profiler
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:
vtune
-run-pass-thru=--no-altstack
Or, set up the environment variable
AMPLXE_RUNTOOL_OPTIONS=--no-altstack
.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804