corretto / corretto-8

Amazon Corretto 8 is a no-cost, multi-platform, production-ready distribution of OpenJDK 8
GNU General Public License v2.0
2.1k stars 221 forks source link

OpenJDK Runtime Environment (8.0_382-b05) (build 1.8.0_382-b05) not adaper version when called HCCore.dll #495

Open xiamaocheng opened 4 months ago

xiamaocheng commented 4 months ago

Thank you for taking the time to help improve OpenJDK and Corretto.

If your request concerns a security vulnerability then please report it by email to aws-security@amazon.com instead of here. (You can find more information regarding security issues at https://aws.amazon.com/security/vulnerability-reporting/.)

Otherwise, if your issue concerns OpenJDK 8 and is not specific to Corretto 8 we ask that you raise it to the OpenJDK community. Depending on your contributor status for OpenJDK, please use the [JDK bug system]() or the appropriate mailing list for the given problem area or update project jdk8u-dev.

If your issue is specific to Corretto 8, then you are in the right place. Please proceed with the following.

Describe the bug

Failed to write core dump.

To Reproduce

1.win64 callled HCCore.dll 2.called HCNetSDK lib

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Platform information

OS: [e.g. .win7 x64 ]
Version [  OpenJDK Runtime Environment (8.0_382-b05) (build 1.8.0_382-b05)]

Additional context

log list: begin

#

A fatal error has been detected by the Java Runtime Environment:

#

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000027aff381096, pid=13436, tid=0x000000000000285c

#

JRE version: OpenJDK Runtime Environment (8.0_382-b05) (build 1.8.0_382-b05)

Java VM: OpenJDK 64-Bit Server VM (25.382-b05 mixed mode windows-amd64 compressed oops)

Problematic frame:

C [HCCore.dll+0x151096]

#

Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

#

An error report file with more information is saved as:

D:\01.xiamaochengData\0222\CH-HCNetSDKV6.1.9.48_build20230410_win64_20231214151140 (2)\CH-HCNetSDKV6.1.9.48_build20230410_win64\Demoʾ��\4- Java ����ʾ��\2-������������\hs_err_pid13436.log

#

If you would like to submit a bug report, please visit:

https://github.com/corretto/corretto-8/issues/

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

#

end

benty-amzn commented 4 months ago

Hi, Do you have the hs_err_pid13436.log mentioned in the error message? Could you attach it or share its contents here?

xiamaocheng commented 4 months ago

all in here. hs_err_pid8616.zip,thanks

alvdavi commented 4 months ago

Hi, The hs_err indicates the problem is in HcCore.dll. That dll is not part of Corretto nor it is a Corretto dependency. It seems that dll is being loaded via JNI and invoked HCNetSDK. A segmentation fault happening inside a JNI call to an external library usually means a failure on that library, not a failure on the JVM. It is with the creators of HCNetSDK and HCCore.dll with whom you need to talk in order to receive assistance.