Still no luck on my end. I tried a bunch of different jdks, but still getting this error. Seems like P2D and P3D both generate this. I am using Processing 4 with OpenJDK 17.
A fatal error has been detected by the Java Runtime Environment:
SIGILL (0x4) at pc=0x00007fff2017525d, pid=17211, tid=9475
JRE version: OpenJDK Runtime Environment (17.0+35) (build 17+35-2724)
Java VM: OpenJDK 64-Bit Server VM (17+35-2724, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
Problematic frame:
C [libdispatch.dylib+0x525d] _dispatch_assert_queue_fail+0x63
No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
An error report file with more information is saved as:
/Users/matthewortega/Documents/GitHub/p5one/hs_err_pid17211.log
If you would like to submit a bug report, please visit:
https://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)`
Here’s the Sketch:
import processing.core.PApplet;
import processing.core.PConstants;
public class Sketch3 extends PApplet {
public static void main(String[] args) {
PApplet.main(new String[] {Sketch3.class.getName()});
}
@Override
public void settings() {
size(500, 500, PConstants.P3D);
}
@Override
public void setup() {
}
@Override
public void draw() {
}
@Override
public void mousePressed() {
}
@Override
public void keyPressed() {
}
}