My JavaFX app using JavaFX 13 on OpenJDK 12.0.2 crashes every time I close my main window. I’m not 100% sure if it is a JavaFX issue, but just in case here’s a stack trace. I see libglass.dylib, though it is a few frames away from the crash point.:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff6a488726 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff6a549082 _pthread_cond_wait + 701 2 libjvm.dylib 0x000000010ffe32d2 os::PlatformEvent::park() + 126 3 libjvm.dylib 0x000000010ffb95c2 Monitor::ILock(Thread*) + 152 4 libjvm.dylib 0x000000010ffb9a59 Monitor::lock_without_safepoint_check() + 33 5 libjvm.dylib 0x0000000110049e5a SafepointSynchronize::block(JavaThread*) + 324 6 libjvm.dylib 0x00000001100e45f0 JavaThread::check_safepoint_and_suspend_for_native_trans(JavaThread*) + 162 7 libjvm.dylib 0x000000010fdd9d12 jni_NewStringUTF + 142 8 libglass.dylib 0x00000001370c6cf9 +[GlassHelper ClassForName:withEnv:] + 185 9 libglass.dylib 0x00000001370b3d71 -[GlassTouches(hidden) sendJavaTouchEvent:] + 1441 10 libglass.dylib 0x00000001370b3721 listenTouchEvents + 97 11 com.apple.SkyLight 0x00007fff6111fdc0 processEventTapData(void*, unsigned int, unsigned int, unsigned int, unsigned char*, unsigned int) + 631 12 com.apple.SkyLight 0x00007fff61282680 _XPostEventTapData + 277 13 com.apple.SkyLight 0x00007fff6111faeb eventTapMessageHandler(__CFMachPort*, void*, long, void*) + 147 14 com.apple.CoreFoundation 0x00007fff32d9cfd3 __CFMachPortPerform + 250 15 com.apple.CoreFoundation 0x00007fff32d9cecf __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41 16 com.apple.CoreFoundation 0x00007fff32d9ce1f __CFRunLoopDoSource1 + 541 17 com.apple.CoreFoundation 0x00007fff32d84d7c __CFRunLoopRun + 2612 18 com.apple.CoreFoundation 0x00007fff32d840c3 CFRunLoopRunSpecific + 499 19 com.apple.HIToolbox 0x00007fff31911f2d RunCurrentEventLoopInMode + 292 20 com.apple.HIToolbox 0x00007fff31911c6d ReceiveNextEventCommon + 600 21 com.apple.HIToolbox 0x00007fff319119f7 _BlockUntilNextEventMatchingListInModeWithFilter + 64 22 com.apple.AppKit 0x00007fff2ffbbee4 _DPSNextEvent + 990 23 com.apple.AppKit 0x00007fff2ffbac50 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352 24 com.apple.AppKit 0x00007fff2ffb5395 -[NSApplication run] + 658 25 libglass.dylib 0x00000001370a7e0c -[GlassApplication runLoop:] + 1932 26 com.apple.Foundation 0x00007fff3553f89a __NSThreadPerformPerform + 254 27 com.apple.CoreFoundation 0x00007fff32da1cd1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 28 com.apple.CoreFoundation 0x00007fff32da1c70 __CFRunLoopDoSource0 + 103 29 com.apple.CoreFoundation 0x00007fff32d85234 __CFRunLoopDoSources0 + 209 30 com.apple.CoreFoundation 0x00007fff32d84840 __CFRunLoopRun + 1272 31 com.apple.CoreFoundation 0x00007fff32d840c3 CFRunLoopRunSpecific + 499 32 libjli.dylib 0x000000010e833444 CreateExecutionEnvironment + 400 33 libjli.dylib 0x000000010e82f5b7 JLI_Launch + 1311 34 java 0x000000010e824ca1 main + 375 35 libdyld.dylib 0x00007fff6a33c2a5 start + 1 Regards, Scott