# NGINX ingress segfault issue (AKS App Routing Add-on)

**URL:** <https://community.dynatrace.com/t/nginx-ingress-segfault-issue-aks-app-routing-add-on/56098>\
**Category:** Troubleshooting\
**Tags:** nginx\
**Created:** [June 11, 2026, 1:08pm UTC](https://community.dynatrace.com/t/nginx-ingress-segfault-issue-aks-app-routing-add-on/56098 "2026-06-11T13:08:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhaveshbjoshi](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@bhaveshbjoshi](https://community.dynatrace.com/u/bhaveshbjoshi)\
**Post date:** [June 11, 2026, 1:08pm UTC](https://community.dynatrace.com/t/nginx-ingress-segfault-issue-aks-app-routing-add-on/56098/1 "2026-06-11T13:08:52Z")

</div>

### Summary

We’ve observed an segfault issue impacting customers using the following ingress controller image:[mcr.microsoft.com/oss/v2/ingress-nginx/controller:v1.13.9](http://mcr.microsoft.com/oss/v2/ingress-nginx/controller:v1.13.9)

### **Problem**

- Intermittent request failures
- Frequent crashes of nginx ingress worker processes
- Kernel logs showing repeated segfaults:

kernel: nginx[4143235]: segfault at 7 ip 00007feb5b80845b sp 00007ffde8362200 error 4 in liboneagentnginx.so

### Root cause (likely)

This image is part of AKS Application Routing add-on (managed NGINX ingress by Microsoft)

- It uses a patched/custom nginx binary. This image is part of AKS Application Routing add-on (managed NGINX ingress by Microsoft)
- Dynatrace NGINX code module (liboneagentnginx.so) relies on fixed assumptions about nginx internals.
- Due to this binary mismatch, instrumentation can lead to segfaults in nginx processes.
- Microsoft:&nbsp; [Azure Kubernetes Service (AKS) managed NGINX ingress with the application routing add-on - Azure Kubernetes Service | Microsoft Learn](https://learn.microsoft.com/en-us/azure/aks/app-routing)

### **Important notes** &nbsp;

- AKS App Routing is fully managed, so:
  - Pod/deployment-level changes are restricted
  - Forced runtime instrumentation is NOT possible

### Resolution

Disable OneAgent injection for ingress pods/namespace

For cloudNativeFullStack / applicationMonitoring:

- Use annotations mentioned in Docs: [Configure monitoring for namespaces and pods — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/annotate)

For classicFullStack

- Use container monitoring rules to exclude the process - [https://docs.dynatrace.com/docs/shortlink/container-monitoring-rules](https://docs.dynatrace.com/docs/shortlink/container-monitoring-rules)

Disabling injection successfully stops crashes and restores stability.

### What’s next

- Link to Azure Github Issue -&nbsp;[App routing: Dynatrace incompatibility with ingress-nginx 1.13.9 · Issue #5796 · Azure/AKS · GitHub](https://github.com/Azure/AKS/issues/5796)
- This is currently the only supported workaround.
- In case of any other&nbsp;patched NGINX, please follow [document](https://docs.dynatrace.com/docs/ingest-from/technology-support/application-software/nginx/manual-runtime-instrumentation)
- Please open a support ticket incase of any issues/concerns along OneAgent Support archive.

---

<div class="post-metadata">

**Author:** ![artigas](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/artigas/32/16087_2.png) [@artigas](https://community.dynatrace.com/u/artigas)\
**Post date:** [June 30, 2026, 10:21am UTC](https://community.dynatrace.com/t/nginx-ingress-segfault-issue-aks-app-routing-add-on/56098/2 "2026-06-30T10:21:51Z")

</div>

Microsoft on the issue [App routing: Dynatrace incompatibility with ingress-nginx 1.13.9 · Issue #5796 · Azure/AKS · GitHub](https://github.com/Azure/AKS/issues/5796), is claiming that is&nbsp;outside the AKS support scope to provided a fix for&nbsp;AKS App Routing, even be full managed (Pod/deployment-level changes are restricted) by AKS. [@MaciejNeumann](https://community.dynatrace.com/user/6) and&nbsp;[@bhaveshbjoshi](https://community.dynatrace.com/user/70560)&nbsp;Is there any evidence, recommendation or guidance that we can provide to our customer to escalate this to AKS support?

---

<div class="post-metadata">

**Author:** ![bhaveshbjoshi](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@bhaveshbjoshi](https://community.dynatrace.com/u/bhaveshbjoshi)\
**Post date:** [July 15, 2026, 6:25am UTC](https://community.dynatrace.com/t/nginx-ingress-segfault-issue-aks-app-routing-add-on/56098/3 "2026-07-15T06:25:59Z")

</div>

Hi&nbsp;[@artigas](https://community.dynatrace.com/user/101596)&nbsp;it seems the monitoring was not working earlier. With the changes introduced by MS it seems that OA is injecting into the process. Usually, OA doesn’t inject into the patched nginx. You can verify the binaries loaded in earlier patch and impacted patch by using following command.

```auto
ldd

```
