Details
Customer reports that when using a demo license server to execute a custom dll at startup of NX, they are presented an error message:
NX Initialization error:
Attempt to free already free block at <memory address>.
The syslog will also show text similar to:
NXOpen signature.NXOpen.Utilities.MissingResourceException: NX Resource bundle is empty at NXOpen.Utilities.ResourceUtilities.getEmbeddedDataLen() at
NXOpen.Utilities.ResourceUtilities.computeHash() at
NXOpen.Utilities.BaseSession.verifyAssembly(String filename, Boolean& alliance_mode,
SignatureType signTypeNeeded)
Validation failed
Caught exception while running: Startup NXOpen.Utilities.NeedDOTNETAuthorLicenseException:
Invalid NX signature found at NXOpen.Utilities.BaseSession.InitLicense() at
NXOpen.Utilities.BaseSession.StaticInitialize() at NXOpen.Session.GetSession() at
MyProject.AppleNXStartup.Startup()
*** EXCEPTION: Error code 3600044 in line 2352 of o:\ugnx1202\ip9\src\syss\no\ind\lmldr.c at
Wed Aug 1 11:35:00 2018 Pacific Daylight Time
+++ Invalid NX signature found
Solution
Because the NXOpen dll was not signed so that it contains the necessary licenses to execute, and the demo license server does not have a cpp_author or dotnet_author license, the dll fails to execute. The resolution is to sign the dll or attach to a license server that has available author licenses.
Notes and References
Hardware/Software Configuration
Platform: INTL64
OS: window
OS Version: XP64_SP1
Product: NX
Application: DESIGN
Version: V12.0.2
Function: FEATURE_MODEL
Ref: 001-9219559