DataDog / dd-trace-java

Datadog APM client for Java
https://docs.datadoghq.com/tracing/languages/java
Apache License 2.0
588 stars 290 forks source link

DD profiler crashes on JDK 23 #7665

Closed bdeneuter closed 1 month ago

bdeneuter commented 1 month ago

We are using com.datadoghq:dd-java-agent:1.39.0 for our services and we are testing our services with JDK 23. The DD continuous profiler crashes with:

# C [libjavaProfiler931970599951029123.so+0x22f27] Profiler::fillFrameTypes(ASGCT_CallFrame*, int, NMethod*)+0x37
# Problematic frame:
# Java VM: OpenJDK 64-Bit Server VM Zulu23.28+85-CA (23+37, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, shenandoah gc, linux-amd64)
# JRE version: OpenJDK Runtime Environment Zulu23.28+85-CA (23.0+37) (build 23+37)
#
# SIGSEGV (0xb) at pc=0x00007f5b02c22f27, pid=1, tid=39

This seems related to this bug reported for async-profiler: https://github.com/async-profiler/async-profiler/issues/923

MattAlp commented 1 month ago

Hey, thanks for reporting this. We'll have a patch shipped out for this ASAP.

github-actions[bot] commented 1 month ago

:robot: This issue has been addressed in the latest release. See full details in the Release Notes.