Ml-api service is not starting after APM agent deployment.
Require logs configured with setting-> Introscope.nativeprofiler.logAllMethodsNoticed=true?
Ensure the following environment variable is set-> APMENV_GET_NATIVE_ENV_VARS=0
A new build fixed the profiler from an access violation during unregistering itself.
We found that in this case, due to some cache coherency and code optimization, the profiling callback pointer may not be initialized/visible to other threads when the code call is sequenced from managed to unmanaged.
We have protected the call sequence and ensured that the call is transferred safely.