adoptium-support icon indicating copy to clipboard operation
adoptium-support copied to clipboard

The Java VM used by the application that was running when you logged in via Remote Desktop will crash.

Open EnterOgawa opened this issue 9 months ago • 7 comments

Please provide a brief summary of the bug

hs_err_pid23596.log

It is likely that the issue occurs when using Windows 11 Pro but does not occur on Windows Server 2019.
The issue does not occur with Java 17 LTS but does occur with Java 21 LTS.
Additionally, it seems that the issue does not occur when using monitors with the same aspect ratio.
The crash appears to happen only when starting on a 16:9 monitor and then remotely connecting using a wide monitor or similar.

The following options were tested, but the issue was not resolved:
-Dsun.awt.disablegrab=true
-Dsun.java2d.d3d=false
-Dsun.java2d.opengl=false

Did you test with the latest update version?

  • [x] Yes

Please provide steps to reproduce where possible

No response

Expected Results

I hope that the Java VM does not crash, just like with Java 17 LTS.

Actual Results

It is likely that the issue occurs when using Windows 11 Pro but does not occur on Windows Server 2019.
The issue does not occur with Java 17 LTS but does occur with Java 21 LTS.
Additionally, it seems that the issue does not occur when using monitors with the same aspect ratio.
The crash appears to happen only when starting on a 16:9 monitor and then remotely connecting using a wide monitor or similar.

The following options were tested, but the issue was not resolved:
-Dsun.awt.disablegrab=true
-Dsun.java2d.d3d=false
-Dsun.java2d.opengl=false

hs_err_pid23596.log

What Java Version are you using?

OpenJDK 64-Bit Server VM Temurin-21.0.6+7 (21.0.6+7-LTS, mixed mode, sharing, tiered, compressed class ptrs, z gc, windows-amd64)

What is your operating system and platform?

No response

How did you install Java?

No response

Did it work before?


Did you test with other Java versions?


Relevant log output


EnterOgawa avatar Mar 18 '25 04:03 EnterOgawa

https://bugs.openjdk.org/browse/JDK-8341382

karianna avatar Mar 18 '25 05:03 karianna

If this is JDK-8341382, then testing an EA build of 21.0.7 from here seems worthwhile: https://adoptium.net/temurin/nightly/?version=21

jerboaa avatar Mar 18 '25 09:03 jerboaa

https://bugs.openjdk.org/browse/JDK-8341382

@karianna ,Thank you for the information. Since I am using FreeChart with SWT, I cannot use the option -Djava.awt.headless=false, so I will consider other methods.

EnterOgawa avatar Mar 19 '25 02:03 EnterOgawa

もしこれが JDK-8341382 であれば、EAビルドをテストすると 21.0.7ここからは価値があるようです: https://adoptium.net/temurin/nightly/?version=21

@jerboaa ,Thank you, I will report back as soon as I confirm.

EnterOgawa avatar Mar 19 '25 02:03 EnterOgawa

If this is JDK-8341382, then testing an EA build of 21.0.7 from here seems worthwhile: https://adoptium.net/temurin/nightly/?version=21

@jerboaa ,Thank you very much. I tried using 21.0.7-beta+4-ea, and I was able to log in remotely without any crashes.
I appreciate it.🍀

EnterOgawa avatar Mar 19 '25 14:03 EnterOgawa

https://bugs.openjdk.org/browse/JDK-8348625 is the relevant bug with the back-out. We can close this once 21.0.7 gets released in about a month.

jerboaa avatar Mar 19 '25 14:03 jerboaa

@EnterOgawa Thanks for the feedback.

jerboaa avatar Mar 19 '25 14:03 jerboaa

I'm going to close this as 21.0.7 has gone out.

jerboaa avatar Apr 23 '25 12:04 jerboaa

Thank you, I tried it right away and confirmed that there are no issues so far. 👍

EnterOgawa avatar Apr 23 '25 13:04 EnterOgawa