JVM Crashes when resizing
in
Programming Questions
•
5 months ago
Hello I have a PApplet which I am initialising using
When I resize the window using the mouse the applet crashes:
- size(800, 800, P3D);
When I resize the window using the mouse the applet crashes:
- #
- # A fatal error has been detected by the Java Runtime Environment:
- #
- # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000000000000, pid=4680, tid=5000
- #
- # JRE version: 6.0_45-b06
- # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode windows-amd64 compressed oops)
- # Problematic frame:
- # C 0x0000000000000000
- #
- # An error report file with more information is saved as:
- # D:\dev\java\projects\Games\aigames\Steering\bin\hs_err_pid4680.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.
I have installed the latest version of processing - processing-2.0b8
I have tried using the proclipse plugin
No change.
I am running on a dual core intel machine with win 7 and 4gb.
I have installed the latest nVidia drivers
I have tried running with java 1.6.0_45 and 1.7.0_21
Nothing works.
Any help would be extremely gratefully received with this.
Here is a small sample
I have tried using the proclipse plugin
No change.
I am running on a dual core intel machine with win 7 and 4gb.
I have installed the latest nVidia drivers
I have tried running with java 1.6.0_45 and 1.7.0_21
Nothing works.
Any help would be extremely gratefully received with this.
Here is a small sample
- import processing.core.PApplet;
- public class TestApplet extends PApplet {
- private float rot;
- public void setup() {
- size(800, 800, P3D);
- }
- public void draw() {
- background(200);
- pushMatrix();
- translate(width/2, height/2);
- rotate((float) Math.toRadians(rot));
- line(-100, 0, 100, 0);
- line(0, -100, 0, 100);
- rot += 1f;
- popMatrix();
- }
- }
Running and resizing this causes the crash (on my setup anyway)
1