Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaFX application crashed on macOS Sierra 10.12 #197

Open
hirukawa opened this issue Nov 1, 2024 · 1 comment
Open

JavaFX application crashed on macOS Sierra 10.12 #197

hirukawa opened this issue Nov 1, 2024 · 1 comment
Assignees

Comments

@hirukawa
Copy link

hirukawa commented Nov 1, 2024

JavaFX application crashed on macOS Sierra 10.12

My JavaFX application works fine in LibericaJDK 21.0.3 on macOS Sierra 10.12.
But, My JavaFX application does not work on LibericaJDK 21.0.4 (and 21.0.5) on macOS Sierra 10.12.

Code Type: X86-64 (Native)
OS Version: Mac OS X 10.12.6 (16G2136)
Report Version: 12
Crashed Thread: 24 Java: QuantumRenderer-0

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: DYLD, [0x4] Symbol missing

Dyld Error Message:
  Symbol not found: _objc_alloc_init
  Referenced from: /Library/Java/JavaVirtualMachines/liberica-jdk-21-full.jdk/Contents/Home/lib/libprism_es2.dylib
  Expected in: /usr/lib/libobjc.A.dylib

On macOS High Sierra 10.13, the crash is similar, but with more detailed information.

Dyld Error Message:
  Symbol not found: _objc_alloc_init
  Referenced from: /Library/Java/JavaVirtualMachines/liberica-jdk-21-full.jdk/Contents/Home/lib/libprism_es2.dylib (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libobjc.A.dylib

libprism_es2.dylib (which was built for Mac OS X 10.15)

This seems to be because libprism_es2.dylib is built targeting macOS 10.15 from LibericaJDK 21.0.4/21.0.5.
Is it possible to build libprism_es2.dylib targeting macOS 10.12, like in LibericaJDK 21.0.3?

@voitylov
Copy link
Collaborator

voitylov commented Nov 8, 2024

the January 2025 release will revert to building for 10.12 for all OpenJFX modules with the exception of Webkit. Webkit will be built for 10.15 and will not work on 10.12.

That said, it's unknown for how long we will be able to support a Mac OS X release which is unsupported by Apple. We intend to bump the minimum supported version of Mac OS X some time when the efforts to continue to run on such an outdated version of Mac OS X outweigh the pros.

@voitylov voitylov self-assigned this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants