Problematic frame: C [sigar-amd64-winnt.dll+0x14ed4]

problem:

In the win10 environment, use java to import the   sigar-1.6.4.jar    package and call the interface provided by sigar to obtain system information. The sigar-amd64-winnt.dll has been    placed in the C:\Windows\System32 directory, and the running program reports an error as shown below Shown:

Open the prompt file hs_err_pid11644.log file as follows:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000010014ed4, pid=9720, tid=0x00000000000010d0
#
# JRE version: Java(TM) SE Runtime Environment (8.0_261-b12) (build 1.8.0_261-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.261-b12 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [sigar-amd64-winnt.dll+0x14ed4]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

the reason:

The JDK version jdk1.8.0_261 and sigar-amd64-winnt.dll do not match. You need to lower the JDK version and install jdk1.8.0_241.

Note: Similar problems are caused by the mismatch of JDK version, and the JDK version needs to be changed.

solve:

Uninstall the originally installed jdk-8u261-windows-x64.exe  ,

Download and install jre-8u241-windows-x64.exe again ,

Configure jdk1.8.0_241 as JAVA_HOME,

Restart the program.

reference:

https://sqa.stackexchange.com/questions/41976/error-while-running-jmeter-perfmon

Jdk historical version download link:

https://www.oracle.com/java/technologies/oracle-java-archive-downloads.html

Guess you like

Origin blog.csdn.net/abcdu1/article/details/108785779