We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsSoftware Bugs › OGL bug "in native code outside the VM"
Page Index Toggle Pages: 1
OGL bug "in native code outside the VM" (Read 1217 times)
OGL bug "in native code outside the VM"
May 23rd, 2005, 5:32pm
 
i have no idea what to make of this one.  preparing for an installation in a couple days, and i've been letting the program run for an extended period of time.  according to the detailed error log it spat out, it looks like it was running for 10 hours when it crashed, and it appears that the bug may have originated in an area of the code that has (i think) infrequently been generating out-of-bounds errors, tho i'm not sure because openGL isn't yet reporting bugs properly and i haven't been able to replicate it in P3D.

anyway....below are some of the highlights (YaBB wouldn't let me post the whole thing).  you can find the entire log at
http://transmote.com/share/p5/hs_err_pid2784.log

Quote:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x6959F71E
Function=[Unknown.]
Library=C:\WINDOWS\system32\nvoglnt.dll

NOTE: We are unable to locate the function name symbol for the error
     just occurred. Please refer to release documentation for possible
     reason and solutions.


Current Java thread:

at net.java.games.jogl.impl.windows.WindowsGLImpl.glBindTexture(Native Method)

at processing.opengl.PGraphicsGL.cache(PGraphicsGL.java:604)

at processing.opengl.PGraphicsGL.render_triangles(PGraphicsGL.java:389)

at processing.core.PGraphics3.endShape(PGraphics3.java:1129)

at processing.core.PGraphics3.imageImpl(PGraphics3.java:2625)

at processing.core.PGraphics.image(PGraphics.java:1448)

at processing.core.PGraphics.image(PGraphics.java:1429)

at processing.core.PApplet.image(PApplet.java:5939)

at Temporary_6140_1052$Cloud.drawMe(Temporary_6140_1052.java:1052)

at Temporary_6140_1052$Cloud.update(Temporary_6140_1052.java:1011)

at Temporary_6140_1052.draw(Temporary_6140_1052.java:351)

at processing.core.PApplet.display(PApplet.java:1082)

- locked <0x10525ad0> (a java.lang.Object)

- locked <0x10525758> (a Temporary_6140_1052)

at processing.opengl.PGraphicsGL$1.display(PGraphicsGL.java:75)

at net.java.games.jogl.impl.GLDrawableHelper.display(GLDrawableHelper.java:74)

at net.java.games.jogl.GLCanvas$DisplayAction.run(GLCanvas.java:241)

at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:292)

- locked <0x10592660> (a net.java.games.jogl.impl.windows.WindowsOnscreenGLContext)

at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.invokeGL(WindowsOnscre
enGLContext.java:79)

at net.java.games.jogl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.jav
a:258)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

...Dynamic libraries:
(big ol' list of .dlls)

...Heap at VM Abort:
(heap info)

...Local Time = Mon May 23 07:21:15 2005
Elapsed Time = 32636
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
#
Re: OGL bug "in native code outside the VM&qu
Reply #1 - May 23rd, 2005, 6:57pm
 
sorry, more details --

Code:

void drawMe () {
if (young) { growUp(); }
pushMatrix();
translate(x, y);
rotate(rot);
tint(col);
image(img, 0, 0, w, h);
noTint();
popMatrix();
rot += rotInc;
if (dying) { killMe(); }
}


i believe this is where the crash occurred.  the image being drawn here has an alpha mask on it, that may have something to do with it...?
Re: OGL bug "in native code outside the VM&qu
Reply #2 - May 23rd, 2005, 7:15pm
 
ack.  the more i dig into it, the more i wonder if it's my bug, not processing's -- just thrown by the verbosity of this error.

but it looks like i may have had a memory leak, with objects (of class Cloud, with alpha-masked images) not being deleted properly.

so if this needs to be moved to Programs, so be it...just wondering what's up with this error format, i've never seen a seperate log file generated before.
Re: OGL bug "in native code outside the VM&qu
Reply #3 - May 23rd, 2005, 10:57pm
 
the error log is under the windows section of the bugs faq under "can't fix":
http://processing.org/faq/bugs.html#cantfix

it's an error that's most likely out of our control. there may be something that we're doing to trigger it (like maybe the texture cache is being flooded) but more likely it's somewhere inside jogl since it's even less stable than p5.
Re: OGL bug "in native code outside the VM&qu
Reply #4 - Jul 28th, 2005, 4:42am
 
the error may be fixed with the new rev of jogl that's in rev 93. that or it's not something we can fix, so closing the thread.
Page Index Toggle Pages: 1