hyperic / sigar

System Information Gatherer And Reporter
http://sigar.hyperic.com/
Apache License 2.0
1.52k stars 504 forks source link

Windows: EXCEPTION_ACCESS_VIOLATION at [sigar-amd64-winnt.dll+0x14ed4] #147

Open vprovodin opened 3 years ago

vprovodin commented 3 years ago

Crash reports: EA issue: EA-257460

observed starting since 211.6085.26 + 11.0.9.1+11-b1341.2 it also observed with the latest IDEs:

Crash signature: on Windows java_error_in

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000c1244ed4, pid=20780, tid=3268
#
# JRE version: OpenJDK Runtime Environment JBR-11.0.10.9-1341.2-dcevm (11.0.10+9) (build 11.0.10+9-b1341.2)
# Java VM: Dynamic Code Evolution 64-Bit Server VM JBR-11.0.10.9-1341.2-dcevm (11.0.10+9-b1341.2, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C  [sigar-amd64-winnt.dll+0x14ed4]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   https://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.
#

---------------  S U M M A R Y ------------

Command Line: exit -Xms128m -Xmx4096m -XX:ReservedCodeCacheSize=512m -XX:SoftRefLRUPolicyMSPerMB=50 -XX:CICompilerCount=2 -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -ea -Dsun.io.useCanonCaches=false -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Dide.no.platform.update=true -Dfile.encoding=UTF-8 -XX:+UseG1GC -Didea.plugins.path=C:\\Users\\huang\\AppData\\Local\\JetBrains\\Toolbox\\apps\\IDEA-U\\ch-0\\211.6085.26.plugins -Djb.vmOptionsFile=C:\Users\huang\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\211.6085.26.vmoptions -Djava.library.path=C:\Users\huang\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\211.6085.26\jbr\\bin;C:\Users\huang\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\211.6085.26\jbr\\bin\server -Didea.jre.check=true -Dide.native.launcher=true -Didea.vendor.name=JetBrains -Didea.paths.selector=IntelliJIdea2021.1 -XX:ErrorFile=C:\Users\huang\java_error_in_idea64_%p.log -XX:HeapDumpPath=C:\Users\huang\java_error_in_idea64.hprof 

Host: AMD Ryzen 7 4800HS with Radeon Graphics         , 16 cores, 39G,  Windows 10 , 64 bit Build 19041 (10.0.19041.804)
Time: Mon Feb 22 21:30:51 2021 �й���׼ʱ�� elapsed time: 103.651354 seconds (0d 0h 1m 43s)

---------------  T H R E A D  ---------------

Current thread (0x0000000035b1a800):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=3268, stack(0x0000000043960000,0x0000000043a60000)]

