Invalid Stack Frame Modification Error

Invalid Stack Frame Modification Error

Problem:  Profiling with Performance Analysis generates an Invalid Stack Frame Modification Error.  This is a known issue for the DPS 11.x.x series.

Invalid stack frame modification errors generally have to do with Performance Analysis attempting to profile unsupported stack operations (Performance Analysis requires a well defined stack to follow).  Usually, the product may encounter such operations in either systems DLLS or 3rd party libraries. 


There are two workarounds available to try and resolve this issue.

#1: Start Performance Analysis in Debug, not “Without Debug”.  See Fig 1.

Fig 1.



#2: Select “Exclude System Images" from the Performance Analysis property page.  See Figs 2 & 3

Fig 2.

Fig 3.


If the steps above do not resolve your issue please provide Support with the following:

* A system information file of your system. Navigate to Start->Run and type "msinfo32.exe" in the command box. Once msinfo32.exe is launched, select File->Action and then Save to generate the .nfo file

* A build log (including the settings fed to both the compiler and linker) from a build that exhibits this behavior

* A brief description of your application

* Version of Visual Studio


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-06-04 19:10
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.