-
Bug
-
Resolution: Fixed
-
P3
-
jfx13, 8u211
-
macOS 10.15 Catalina (19A583)
-
x86_64
-
os_x_10.15
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8270177 | 8u311 | Kevin Rushforth | P3 | Resolved | Fixed | b02 |
JDK-8272730 | jfx11.0.13 | Ambarish Rapte | P3 | Resolved | Fixed |
1. Run the attached test case:
$ java --module-path javafx-sdk-13/lib --add-modules javafx.controls HelloSimple
2. Press the "Platform.exit" button
3. BUG: The program will exit, but prints the following assertion error:
Java has been detached already, but someone is still trying to use it at -[GlassViewDelegate dealloc]:/Users/jenkins/workspace/OpenJFX-mac/modules/javafx.graphics/src/main/native-glass/mac/GlassViewDelegate.m:198
0 libglass.dylib 0x0000000128ba8f92 -[GlassViewDelegate dealloc] + 290
1 libglass.dylib 0x0000000128baec9c -[GlassView3D dealloc] + 252
2 libobjc.A.dylib 0x00007fff75e4953a _ZN19AutoreleasePoolPage12releaseUntilEPP11objc_object + 134
3 libobjc.A.dylib 0x00007fff75e2fc30 objc_autoreleasePoolPop + 175
4 CoreFoundation 0x00007fff48b144be __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
5 CoreFoundation 0x00007fff48b143e4 __CFRunLoopDoObservers + 457
6 CoreFoundation 0x00007fff48ab755b __CFRunLoopRun + 1219
7 CoreFoundation 0x00007fff48ab6e13 CFRunLoopRunSpecific + 499
8 libjli.dylib 0x0000000105bff619 CreateExecutionEnvironment + 399
9 libjli.dylib 0x0000000105bfb75e JLI_Launch + 1354
10 java 0x0000000105bf0ca9 main + 367
11 libdyld.dylib 0x00007fff7718b405 start + 1
- backported by
-
JDK-8270177 [macos] Platform.exit causes assertion error on macOS 10.15 or later
- Resolved
-
JDK-8272730 [macos] Platform.exit causes assertion error on macOS 10.15 or later
- Resolved
- relates to
-
JDK-8231183 [macos 10.15] JavaFX apps crash on exit on MacOS Catalina
- Closed
-
JDK-8206133 [Accessibility, macOS] Native assertion errors in glass on JavaFX application shutdown
- Open
-
JDK-8335630 Crash if Platform::exit called with fullScreen Stage on macOS 14
- Resolved
- links to
-
Commit openjdk/jfx11u/e9433d6e
-
Commit openjdk/jfx/6403d674
-
Review openjdk/jfx11u/42
-
Review openjdk/jfx/540