Stack: [0x0000000043960000,0x0000000043a60000],  sp=0x0000000043a54ca0,  free space=979k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [sigar-amd64-winnt.dll+0x14ed4]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.hyperic.sigar.SigarLog.setLogger(Lorg/hyperic/sigar/Sigar;Lorg/apache/log4j/Logger;)V+0
j  org.hyperic.sigar.SigarLog.disable(Lorg/hyperic/sigar/Sigar;)V+2
j  org.hyperic.sigar.Sigar.enableLogging(Z)V+12
j  org.hyperic.sigar.Sigar.<init>()V+70
j  com.jianhua.kmss.util.HardwareGather.<init>()V+20
j  com.jianhua.kmss.util.HardwareGather.gather()Lnet/sf/json/JSONArray;+36
j  com.jianhua.kmss.util.ServerRequest.prepareData(Lnet/sf/json/JSONObject;)Ljava/lang/String;+22
j  com.jianhua.kmss.util.ServerRequest.request(Lnet/sf/json/JSONObject;)Lnet/sf/json/JSONObject;+1
j  com.jianhua.kmss.service.SignService.downloadLicense()V+69
j  com.jianhua.kmss.ui.LicenseConfigDialog.onOK()V+177
j  com.jianhua.kmss.ui.LicenseConfigDialog.access$000(Lcom/jianhua/kmss/ui/LicenseConfigDialog;)V+1
j  com.jianhua.kmss.ui.LicenseConfigDialog$1.actionPerformed(Ljava/awt/event/ActionEvent;)V+4
j  javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+83 java.desktop@11.0.10
j  javax.swing.AbstractButton$Handler.actionPerformed(Ljava/awt/event/ActionEvent;)V+5 java.desktop@11.0.10
j  javax.swing.DefaultButtonModel.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+34 java.desktop@11.0.10
j  javax.swing.DefaultButtonModel.setPressed(Z)V+117 java.desktop@11.0.10
j  javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Ljava/awt/event/MouseEvent;)V+35 java.desktop@11.0.10
j  java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64 java.desktop@11.0.10
j  javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23 java.desktop@11.0.10
J 13243 c1 java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V java.desktop@11.0.10 (220 bytes) @ 0x00000000084485d4 [0x0000000008447f80+0x0000000000000654]
J 9722 c1 java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V java.desktop@11.0.10 (22 bytes) @ 0x0000000007d86754 [0x0000000007d86660+0x00000000000000f4]
J 19256 c1 java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V java.desktop@11.0.10 (777 bytes) @ 0x0000000008fddd64 [0x0000000008fd9da0+0x0000000000003fc4]
J 48330 c1 java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V java.desktop@11.0.10 (129 bytes) @ 0x000000000c7bcc44 [0x000000000c7bcba0+0x00000000000000a4]
J 29684 c1 java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V java.desktop@11.0.10 (372 bytes) @ 0x000000000a46534c [0x000000000a464a60+0x00000000000008ec]
J 32575 c1 java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z java.desktop@11.0.10 (265 bytes) @ 0x000000000a97a4c4 [0x000000000a979fc0+0x0000000000000504]
J 46472 c1 java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z java.desktop@11.0.10 (73 bytes) @ 0x0000000007075664 [0x00000000070754e0+0x0000000000000184]
J 48330 c1 java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V java.desktop@11.0.10 (129 bytes) @ 0x000000000c7bcc24 [0x000000000c7bcba0+0x0000000000000084]
J 40914 c1 java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V java.desktop@11.0.10 (23 bytes) @ 0x000000000baf307c [0x000000000baf2f00+0x000000000000017c]
J 48101 c2 java.awt.EventQueue$4.run()Ljava/lang/Object; java.desktop@11.0.10 (5 bytes) @ 0x00000000177c7328 [0x00000000177c6e60+0x00000000000004c8]
v  ~StubRoutines::call_stub
J 2996  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; java.base@11.0.10 (0 bytes) @ 0x00000000168de236 [0x00000000168de1c0+0x0000000000000076]
J 24390 c1 java.awt.EventQueue$5.run()Ljava/lang/Object; java.desktop@11.0.10 (5 bytes) @ 0x0000000009a0c46c [0x0000000009a0c320+0x000000000000014c]
v  ~StubRoutines::call_stub
J 2996  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; java.base@11.0.10 (0 bytes) @ 0x00000000168de236 [0x00000000168de1c0+0x0000000000000076]
J 48121 c2 com.intellij.ide.IdeEventQueue.defaultDispatchEvent(Ljava/awt/AWTEvent;)V (225 bytes) @ 0x00000000177cd554 [0x00000000177ccf00+0x0000000000000654]
J 48057 c2 com.intellij.ide.IdeEventQueue._dispatchEvent(Ljava/awt/AWTEvent;)V (413 bytes) @ 0x00000000177b14bc [0x00000000177b06c0+0x0000000000000dfc]
J 48214 c2 com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(Ljava/awt/AWTEvent;ZLjava/awt/AWTEvent;Lcom/intellij/diagnostic/EventWatcher;Ljava/lang/Class;J)V (477 bytes) @ 0x00000000177ec064 [0x00000000177eb420+0x0000000000000c44]
J 48009 c2 com.intellij.ide.IdeEventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V (579 bytes) @ 0x0000000017799e0c [0x0000000017799080+0x0000000000000d8c]
J 48354 c2 java.awt.EventDispatchThread.pumpOneEventForFilters(I)V java.desktop@11.0.10 (113 bytes) @ 0x0000000017812420 [0x0000000017811e80+0x00000000000005a0]
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35 java.desktop@11.0.10
j  java.awt.EventDispatchThread.pumpEventsForFilter(Ljava/awt/Conditional;Ljava/awt/EventFilter;)V+4 java.desktop@11.0.10
j  java.awt.WaitDispatchSupport$2.run()V+59 java.desktop@11.0.10
j  java.awt.WaitDispatchSupport$4.run()Ljava/lang/Void;+4 java.desktop@11.0.10
j  java.awt.WaitDispatchSupport$4.run()Ljava/lang/Object;+1 java.desktop@11.0.10
v  ~StubRoutines::call_stub
J 1217  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object; java.base@11.0.10 (0 bytes) @ 0x00000000168638a2 [0x0000000016863840+0x0000000000000062]
j  java.awt.WaitDispatchSupport.enter()Z+260 java.desktop@11.0.10
j  java.awt.Dialog.show()V+224 java.desktop@11.0.10
j  java.awt.Component.show(Z)V+5 java.desktop@11.0.10
j  java.awt.Component.setVisible(Z)V+2 java.desktop@11.0.10
j  java.awt.Window.setVisible(Z)V+2 java.desktop@11.0.10
j  java.awt.Dialog.setVisible(Z)V+2 java.desktop@11.0.10
j  com.jianhua.kmss.actions.KmssLicenseDownloadAction.actionPerformed(Lcom/intellij/openapi/actionSystem/AnActionEvent;)V+353
j  com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAware$5(Lcom/intellij/openapi/actionSystem/AnAction;Lcom/intellij/openapi/actionSystem/AnActionEvent;)V+2
j  com.intellij.openapi.actionSystem.ex.ActionUtil$$Lambda$1350.run()V+8
J 48130 c2 com.intellij.util.SlowOperations$$Lambda$1104.compute()Ljava/lang/Object; (8 bytes) @ 0x00000000177cf8cc [0x00000000177cf840+0x000000000000008c]
J 16376 c1 com.intellij.util.SlowOperations.allowSlowOperations(Lcom/intellij/openapi/util/ThrowableComputable;)Ljava/lang/Object; (56 bytes) @ 0x00000000089c8ba4 [0x00000000089c8b00+0x00000000000000a4]
J 15690 c1 com.intellij.util.SlowOperations.allowSlowOperations(Lcom/intellij/util/ThrowableRunnable;)V (19 bytes) @ 0x000000000888f3cc [0x000000000888f2e0+0x00000000000000ec]
j  com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(Lcom/intellij/openapi/actionSystem/AnAction;Lcom/intellij/openapi/actionSystem/AnActionEvent;)V+7
j  com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.lambda$actionPerformed$0(Ljava/awt/event/ActionEvent;Lcom/intellij/openapi/wm/IdeFocusManager;Lcom/intellij/openapi/util/ActionCallback;)V+127
j  com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$$Lambda$6694.run()V+16
j  com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(Lcom/intellij/openapi/actionSystem/DataContext;Ljava/lang/Runnable;)V+27
j  com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(Lcom/intellij/openapi/actionSystem/DataContext;Ljava/lang/Runnable;)V+23
j  com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(Ljava/awt/event/ActionEvent;)V+99
j  javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+83 java.desktop@11.0.10
j  com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$0(Ljava/awt/event/ActionEvent;)V+2
j  com.intellij.openapi.actionSystem.impl.ActionMenuItem$$Lambda$6691.run()V+8
j  com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(Ljava/lang/Runnable;)V+15
j  com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+51
j  com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(Ljavax/swing/MenuSelectionManager;Ljava/awt/event/MouseEvent;)V+190
j  com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(Ljava/awt/event/MouseEvent;)V+63
j  java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64 java.desktop@11.0.10
j  javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23 java.desktop@11.0.10
J 13243 c1 java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V java.desktop@11.0.10 (220 bytes) @ 0x00000000084485d4 [0x0000000008447f80+0x0000000000000654]
J 9722 c1 java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V java.desktop@11.0.10 (22 bytes) @ 0x0000000007d86754 [0x0000000007d86660+0x00000000000000f4]
J 19256 c1 java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V java.desktop@11.0.10 (777 bytes) @ 0x0000000008fddd64 [0x0000000008fd9da0+0x0000000000003fc4]
j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42 java.desktop@11.0.10
J 29684 c1 java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V java.desktop@11.0.10 (372 bytes) @ 0x000000000a46534c [0x000000000a464a60+0x00000000000008ec]
J 32575 c1 java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z java.desktop@11.0.10 (265 bytes) @ 0x000000000a97a4c4 [0x000000000a979fc0+0x0000000000000504]
J 46472 c1 java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z java.desktop@11.0.10 (73 bytes) @ 0x0000000007075664 [0x00000000070754e0+0x0000000000000184]
j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+12 java.desktop@11.0.10
J 40914 c1 java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V java.desktop@11.0.10 (23 bytes) @ 0x000000000baf307c [0x000000000baf2f00+0x000000000000017c]
J 48101 c2 java.awt.EventQueue$4.run()Ljava/lang/Object; java.desktop@11.0.10 (5 bytes) @ 0x00000000177c7328 [0x00000000177c6e60+0x00000000000004c8]
v  ~StubRoutines::call_stub
J 2996  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; java.base@11.0.10 (0 bytes) @ 0x00000000168de236 [0x00000000168de1c0+0x0000000000000076]
J 24390 c1 java.awt.EventQueue$5.run()Ljava/lang/Object; java.desktop@11.0.10 (5 bytes) @ 0x0000000009a0c46c [0x0000000009a0c320+0x000000000000014c]
v  ~StubRoutines::call_stub
J 2996  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; java.base@11.0.10 (0 bytes) @ 0x00000000168de236 [0x00000000168de1c0+0x0000000000000076]
J 48121 c2 com.intellij.ide.IdeEventQueue.defaultDispatchEvent(Ljava/awt/AWTEvent;)V (225 bytes) @ 0x00000000177cd554 [0x00000000177ccf00+0x0000000000000654]
J 48057 c2 com.intellij.ide.IdeEventQueue._dispatchEvent(Ljava/awt/AWTEvent;)V (413 bytes) @ 0x00000000177b14bc [0x00000000177b06c0+0x0000000000000dfc]
J 48214 c2 com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(Ljava/awt/AWTEvent;ZLjava/awt/AWTEvent;Lcom/intellij/diagnostic/EventWatcher;Ljava/lang/Class;J)V (477 bytes) @ 0x00000000177eb86c [0x00000000177eb420+0x000000000000044c]
J 48009 c2 com.intellij.ide.IdeEventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V (579 bytes) @ 0x0000000017799e0c [0x0000000017799080+0x0000000000000d8c]
J 47865 c2 java.awt.EventDispatchThread.pumpOneEventForFilters(I)V java.desktop@11.0.10 (113 bytes) @ 0x0000000016b54df4 [0x0000000016b54a40+0x00000000000003b4]
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35 java.desktop@11.0.10
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11 java.desktop@11.0.10
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4 java.desktop@11.0.10
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3 java.desktop@11.0.10
j  java.awt.EventDispatchThread.run()V+9 java.desktop@11.0.10
v  ~StubRoutines::call_stub

OS: Windows 10 , 64 bit Build 19041 (10.0.19041.804)

Steps reproducing this issue from descriptions: there are no descriptions

According to the stack trace, the crash was caused by hyperic / sigar

see JBR-3488