Dynatrace make app crash with exit code 139

Hello everyone,

We are monitoring applications containers on kubernetes cluster and for a reason I don’t understand, one of our app is in crashloopback with exit code 139 since we start monitoring it.

I found this error on the log:
Unhandled exception. System.TypeInitializationException: The type initializer for ‘Dynatrace.OneAgent.AgentServiceLocator’ threw an exception. ---> System.MissingMethodException: Method not found: ‘Void System.Runtime.Loader.AssemblyLoadContext.add_Unloading(System.Action`1<System.Runtime.Loader.AssemblyLoadContext>)’.

Our application run on docker image Microsoft Artifact Registry

Let me know if you have any idea on why Dynatrace OneAgent could make my application crash:grinning_face_with_smiling_eyes:

Hi @alex94

I don’t have much information about it, but I have identified that months ago, a very similar error was reported with the exception code that you detail, applied in a Microsoft Artifact Registry :light_bulb:

Which makes me think that it is related, however my suggestion is that you create a ticket with the case that you have detailed in the Log as much as possible.

This is a very specialized case focused on one version of image and OneAgen so it is best to create a ticket.

I hope it’s helpful :flexed_biceps:

Good, I will create a ticket, thanks