EXCEPTION_ACCESS_VIOLATION is thrown when i opened 3d editor [message #635237] |
Tue, 26 October 2010 06:52 |
sunny Messages: 15 Registered: July 2009 |
Junior Member |
|
|
I'm working on Eclipse 3.5, GEF 3.5, LWJGL 2.2.1 and the latest GEF3D. When i opened test.G3D_graph, i got this error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x69161860, pid=5192, tid=5132
#
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) Client VM (16.0-b13 mixed mode windows-x86 )
# Problematic frame:
# C [atioglx2.dll+0x161860]
#
# An error report file with more information is saved as:
# E:\hxy\eclipse-SDK-3.5-win32_GEF3D\hs_err_pid5192.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Here is the part of hs_err_pid5192.log:
[error occurred during error reporting (printing native stack), id 0xc0000005]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.lwjgl.opengl.GL11.nglDrawArrays(IIIJ)V+0
j org.lwjgl.opengl.GL11.glDrawArrays(III)V+20
j org.eclipse.draw3d.graphics3d.lwjgl.font.LwjglVectorFont.ini tialize()V+924
j org.eclipse.draw3d.graphics3d.lwjgl.Graphics3DLwjgl.getVecto rFont(Lorg/eclipse/swt/graphics/Font;CCZ)Lorg/eclipse/draw3d /graphics3d/lwjgl/font/LwjglVectorFont;+51
j org.eclipse.draw3d.graphics3d.lwjgl.Graphics3DLwjgl.deactiva teGraphics2D()Lorg/eclipse/draw3d/graphics3d/RenderImage;+28 1
j org.eclipse.draw3d.Figure3DHelper.paintChildren2D(Lorg/eclip se/draw2d/Graphics;)V+219
j org.eclipse.draw3d.Figure3DHelper.paintChildren(Lorg/eclipse /draw2d/Graphics;)V+2
|
|
|
Re: EXCEPTION_ACCESS_VIOLATION is thrown when i opened 3d editor [message #635274 is a reply to message #635237] |
Tue, 26 October 2010 08:41 |
|
I'd assume this is some OpenGL/LWJGL problem. From the name of the DLL I
figure you have an ATI graphics card? Unfortunately, these cards may
cause problems. What card do you have? Also, you could try installing
newer OpenGL drivers (if available). There exists a Wiki page with a
list of tested graphic cards:
http://wiki.eclipse.org/GEF3D_List_of_Graphics_Card
Besides, can you open the OpenGL test view (Window / Show View / Other
LWJGL Test View)?
Unfortunately, there isn't much we can do in cases like this. However,
we plan to update LWJGL (or use JOGL) in the near future (I really hope
to be able to at least update to LWJGL 2.6 in November, stay tuned. The
update should fix some problems.).
Cheers,
Jens
|
|
|
|
Re: EXCEPTION_ACCESS_VIOLATION is thrown when i opened 3d editor [message #635650 is a reply to message #635296] |
Wed, 27 October 2010 15:41 |
|
On 26.10.10 12:15, sunny wrote:
> Thank you very much.My graphics card is ATI Radeon HD 3470. The LWJGL
> Test View can work correctly.
OK, so it seems to be a problem with the OpenGL extensions we use. You
may try to update your OpenGL driver (if you do not have the latest
version). Depending on the results, you may want to add your graphics
card to our Wiki page.
As I already mentioned I have planned to update GEF3D to use the latest
LWJGL version. If you are using twitter, you may follow @gef3d -- we
will announce such updates there (and in the newsgroup as well).
Cheers,
Jens
|
|
|
|
Re: EXCEPTION_ACCESS_VIOLATION is thrown when i opened 3d editor [message #635903 is a reply to message #635780] |
Thu, 28 October 2010 14:44 |
|
On 28.10.10 07:37, sunny wrote:
> Thank you very much. I replaced LWJGL 2.2.1 with 2.6 and the error still
> existed.
Hmm... did you adapt GEF3D (i.e. org.eclipse.draw3d.graphics3D and
org.eclipse.draw3d.lwjgl)? As far as I remember some adjustments have to
be made there, since some constant value have changed (our current
version is a terrible hack ;-) ). As discussed in the previous thread
(2Dfied editors do not work with ATI), other problems will occur if you
simply update LWJGL, such as
org.lwjgl.opengl.OpenGLException: Invalid enum (1280)
at org.lwjgl.opengl.Util.checkGLError(Util.java:54)
at org.lwjgl.opengl.GL11.glEnable(GL11.java:1032)
Actually, updating these constants (that is, rewrite GEF3D to not
directly use the integer values of LWJGL) is what I'm planning to do in
November.
Cheers,
Jens
|
|
|
Powered by
FUDForum. Page generated in 0.03918 seconds