Bug 1286 : OPENGL crashes immediately, Processing 1.05, Mac OS X 10.4.11, Mac PPC
Last modified: 2009-07-06 08:09




Status:
RESOLVED
Resolution:
INVALID -
Priority:
P2
Severity:
normal

 

Reporter:
djones
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2009-07-03 14:28
The simplest Processing code that calls OPENGL crashes on my Mac PPC
workstation.
( I've used OPENGL with Mac Intel with no problems.)

Here is the code:
[code]
import processing.opengl.*;
void setup() {
size(400,400,OPENGL);
}
[/code]

Here is the error message:

Exception in thread "Animation Thread" java.lang.VerifyError: (class:
processing/opengl/PGraphicsOpenGL, method: bindTexture signature:
(Lprocessing/core/PImage;)V) Bad access to protected data
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.getConstructor(Class.java:1629)
at processing.core.PApplet.makeGraphics(PApplet.java:1159)
at processing.core.PApplet.size(PApplet.java:999)
at processing.core.PApplet.size(PApplet.java:959)
at bug105opengl.java:22)
at processing.core.PApplet.handleDraw(PApplet.java:1403)
at processing.core.PApplet.run(PApplet.java:1328)
at java.lang.Thread.run(Thread.java:613)

Here are the details of my setup:

Processing 1.05
Mac Dual 2.5 GHz PowerPC G5, 4 GB DDR SDRAM
Mac OS X 10.4.11
Additional Comment #1 From fry 2009-07-06 08:09
that error means you have a conflicting version of the core or opengl
libraries somewhere in your sketchbook or in your libraries folder. change
your sketchbook folder to look at an empty folder, restart processing, and
opengl will probably work fine.