JVM crash with Java 17.0.2 + Agent 1.26.0

Our application run in K8S, and found serveral restart event with jvm crash.

Hi @rekadowney ,

Since you are not using the latest version of the agent, the first thing to check would be to test with the latest version (1.31.0 currently).

Then, if the issue persists, could you provide a bit more context for further investigation:

  • agent configuration (should be visible in the first few lines of app or agent logs).
  • what is the frequency of those crashes ?
  • did the issue happened before with a different version of the JVM ?

From what we can see in the crash report, the crash seems to be related to a bug in GC code V [libjvm.so+0x705234] G1ParScanThreadState::trim_queue_to_threshold(unsigned int)+0x14d4, so there is no direct impact from the agent visible here.

I found a similar JDK bug in the JDK Bug System, but this bug is only reported to be found and fixed in JDK18, do you think I should report the same problem in JDK17?

We will try to upgrade the agent to 1.31.0. I don't remember if JDK8(using PS GC) has the same problem, because of lack of jvm crash monitoring, we will improve it later.

If this issue also happens in Jdk 17, it would be worth to also report it.
Given 17 is an LTS version, it means if the issue is confirmed it would likely be fixed.

The reason I was asking for your agent configuration is to know if you are using the sampling profiler which could trigger similar crashes (often inirectly by triggering JVM bugs). From your report it does not seem to be enabled but it's better to double check here.

From what I understand, you used to run your application on JDK 8 previously, but you don't know if such crashes were happening or not.

Next week we will upgrade agent to 1.31.0, I will consider report it based on the result.

The agent configuration like this:

You are right, our monitor system will support crash monitoring in the near future.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.