ADDITIONAL SYSTEM INFORMATION :
Using javafx.version 18-ea+6, gluonfx.plugin.version 1.0.9 to build the iOS native image.
A DESCRIPTION OF THE PROBLEM :
Referring to https://bugs.openjdk.java.net/browse/JDK-8275723
I am getting a very similar crash on iOS 15.1, the console output of my iPad is showing following line:
*** Assertion failure in -[GlassRunnable dealloc], GlassApplication.m:268
I see that for MacOS, this has been fixed. Comparing with the source code for iOS at https://github.com/openjdk/jfx/blob/master/modules/javafx.graphics/src/main/native-glass/ios/GlassApplication.m
the iOS dealloc method still looks like the macOS code before the fix. So I suppose with iOS 15.1, the same issue got introduced as it was with macOS 12.
This behaviour has not been seen in previous iOS releases, including iOS 15.0.2.
From the comments in the aforementioned macOS bug report, the discussion mentions a follow-up effort to check other deallocs...this might be one of those to fix.
Using javafx.version 18-ea+6, gluonfx.plugin.version 1.0.9 to build the iOS native image.
A DESCRIPTION OF THE PROBLEM :
Referring to https://bugs.openjdk.java.net/browse/JDK-8275723
I am getting a very similar crash on iOS 15.1, the console output of my iPad is showing following line:
*** Assertion failure in -[GlassRunnable dealloc], GlassApplication.m:268
I see that for MacOS, this has been fixed. Comparing with the source code for iOS at https://github.com/openjdk/jfx/blob/master/modules/javafx.graphics/src/main/native-glass/ios/GlassApplication.m
the iOS dealloc method still looks like the macOS code before the fix. So I suppose with iOS 15.1, the same issue got introduced as it was with macOS 12.
This behaviour has not been seen in previous iOS releases, including iOS 15.0.2.
From the comments in the aforementioned macOS bug report, the discussion mentions a follow-up effort to check other deallocs...this might be one of those to fix.
- relates to
-
JDK-8275723 Crash on macOS 12 in GlassRunnable::dealloc
- Resolved