IAoInitialize Shutdown failure on x64 after last Windows Update

498
3
01-18-2018 03:31 AM
AlexMerkulov
New Contributor II

Hello everybody,
After recent Windows Update the code was working years fails with low level Access Violation exception.
I'm on ArcGIS Server 10.4.1.
Below is the test code:

ESRI.ArcGIS.ProductCode productCode = ESRI.ArcGIS.ProductCode.Server;
esriLicenseProductCode licenceProductCode = esriLicenseProductCode.esriLicenseProductCodeArcServer;

bool success = ESRI.ArcGIS.RuntimeManager.Bind(productCode);
if (!success) throw new Exception("Failed to bind license.");

AoInitializeClass _AoInitialize = new AoInitializeClass();
esriLicenseStatus LicenseStatus = _AoInitialize.Initialize(licenceProductCode);

_AoInitialize.Shutdown();

Shutdown failed

Problem Event Name: BEX64
Application Name: LicenseCheck.exe
Application Version: 1.0.0.0
Application Timestamp: 5a6084f8
Fault Module Name: StackHash_2264
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 000007fe7db1124b
Exception Code: c0000005
Exception Data: 0000000000000008
OS Version: 6.1.7601.2.1.0.272.7
Locale ID: 1037
Additional Information 1: 2264
Additional Information 2: 2264db07e74365624c50317d7b856ae9
Additional Information 3: 875f
Additional Information 4: 875fa2ef9d2bdca96466e8af55d1ae6e

Tags (1)
0 Kudos
3 Replies
George_Thompson
Esri Frequent Contributor

What MS patches were installed on the Server?

You may want to review these threads/blog:

Meltdown and Spectre Processor Vulnerabilities | ArcGIS Blog 

https://community.esri.com/thread/207866-arcgis-pro-crash-suspected-windows-update 

--- George T.
AlexMerkulov
New Contributor II

Thanks George for response.
There was a big list with .Net, MS Office and other updates.
I'm not going to track this on all client's sites, it's impossible.
Currently I'm not calling shutdown on x64 processes.
Anyway ArcGIS Server don't uses the License Manager.

Thanks for link you provided, it looks like the same problem I'm dealing with.
Regards,
Alex Merkulov

0 Kudos
George_Thompson
Esri Frequent Contributor

It looks like MS provided an updated patch yesterday: https://support.microsoft.com/en-us/help/4055532/security-and-quality-rollup-for-net-framework-3-5-1... 

--- George T.
0 Kudos