当前位置: 首页 > 知识库问答 >
问题:

Repast中的

勾学博
2023-03-14

加载EGL入口点时出错。

Java运行时环境检测到一个致命错误:

exception_access_visultion(0xC0000005)在pc=0x000000000000,pid=22096,tid=21896

这是错误日志文件中的线程(完整文件太长):-------------------------------------------------

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

非常感谢你的回答。埃吉尔

暂时还没有答案

 类似资料:
  • 我需要你的帮助。我正在运行来自另一个Java应用程序的就餐模拟。我打算做的是将就餐版本1.2升级到就餐版本2.0。 我该怎么做? 我试图用它的最新版本(reover 2.0)替换repast.simphony.bin_and_src.jar但发生了这样的错误:

  • 我正在使用Repast Simphony进行一个涉及空域的项目,并希望让代理在GIS投影上方的3D连续空间中移动,该投影具有静态地面代理。目前,我在同一上下文中有单独的和投影,并在两个投影中同时移动代理,但GIS显示的代理运动仅为2D。 我注意到用于在中设置位置的对象有一个字段,但将值设置为以外的任何值都不会做任何事情。我在文档中没有找到有关此的任何内容。 我计划实现接口并进行我自己的投影,因为由

  • 由于某种原因,当我使用@ScheduledMethod时,我的方法没有被调用。我以前用过,不知道出了什么问题,一切都很好。 以下是代码: 先谢谢你,迪娜。

  • 有没有适合就餐的Simphony模型库?我正在寻找类似OpenABM的计算模型库的东西。不幸的是,这个图书馆里只有NetLogo的型号,但没有就餐的型号。(特别是,我正在寻找一篇使用基于代理的模拟研究创新扩散过程的科学论文,以及我可以下载的Repast中的相应模型。后面的想法是在讲座中展示Repast的威力。) 非常感谢你!

  • 我正在使用Repast Simphony框架进行模拟。假设我有以下类: 然后我创建了这个类的几个实例,将它们添加到上下文中并运行模拟: 是否有任何方法可以收集聚合数据,但对于类的每个实例分别?我想找出每个生成器的所有生成值的平均值,因此输出统计信息应采用以下格式: 如果我使用方法数据源创建新的聚合(均值)数据集并重复每个刻度,我会得到大量的值列表: 其中每个值都是平均值,但所有生成器的指定刻度值的

  • 我刚刚下载Repast Simphony 64位。我的电脑上安装了Java8v144。当我启动Repast时,我立即得到一个异常,它说 我希望能就如何进行提出建议。” 谢谢