Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8211137

[macOS] JVM Crash when using touch pad on macOS 10.14

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • jfx11
    • javafx
    • None
    • macOS 10.14

      Java 11

      JavaFX 11

      Mid 2015 MacBook Pro

      Running my JavaFX application with JavaFX 11 on OpenJDK 11 I run into the following crash sometimes when a child stage is shown:

      2018-09-25 20:19:43.811 java[36687:13092655] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: _type > 0 && _type <= kCGSLastEventType'
      *** First throw call stack:
      (
              0 CoreFoundation 0x00007fff51e6743d __exceptionPreprocess + 256
              1 libobjc.A.dylib 0x00007fff7dd74720 objc_exception_throw + 48
              2 CoreFoundation 0x00007fff51e8208e +[NSException raise:format:arguments:] + 98
              3 Foundation 0x00007fff5421e55d -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
              4 AppKit 0x00007fff4f30dacd -[NSEvent _initWithCGEvent:eventRef:] + 3272
              5 AppKit 0x00007fff4f661188 +[NSEvent eventWithCGEvent:] + 120
              6 libglass.dylib 0x0000000130a98f3b listenTouchEvents + 59
              7 SkyLight 0x00007fff77e32782 _ZL19processEventTapDataPvjjjPhj + 148
              8 SkyLight 0x00007fff77d31bb2 _XPostEventTapData + 278
              9 SkyLight 0x00007fff77e32690 _ZL22eventTapMessageHandlerP12__CFMachPortPvlS1_ + 132
              10 CoreFoundation 0x00007fff51dc5a5b __CFMachPortPerform + 246
              11 CoreFoundation 0x00007fff51dc5959 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
              12 CoreFoundation 0x00007fff51dc58b7 __CFRunLoopDoSource1 + 527
              13 CoreFoundation 0x00007fff51dad945 __CFRunLoopRun + 2574
              14 CoreFoundation 0x00007fff51dacce4 CFRunLoopRunSpecific + 463
              15 HIToolbox 0x00007fff51046895 RunCurrentEventLoopInMode + 293
              16 HIToolbox 0x00007fff510465cb ReceiveNextEventCommon + 618
              17 HIToolbox 0x00007fff51046348 _BlockUntilNextEventMatchingListInModeWithFilter + 64
              18 AppKit 0x00007fff4f30395b _DPSNextEvent + 997
              19 AppKit 0x00007fff4f3026fa -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362
              20 AppKit 0x00007fff4f54ed6a -[NSApplication _doModalLoop:peek:] + 418
              21 AppKit 0x00007fff4f54d7e0 __35-[NSApplication runModalForWindow:]_block_invoke_2 + 64
              22 AppKit 0x00007fff4f54d78d __35-[NSApplication runModalForWindow:]_block_invoke + 73
              23 AppKit 0x00007fff4f54cff8 _NSTryRunModal + 100
              24 AppKit 0x00007fff4f54cedb -[NSApplication runModalForWindow:] + 128
              25 AppKit 0x00007fff4fa6973f -[NSPrintPanel runModalWithPrintInfo:] + 534
              26 libawt_lwawt.dylib 0x00000001374804bd __25-[PrintModel runJobSetup]_block_invoke + 62
              27 Foundation 0x00007fff541a2cdb __NSThreadPerformPerform + 327
              28 CoreFoundation 0x00007fff51dca405 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
              29 CoreFoundation 0x00007fff51dca3ab __CFRunLoopDoSource0 + 108
              30 CoreFoundation 0x00007fff51dade51 __CFRunLoopDoSources0 + 195
              31 CoreFoundation 0x00007fff51dad3fa __CFRunLoopRun + 1219
              32 CoreFoundation 0x00007fff51dacce4 CFRunLoopRunSpecific + 463
              33 Foundation 0x00007fff5410d5da -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280
              34 libglass.dylib 0x0000000130a8d9f5 +[GlassApplication enterNestedEventLoopWithEnv:] + 165
              35 libglass.dylib 0x0000000130a8e48a Java_com_sun_glass_ui_mac_MacApplication__1enterNestedEventLoopImpl + 74
              36 ??? 0x00000001146ef950 0x0 + 4637784400
      )
      libc++abi.dylib: terminating with uncaught exception of type NSException

            kcr Kevin Rushforth
            swpalmer Scott Palmer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: