Skip to content

Exported Application broken in 4.0 beta 1 on macOS when using P2D or P3D #249

Closed
@processing-bot

Description

@processing-bot

Created by: philipp-lehmann

Description

When opening an exported application, it immediately quits and MacOS displays an alert saying that the application "quit unexpectedly".

Previous Bug Report

This has been an issue a while back (processing/processing#5983), so maybe its my environment.
However I tried a clean new installation with a very simple sketch and couldn't export a functional app.

Steps to Reproduce

  • Downloaded the beta
  • Created a test sketch
  • Exported the app

Environment

  • Processing version: 4.0b
  • Operating System and OS version: MacOS Big Sur 11.5.1

My Test Sketch

float rX = 0.0;
float rY = 0.0;

void setup() {
  size(400,400, P3D);
  frameRate(30); // Calling frameRate could help...
  rectMode(CENTER);
}

void draw() {
  background(255);
  translate(width/2, height/2);
  rotateX(rX += 0.005);
  rotateY(rY += 0.01);
  rect(0,0,200,200); 
}

The error messages

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x00007fff201fa25d, pid=18786, tid=12547
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.12+7 (11.0.12+7) (build 11.0.12+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.12+7 (11.0.12+7, mixed mode, tiered, compressed oops, 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/Philipp/hs_err_pid18786.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions