Agent Version
dd-java-agent:1.33.0
Describe what happened
The JVM intermittently crashes and logs the following error.
Additional environment details
Java VM: OpenJDK 64-Bit Server VM Corretto-17.0.6.10.1
AWS EKS 1.25
Log
2024-04-25T16:52:49+09:00 #
2024-04-25T16:52:49+09:00 # A fatal error has been detected by the Java Runtime Environment:
2024-04-25T16:52:49+09:00 #
2024-04-25T16:52:49+09:00 # SIGSEGV (0xb) at pc=0x00007f9fba87a340, pid=1, tid=50
2024-04-25T16:52:49+09:00 #
2024-04-25T16:52:49+09:00 # JRE version: OpenJDK Runtime Environment Corretto-17.0.6.10.1 (17.0.6+10) (build 17.0.6+10-LTS)
2024-04-25T16:52:49+09:00 # Java VM: OpenJDK 64-Bit Server VM Corretto-17.0.6.10.1 (17.0.6+10-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
2024-04-25T16:52:49+09:00 # Problematic frame:
2024-04-25T16:52:49+09:00 # C [libjavaProfiler8298632684405129428.so+0x40340] Profiler::recordExternalSample(unsigned long long, int, _jvmtiFrameInfo*, int, bool, int, Event*)+0xb0
2024-04-25T16:52:49+09:00 #
2024-04-25T16:52:49+09:00 # Core dump will be written. Default location: /opt/goods-detail-api/core.1
2024-04-25T16:52:49+09:00 #
2024-04-25T16:52:49+09:00 # JFR recording file will be written. Location: /opt/goods-detail-api/hs_err_pid1.jfr
2024-04-25T16:52:49+09:00 #
2024-04-25T16:52:49+09:00 # An error report file with more information is saved as:
2024-04-25T16:52:49+09:00 # /opt/goods-detail-api/hs_err_pid1.log
2024-04-25T16:52:50+09:00 #
2024-04-25T16:52:50+09:00 # If you would like to submit a bug report, please visit:
2024-04-25T16:52:50+09:00 # https://github.com/corretto/corretto-17/issues/
2024-04-25T16:52:50+09:00 # The crash happened outside the Java Virtual Machine in native code.
2024-04-25T16:52:50+09:00 # See problematic frame for where to report the bug.
2024-04-25T16:52:50+09:00 #
2024-04-25T16:52:50+09:00
2024-04-25T16:52:50+09:00 [error occurred during error reporting (), id 0xb, SIGSEGV (0xb) at pc=0x00007fa02d41723b]
2024-04-25T16:52:50+09:00
Hello, DataDog teams.
I have been facing java process crashing after update dd-agent from 1.32.0 to 1.33.0.
I guess this prevention (#84) might cause SIGSEGV.
Here is the part of changes on 1.33.0 version.
https://github.com/DataDog/java-profiler/blame/5468ef0293d175a861738b8c9624055b8c3dfc0d/ddprof-lib/src/main/cpp/objectSampler.cpp#L113
Can this frame array be referenced elsewhere after it has been deleted?
Thanks in advance.
Agent Version
dd-java-agent:1.33.0
Describe what happened
The JVM intermittently crashes and logs the following error.
Additional environment details
Java VM: OpenJDK 64-Bit Server VM Corretto-17.0.6.10.1
AWS EKS 1.25
Log
Hello, DataDog teams.
I have been facing java process crashing after update dd-agent from 1.32.0 to 1.33.0.
I guess this prevention (#84) might cause SIGSEGV.
Here is the part of changes on 1.33.0 version.
https://github.com/DataDog/java-profiler/blame/5468ef0293d175a861738b8c9624055b8c3dfc0d/ddprof-lib/src/main/cpp/objectSampler.cpp#L113
Can this
framearray be referenced elsewhere after it has been deleted?Thanks in advance.