We use java clients and C++ thick client connections, after upgrading from java 8 to OpenJDK 17, the C++ thick client no longer connects. The JVM dies instantly with the errors below.
The Java clients connect with no issues.
Failing to connect with the cpp example code also, similar behaviour
Full log attached.
Any help appreciated.
(Ignite version 2.14.0, OS Windows 10)
Regards
MGL
Picked up JAVA_TOOL_OPTIONS:
--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED
--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
--add-opens=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED
--add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
--add-opens=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNAMED
--add-opens=java.base/java.nio=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=permit;
support was removed in 17.0
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000000000000, pid=37556,
tid=11372
#
# JRE version: (17.0.6+10) (build )
# Java VM: OpenJDK 64-Bit Server VM (17.0.6+10-LTS, mixed mode, sharing,
tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# C 0x0000000000000000
#
# No core dump will be written. Minidumps are not enabled by default on client
versions of Windows
#
# An error report file with more information is saved as:
# {removed}\hs_err_pid17860.log
#
--------------- S U M M A R Y ------------
Command Line:
--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED
--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
--add-opens=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED
--add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
--add-opens=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNAMED
--add-opens=java.base/java.nio=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
-DIGNITE_HOME=C:\ProgramData\PerceptiveAPC\DataStore17 -Xms512m -Xmx1024m
-Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8
--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED
--add-exports=java.base/sun.nio.ch=ALL-UNNAMED
--add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED
--add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
--add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED
--illegal-access=permit
Host: 12th Gen Intel(R) Core(TM) i7-12800H, 20 cores, 31G, Windows 10 , 64 bit
Build 19041 (10.0.19041.2546)
Time: Fri Mar 17 17:46:40 2023 GMT Standard Time elapsed time: 0.023821 seconds
(0d 0h 0m 0s)
--------------- T H R E A D ---------------
Current thread (0x00000108ade57e60): JavaThread "main" [_thread_in_vm,
id=42620, stack(0x00000006b10e0000,0x00000006b11e0000)]
Stack: [0x00000006b10e0000,0x00000006b11e0000], sp=0x00000006b11dd878, free
space=1014k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.nio.cs.UTF_8.newEncoder()Ljava/nio/charset/CharsetEncoder;+0 java.base
j
sun.nio.cs.StreamEncoder.<init>(Ljava/io/OutputStream;Ljava/lang/Object;Ljava/nio/charset/Charset;)V+4
java.base
j
sun.nio.cs.StreamEncoder.forOutputStreamWriter(Ljava/io/OutputStream;Ljava/lang/Object;Ljava/nio/charset/Charset;)Lsun/nio/cs/StreamEncoder;+7
java.base
j java.io.OutputStreamWriter.<init>(Ljava/io/OutputStream;)V+11 java.base
j java.io.PrintStream.<init>(ZLjava/io/OutputStream;)V+26 java.base
j java.io.PrintStream.<init>(Ljava/io/OutputStream;Z)V+11 java.base
j
java.lang.System.newPrintStream(Ljava/io/FileOutputStream;Ljava/lang/String;)Ljava/io/PrintStream;+42
java.base
j java.lang.System.initPhase1()V+92 java.base
v ~StubRoutines::call_stub
siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), data execution prevention
violation at address 0x0000000000000000
The content of this message is APPLIED MATERIALS CONFIDENTIAL. If you are not
the intended recipient, please notify me, delete this email and do not use or
distribute this email.
hs_err_pid17860.log
Description: hs_err_pid17860.log
