-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
jfx17
-
generic
-
os_x
ADDITIONAL SYSTEM INFORMATION :
Mac OS 14.3.1 (Sonoma). Temurin JDK 17.0.10+7, JavaFX 19.
A DESCRIPTION OF THE PROBLEM :
Launching a JavaFX application, the JVM crashes when calling javafx.stage.Stage.show(), console output below.
Crash does not happen with:
* Temurin 17.0.8+7, Temurin 21 or Oracle JVM 17.0.10 and JavaFX 19
* Temurin 17.0.10+7 and JavaFX20
2024-03-17 09:11:59.334 java[22169:215159] *** Assertion failure in -[_NSTrackingAreaAKViewHelper removeTrackingRect:], _NSTrackingAreaAKManager.m:1781
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '0x0 is an invalid NSTrackingRectTag. Common possible reasons for this are: 1. already removed this trackingRectTag, 2. Truncated the NSTrackingRectTag to 32bit at some point.'
*** First throw call stack:
(
0 CoreFoundation 0x00007ff80ade9d76 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff80a8dc321 objc_exception_throw + 48
2 Foundation 0x00007ff80bdd2fc6 -[NSCalendarDate initWithCoder:] + 0
3 AppKit 0x00007ff80eb6cd82 -[_NSTrackingAreaAKViewHelper removeTrackingRect:] + 199
4 libglass.dylib 0x0000000132d75449 Java_com_sun_glass_ui_mac_MacApplication__1getMacKey + 3593
5 libglass.dylib 0x0000000132d7a038 Java_com_sun_glass_ui_mac_MacApplication__1getMacKey + 23032
6 AppKit 0x00007ff80e3c5752 -[NSView setFrame:] + 347
7 libglass.dylib 0x0000000132d7a095 Java_com_sun_glass_ui_mac_MacApplication__1getMacKey + 23125
8 AppKit 0x00007ff80e3d577e -[NSView resizeWithOldSuperviewSize:] + 827
9 AppKit 0x00007ff80e3d501f -[NSView resizeSubviewsWithOldSize:] + 503
10 AppKit 0x00007ff80e3b579b -[NSView setFrameSize:] + 1461
11 AppKit 0x00007ff80e3c5752 -[NSView setFrame:] + 347
12 AppKit 0x00007ff80e3d577e -[NSView resizeWithOldSuperviewSize:] + 827
13 AppKit 0x00007ff80e3d501f -[NSView resizeSubviewsWithOldSize:] + 503
14 AppKit 0x00007ff80e3b579b -[NSView setFrameSize:] + 1461
15 AppKit 0x00007ff80e3d3a80 -[NSThemeFrame setFrameSize:] + 466
16 AppKit 0x00007ff80e3d3186 -[NSWindow _oldPlaceWindow:fromServer:] + 811
17 AppKit 0x00007ff80e3d2053 -[NSWindow _setFrameCommon:display:fromServer:] + 3033
18 libglass.dylib 0x0000000132d6d27f getImage + 6799
19 libglass.dylib 0x0000000132d6ccec getImage + 5372
20 libglass.dylib 0x0000000132d6cf59 getImage + 5993
21 libglass.dylib 0x0000000132d842ce Java_com_sun_glass_ui_mac_MacWindow__1setBounds2 + 446
22 ??? 0x00000001207ea53a 0x0 + 4840138042
23 ??? 0x00000001207e642b 0x0 + 4840121387
24 ??? 0x00000001207e642b 0x0 + 4840121387
25 ??? 0x00000001207e642b 0x0 + 4840121387
26 ??? 0x00000001207e688f 0x0 + 4840122511
)
libc++abi: terminating due to uncaught exception of type NSException
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run simplest possible example at https://github.com/georgweiss/JavaFXCrash on Mac OS 14, using Temurin 17.0.10+7 and JavaFX 19.
ACTUAL -
JVM crash at javafx.stage.Stage.show()
---------- BEGIN SOURCE ----------
https://github.com/georgweiss/JavaFXCrash
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Update JavaFX or downgrade JDK
FREQUENCY : always
Mac OS 14.3.1 (Sonoma). Temurin JDK 17.0.10+7, JavaFX 19.
A DESCRIPTION OF THE PROBLEM :
Launching a JavaFX application, the JVM crashes when calling javafx.stage.Stage.show(), console output below.
Crash does not happen with:
* Temurin 17.0.8+7, Temurin 21 or Oracle JVM 17.0.10 and JavaFX 19
* Temurin 17.0.10+7 and JavaFX20
2024-03-17 09:11:59.334 java[22169:215159] *** Assertion failure in -[_NSTrackingAreaAKViewHelper removeTrackingRect:], _NSTrackingAreaAKManager.m:1781
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '0x0 is an invalid NSTrackingRectTag. Common possible reasons for this are: 1. already removed this trackingRectTag, 2. Truncated the NSTrackingRectTag to 32bit at some point.'
*** First throw call stack:
(
0 CoreFoundation 0x00007ff80ade9d76 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff80a8dc321 objc_exception_throw + 48
2 Foundation 0x00007ff80bdd2fc6 -[NSCalendarDate initWithCoder:] + 0
3 AppKit 0x00007ff80eb6cd82 -[_NSTrackingAreaAKViewHelper removeTrackingRect:] + 199
4 libglass.dylib 0x0000000132d75449 Java_com_sun_glass_ui_mac_MacApplication__1getMacKey + 3593
5 libglass.dylib 0x0000000132d7a038 Java_com_sun_glass_ui_mac_MacApplication__1getMacKey + 23032
6 AppKit 0x00007ff80e3c5752 -[NSView setFrame:] + 347
7 libglass.dylib 0x0000000132d7a095 Java_com_sun_glass_ui_mac_MacApplication__1getMacKey + 23125
8 AppKit 0x00007ff80e3d577e -[NSView resizeWithOldSuperviewSize:] + 827
9 AppKit 0x00007ff80e3d501f -[NSView resizeSubviewsWithOldSize:] + 503
10 AppKit 0x00007ff80e3b579b -[NSView setFrameSize:] + 1461
11 AppKit 0x00007ff80e3c5752 -[NSView setFrame:] + 347
12 AppKit 0x00007ff80e3d577e -[NSView resizeWithOldSuperviewSize:] + 827
13 AppKit 0x00007ff80e3d501f -[NSView resizeSubviewsWithOldSize:] + 503
14 AppKit 0x00007ff80e3b579b -[NSView setFrameSize:] + 1461
15 AppKit 0x00007ff80e3d3a80 -[NSThemeFrame setFrameSize:] + 466
16 AppKit 0x00007ff80e3d3186 -[NSWindow _oldPlaceWindow:fromServer:] + 811
17 AppKit 0x00007ff80e3d2053 -[NSWindow _setFrameCommon:display:fromServer:] + 3033
18 libglass.dylib 0x0000000132d6d27f getImage + 6799
19 libglass.dylib 0x0000000132d6ccec getImage + 5372
20 libglass.dylib 0x0000000132d6cf59 getImage + 5993
21 libglass.dylib 0x0000000132d842ce Java_com_sun_glass_ui_mac_MacWindow__1setBounds2 + 446
22 ??? 0x00000001207ea53a 0x0 + 4840138042
23 ??? 0x00000001207e642b 0x0 + 4840121387
24 ??? 0x00000001207e642b 0x0 + 4840121387
25 ??? 0x00000001207e642b 0x0 + 4840121387
26 ??? 0x00000001207e688f 0x0 + 4840122511
)
libc++abi: terminating due to uncaught exception of type NSException
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run simplest possible example at https://github.com/georgweiss/JavaFXCrash on Mac OS 14, using Temurin 17.0.10+7 and JavaFX 19.
ACTUAL -
JVM crash at javafx.stage.Stage.show()
---------- BEGIN SOURCE ----------
https://github.com/georgweiss/JavaFXCrash
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Update JavaFX or downgrade JDK
FREQUENCY : always
- duplicates
-
JDK-8296654 [macos] Crash when launching JavaFX app with JDK that targets SDK 13
- Resolved