# 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:** 3\
**Page:** 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:

---

<div class="post-metadata">

**Author:** ![PierreGutierrez](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pierregutierrez/32/5934_2.png) [@PierreGutierrez](https://community.dynatrace.com/u/PierreGutierrez)\
**Post date:** [June 9, 2024, 1:02am UTC](https://community.dynatrace.com/t/dynatrace-make-app-crash-with-exit-code-139/45989/2 "2024-06-09T01:02:44Z")

</div>

Hi&nbsp;[@alex94](https://community.dynatrace.com/user/71024)

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](http://mcr.microsoft.com/dotnet/samples:aspnetapp) 💡

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.

> **[Dynatrace | Observability built for the age of AI](https://www.dynatrace.com/)**
>
> Innovate faster, operate more efficiently, and drive better business outcomes with observability, AI, automation, and application security in one platform.

 ![PierreGutierrez_0-1717895057818.png](https://global.discourse-cdn.com/dynatrace/original/2X/7/7ecc69d8f25a8c0525d9cb6fb6544e646d4e1169.png)

I hope it’s helpful 💪

---

<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 10, 2024, 12:02pm UTC](https://community.dynatrace.com/t/dynatrace-make-app-crash-with-exit-code-139/45989/3 "2024-06-10T12:02:09Z")

</div>

Good, I will create a ticket, thanks
