Pogo instrumented (PGI'd) executables may hit an access violation during process termination (for example: dll unload) or if count collection is paused.
Visual Studio 2015 U3 and later versions already include a fix for this issue.
Note This access violation occurs because of a buffer overrun.
To download this hotfix, go to the following Microsoft website:
Download the package now.
You don't have to restart the computer after you apply this hotfix.
You don't have to change the registry after you apply this hotfix.
Hotfix replacement information
This hotfix doesn't replace any other hotfixes.
To work around this issue, disable the optimizations for the function in which the access violation occurs.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.