v3.8.5 worked flawless so far, i upgraded to 3.8.6 (build 192x something, the one released 20december), protected the same application using the verysame vmpprojectfile.vmp, and i get:
- 2minutes of cpu 60% usage before application start
- crashes like this:
Code: Select all
<<20231230 004353.440>> Severe Application Thread Error:
<<20231230 004353.442>> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.ArgumentException: Token 0xd24f5c0c is not a valid MethodBase token in the scope of module MyApp.dll. (Parameter 'metadataToken')
at System.Reflection.RuntimeModule.ResolveMethod(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
at 441C87B5.113DC937(Object[] 549AECAF, Int32 0D0B063B)
at E4A09B26.F52C5531()
at E4A09B26..ctor()
--- End of inner exception stack trace ---
at 441C87B5.013CF107()
at 441C87B5.113DC937(Object[] 549AECAF, Int32 0D0B063B)
at 8005A382.03B0F528()
at 8005A382.7B2B2D9F()
at 5E0E98BB.28ADB4B4(ABBE1B94 82AF1936)
at C11EE58F.43B0A32C(Object BD0C650B, EventArgs 34BD98BD)
at System.Windows.Forms.Control.OnClick(EventArgs e)
Code: Select all
<<20231230 004506.138>> Severe Application Thread Error:
<<20231230 004506.141>> System.ArgumentException: Token 0xd24f5c0c is not a valid MethodBase token in the scope of module MyApp.dll. (Parameter 'metadataToken')
at System.Reflection.RuntimeModule.ResolveMethod(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
at 441C87B5.113DC937(Object[] 549AECAF, Int32 0D0B063B)
at E4A09B26.F52C5531()
at E4A09B26..ctor()
- vmpproject is a pretty empty project, just the default vm with default complexity=20. All the protection stuff done in src code with obfuscation attributes. 9 net dll embedded into vmprotected file (dll box, renamed also)
- [assembly: Obfuscation(Feature = "strings", Exclude = false)] // all string encrypted (is this attribute still valid nowaday?)
- [assembly: Obfuscation(Feature = "mutation", Exclude = false)] // mutation enable by default to all
- main form, before calling initializecomponents, it runs a task to dislay splashscreen which shows only after 2minutes of 60% cpu
- after app started, the vmp license is loaded/checked later, and this takes a bit longer than before (ultralockbykey functions called also)
- then the thread errors comes later when some task are run, they execute also ultralockbykey function, but i've not investigated deeply.
Thanks for any hint or suggestion