我已经在我的windows 10电脑上安装了repast,但是如果我试图运行其中一个演示代码,我会得到一个错误。
加载EGL入口点时出错。
Java运行时环境检测到致命错误:
在pc = 0x000000000000000,pid = 22096,tid = 21896时出现异常访问违规(0xc0000005)
JRE版本:OpenJDK运行时环境(11.0.4 + 11)(内部版本11.0.4 + 11)Java虚拟机:OpenJDK 64位服务器VM(11.0.4 + 11,混合模式,分层,压缩oops,g1 gc,windows-amd64)有问题的框架:数据类型
不会写入任何核心转储。默认情况下,在Windows的客户端版本上不启用小型转储
包含更多信息的错误报告文件另存为:C:\Surfdrive\Models_and_Scripts\Repast\Zombies_Demo\hs_err_pid22096.log
如果您要提交错误报告,请访问:https://github.com/AdoptOpenJDK/openjdk-build/issues崩溃发生在Java虚拟机外部的本地代码中。请查看有问题的框架以了解报告错误的位置。
我曾尝试以管理员身份运行Repast,并在中设置javaw.exe以管理员身份运行,但这并不能解决问题。
这是错误日志文件中的THREAD(完整文件太长):- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Current thread (0x000001a735b13800): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=21896, stack(0x000000427a300000,0x000000427a400000)]
Stack: [0x000000427a300000,0x000000427a400000], sp=0x000000427a3f7cd8, free space=991k
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 jogamp.opengl.egl.EGL.dispatch_eglGetProcAddress0(Ljava/lang/String;J)J+0
j jogamp.opengl.egl.EGL.eglGetProcAddress(JLjava/lang/String;)J+18
j jogamp.opengl.egl.EGLDynamicLibraryBundleInfo.toolGetProcAddress(JLjava/lang/String;)J+2
j com.jogamp.common.os.DynamicLibraryBundle.toolDynamicLookupFunction(Ljava/lang/String;)J+18
j com.jogamp.common.os.DynamicLibraryBundle.dynamicLookupFunction(Ljava/lang/String;)J+94
j com.jogamp.gluegen.runtime.opengl.GLProcAddressResolver.resolve(Ljava/lang/String;Lcom/jogamp/common/os/DynamicLookupHelper;)J+35
j com.jogamp.gluegen.runtime.ProcAddressTable.setEntry(Ljava/lang/reflect/Field;Ljava/lang/String;Lcom/jogamp/common/os/DynamicLookupHelper;)V+30
j com.jogamp.gluegen.runtime.ProcAddressTable.reset(Lcom/jogamp/common/os/DynamicLookupHelper;)V+129
j jogamp.opengl.egl.EGL.resetProcAddressTable(Lcom/jogamp/common/os/DynamicLookupHelper;)V+4
j jogamp.opengl.egl.EGLDrawableFactory.<init>()V+294
v ~StubRoutines::call_stub
J 2507 jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object; java.base@11.0.4 (0 bytes) @ 0x000001a72565a326 [0x000001a72565a2c0+0x0000000000000066]
J 2506 c1 jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object; java.base@11.0.4 (89 bytes) @ 0x000001a71e12d6bc [0x000001a71e12cb40+0x0000000000000b7c]
J 2453 c1 jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object; java.base@11.0.4 (9 bytes) @ 0x000001a71e0d7edc [0x000001a71e0d7de0+0x00000000000000fc]
J 2452 c1 java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object; java.base@11.0.4 (76 bytes) @ 0x000001a71e0e1404 [0x000001a71e0e11a0+0x0000000000000264]
j com.jogamp.common.util.ReflectionUtil.createInstance(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+2
j com.jogamp.common.util.ReflectionUtil.createInstance(Ljava/lang/Class;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;+6
j com.jogamp.common.util.ReflectionUtil.createInstance(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;Ljava/lang/ClassLoader;)Ljava/lang/Object;+8
j com.jogamp.common.util.ReflectionUtil.createInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;+4
j javax.media.opengl.GLDrawableFactory.initSingletonImpl()V+263
j javax.media.opengl.GLDrawableFactory.initSingleton()V+21
j javax.media.opengl.GLProfile.initProfilesForDefaultDevices()V+107
j javax.media.opengl.GLProfile.access$000()V+0
j javax.media.opengl.GLProfile$1.run()Ljava/lang/Object;+58
v ~StubRoutines::call_stub
J 1304 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object; java.base@11.0.4 (0 bytes) @ 0x000001a72568b392 [0x000001a72568b340+0x0000000000000052]
j javax.media.opengl.GLProfile.initSingleton()V+75
j javax.media.opengl.GLProfile.getProfileMap(Ljavax/media/nativewindow/AbstractGraphicsDevice;Z)Ljava/util/HashMap;+0
j javax.media.opengl.GLProfile.get(Ljavax/media/nativewindow/AbstractGraphicsDevice;Ljava/lang/String;)Ljavax/media/opengl/GLProfile;+16
j javax.media.opengl.GLProfile.get(Ljava/lang/String;)Ljavax/media/opengl/GLProfile;+4
j saf.v3d.Canvas2D.<init>()V+69
j repast.simphony.visualizationOGL2D.DisplayOGL2D.<init>(Lrepast/simphony/visualization/DisplayData;Lrepast/simphony/visualization/Layout;)V+106
j repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay()Lrepast/simphony/visualization/IDisplay;+65
j repast.simphony.visualization.engine.DisplayProducer.createDisplay()Lrepast/simphony/visualization/IDisplay;+35
j repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(Lrepast/simphony/engine/environment/RunState;Ljava/lang/Object;Lrepast/simphony/parameter/Parameters;)V+304
j repast.simphony.engine.controller.DefaultController$3.visit(Lrepast/simphony/engine/environment/ControllerAction;)V+18
j repast.simphony.engine.controller.DefaultController$3.visit(Ljava/lang/Object;)V+5
j repast.simphony.util.collections.NaryTree.preOrderTraverals(Lrepast/simphony/util/collections/NaryTree$Node;Lrepast/simphony/util/collections/TreeVisitor;)V+5
j repast.simphony.util.collections.NaryTree.preOrderTraverals(Lrepast/simphony/util/collections/NaryTree$Node;Lrepast/simphony/util/collections/TreeVisitor;)V+45
j repast.simphony.util.collections.NaryTree.preOrderTraverals(Lrepast/simphony/util/collections/NaryTree$Node;Lrepast/simphony/util/collections/TreeVisitor;)V+45
j repast.simphony.util.collections.NaryTree.preOrderTraversal(Lrepast/simphony/util/collections/TreeVisitor;)V+6
j repast.simphony.engine.controller.DefaultController.runInitialize(Lrepast/simphony/engine/environment/RunState;Lrepast/simphony/context/Context;Lrepast/simphony/parameter/Parameters;)V+101
j repast.simphony.engine.controller.DefaultController.runInitialize(Lrepast/simphony/parameter/Parameters;)Lrepast/simphony/engine/environment/RunState;+111
j repast.simphony.ui.RSApplication.initSim()V+44
j repast.simphony.ui.action.InitRun.actionPerformed(Ljava/awt/event/ActionEvent;)V+10
j javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+83 java.desktop@11.0.4
j javax.swing.AbstractButton$Handler.actionPerformed(Ljava/awt/event/ActionEvent;)V+5 java.desktop@11.0.4
j javax.swing.DefaultButtonModel.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+34 java.desktop@11.0.4
j javax.swing.DefaultButtonModel.setPressed(Z)V+117 java.desktop@11.0.4
j javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Ljava/awt/event/MouseEvent;)V+35 java.desktop@11.0.4
j java.awt.AWTEventMulticaster.mouseReleased(Ljava/awt/event/MouseEvent;)V+8 java.desktop@11.0.4
j java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64 java.desktop@11.0.4
j javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23 java.desktop@11.0.4
j java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81 java.desktop@11.0.4
J 4777 c1 java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V java.desktop@11.0.4 (22 bytes) @ 0x000001a71ea43a24 [0x000001a71ea43700+0x0000000000000324]
J 4654 c1 java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V java.desktop@11.0.4 (777 bytes) @ 0x000001a71e9fd454 [0x000001a71e9f9840+0x0000000000003c14]
J 4653 c1 java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V java.desktop@11.0.4 (129 bytes) @ 0x000001a71e9f839c [0x000001a71e9f8260+0x000000000000013c]
J 4631 c1 java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V java.desktop@11.0.4 (6 bytes) @ 0x000001a71e9e5f34 [0x000001a71e9e5e40+0x00000000000000f4]
j java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V+349 java.desktop@11.0.4
j java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z+155 java.desktop@11.0.4
j java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z+50 java.desktop@11.0.4
J 4653 c1 java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V java.desktop@11.0.4 (129 bytes) @ 0x000001a71e9f833c [0x000001a71e9f8260+0x00000000000000dc]
j java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19 java.desktop@11.0.4
J 4741 c1 java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V java.desktop@11.0.4 (136 bytes) @ 0x000001a71ea2c454 [0x000001a71ea2bfc0+0x0000000000000494]
J 4740 c1 java.awt.EventQueue$4.run()Ljava/lang/Void; java.desktop@11.0.4 (60 bytes) @ 0x000001a71ea2b82c [0x000001a71ea2b700+0x000000000000012c]
J 4739 c1 java.awt.EventQueue$4.run()Ljava/lang/Object; java.desktop@11.0.4 (5 bytes) @ 0x000001a71ea2b344 [0x000001a71ea2b2c0+0x0000000000000084]
v ~StubRoutines::call_stub
J 2083 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; java.base@11.0.4 (0 bytes) @ 0x000001a7256ff326 [0x000001a7256ff2c0+0x0000000000000066]
J 4651 c1 java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object; java.base@11.0.4 (22 bytes) @ 0x000001a71e9f54ac [0x000001a71e9f51a0+0x000000000000030c]
j java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+6 java.base@11.0.4
j java.awt.EventQueue$5.run()Ljava/lang/Void;+11 java.desktop@11.0.4
j java.awt.EventQueue$5.run()Ljava/lang/Object;+1 java.desktop@11.0.4
v ~StubRoutines::call_stub
J 2083 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; java.base@11.0.4 (0 bytes) @ 0x000001a7256ff326 [0x000001a7256ff2c0+0x0000000000000066]
J 4672 c1 java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V java.desktop@11.0.4 (80 bytes) @ 0x000001a71ea0c16c [0x000001a71ea0b6a0+0x0000000000000acc]
J 4746 c1 java.awt.EventDispatchThread.pumpOneEventForFilters(I)V java.desktop@11.0.4 (113 bytes) @ 0x000001a71ea323ac [0x000001a71ea31ca0+0x000000000000070c]
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35 java.desktop@11.0.4
j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11 java.desktop@11.0.4
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4 java.desktop@11.0.4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3 java.desktop@11.0.4
j java.awt.EventDispatchThread.run()V+9 java.desktop@11.0.4
v ~StubRoutines::call_stub
siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), data execution prevention violation at address 0x0000000000000000
Register to memory mapping:
RIP=0x0 is NULL
RAX=0x0000000000000001 is an unknown value
RBX=0x000001a735b13b40 points into unknown readable memory: 40 6c 21 0c fe 7f 00 00
RCX=0x000001a737c29430 points into unknown readable memory: 65 67 6c 42 69 6e 64 41
RDX=0x00007ffe4be9e0e0 libEGL.dll
RSP=0x000000427a3f7cd8 is pointing into the stack for thread: 0x000001a735b13800
RBP=0x00007ffe4be819f6 libEGL.dll
RSI=0x000000427a3f7de8 is pointing into the stack for thread: 0x000001a735b13800
RDI=0x000001a737c29430 points into unknown readable memory: 65 67 6c 42 69 6e 64 41
R8 =0x00007ffe4be9faa0 libEGL.dll
R9 =0x00007ffe4be9302a libEGL.dll
R10=0x0 is NULL
R11=0x000000427a3f7a80 is pointing into the stack for thread: 0x000001a735b13800
R12=0x0 is NULL
R13={method} {0x000001a7406c1478} 'dispatch_eglGetProcAddress0' '(Ljava/lang/String;J)J' in 'jogamp/opengl/egl/EGL'
R14=0x000000427a3f7de8 is pointing into the stack for thread: 0x000001a735b13800
R15=0x000001a735b13800 is a thread
Registers:
RAX=0x0000000000000001, RBX=0x000001a735b13b40, RCX=0x000001a737c29430, RDX=0x00007ffe4be9e0e0
RSP=0x000000427a3f7cd8, RBP=0x00007ffe4be819f6, RSI=0x000000427a3f7de8, RDI=0x000001a737c29430
R8 =0x00007ffe4be9faa0, R9 =0x00007ffe4be9302a, R10=0x0000000000000000, R11=0x000000427a3f7a80
R12=0x0000000000000000, R13=0x000001a7406c1470, R14=0x000000427a3f7de8, R15=0x000001a735b13800
RIP=0x0000000000000000, EFLAGS=0x0000000000010202
Top of Stack: (sp=0x000000427a3f7cd8)
0x000000427a3f7cd8: 0000000064361292 000001a735b13b40
0x000000427a3f7ce8: 00007ffe4be819f6 000000427a3f7de8
0x000000427a3f7cf8: 000001a71db2ee80 000000427a3f8500
0x000000427a3f7d08: 000001a7406c1470 000000003845e4ea
0x000000427a3f7d18: 0000000000001f40 000000427a3f7db8
0x000000427a3f7d28: 000001a71db2f037 0000000000001f40
0x000000427a3f7d38: 000001a71db2ed1c 000001a735b13800
0x000000427a3f7d48: 000001a7406c1470 000000427a3f7db8
0x000000427a3f7d58: 000000003845e4ea 000000003845e4ea
0x000000427a3f7d68: 000001a71db2ecd6 000000427a3f7d70
0x000000427a3f7d78: 000001a7406c1470 000000427a3f7de8
0x000000427a3f7d88: 000001a7406c2fa8 0000000000000000
0x000000427a3f7d98: 0000000087bf8b68 000001a7406c1470
0x000000427a3f7da8: 0000000000000000 000000427a3f7dd8
0x000000427a3f7db8: 000000427a3f7e38 000001a71db29910
0x000000427a3f7dc8: 0000000087bf8b68 000001a71db2bf97
Instructions: (pc=0x0000000000000000)
0xffffffffffffff00:
Stack slot to memory mapping:
stack at sp + 0 slots: 0x0000000064361292 jogl_mobile.dll
stack at sp + 1 slots: 0x000001a735b13b40 points into unknown readable memory: 40 6c 21 0c fe 7f 00 00
stack at sp + 2 slots: 0x00007ffe4be819f6 libEGL.dll
stack at sp + 3 slots: 0x000000427a3f7de8 is pointing into the stack for thread: 0x000001a735b13800
stack at sp + 4 slots: 0x000001a71db2ee80 is at code_begin+608 in an Interpreter codelet
method entry point (kind = native) [0x000001a71db2ec20, 0x000001a71db2f780] 2912 bytes
stack at sp + 5 slots: 0x000000427a3f8500 is pointing into the stack for thread: 0x000001a735b13800
stack at sp + 6 slots: {method} {0x000001a7406c1478} 'dispatch_eglGetProcAddress0' '(Ljava/lang/String;J)J' in 'jogamp/opengl/egl/EGL'
stack at sp + 7 slots: 0x000000003845e4ea is an unknown value
非常感谢提前回答。Egil
2条答案
按热度按时间gorkyyrv1#
根据错误日志,可能是您电脑上的显卡驱动程序出现问题。您使用的是标准的Windows电脑或笔记本电脑,还是移动的平板电脑或Chromebook之类的设备?该错误表明尝试加载移动显卡驱动程序时出现问题,如果在电脑上使用,则不会出现此问题。具体是哪个演示导致此错误?是标准演示,还是“服务器”演示启动?
解决Repast显示器图形问题的一个建议方法是更新PC上的图形驱动程序。如果你有和NVidia或AMD GPU,你可以从他们的网站下载驱动程序更新实用程序。
huwehgph2#
尝试将libEGL.dll放入您的PATH环境中。请重新输入w_64。