# Dynatrace make app crash with exit code 139

**URL:** <https://community.dynatrace.com/t/dynatrace-make-app-crash-with-exit-code-139/45989>\
**Category:** Container platforms\
**Tags:** dotnet, kubernetes, docker\
**Created:** [June 7, 2024, 5:13pm UTC](https://community.dynatrace.com/t/dynatrace-make-app-crash-with-exit-code-139/45989 "2024-06-07T17:13:54Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![alex94](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@alex94](https://community.dynatrace.com/u/alex94)\
**Post date:** [June 7, 2024, 5:13pm UTC](https://community.dynatrace.com/t/dynatrace-make-app-crash-with-exit-code-139/45989/1 "2024-06-07T17:13:54Z")

</div>

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&nbsp;[Microsoft Artifact Registry](http://mcr.microsoft.com/dotnet/aspnet:6.0.30-alpine3.19)

Let me know if you have any idea on why Dynatrace OneAgent could make my application crash:grinning\_face\_with\_smiling\_eyes:

---

_[View the full topic](https://community.dynatrace.com/t/dynatrace-make-app-crash-with-exit-code-139/45989)._
