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

New MacBook Pro Touch Bar causes JavaFX to crash

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      os_x

      Description

      FULL PRODUCT VERSION :
      1.8.0_122-ea

      ADDITIONAL OS VERSION INFORMATION :
      OS X on 2016+ Mac Book Pro with Touch Bar

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Mac Book Pro with Touch Bar

      A DESCRIPTION OF THE PROBLEM :
      On touching the touch bar, the JVM will crash and will have a native stack trace with the following error message:

      Cannot get normalizedPosition for this type of NSTouch
      abort() called

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Launch any javafx app on a Macbook Pro with a touch bar and then touch the touch bar.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The JVM shouldn't crash

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Process: tastyworks [2426]
      Path: /Applications/tastyworks.app/Contents/MacOS/tastyworks
      Identifier: com.tastyworks.desktop
      Version: 0.8.0 (100)
      Code Type: X86-64 (Native)
      Parent Process: ??? [1]
      Responsible: tastyworks [2426]
      User ID: 503

      Date/Time: 2017-03-14 15:23:49.866 -0500
      OS Version: Mac OS X 10.12.3 (16D32)
      Report Version: 12
      Anonymous UUID: 0FB5D02E-205F-2AAF-7829-40428D48F8AB

      Sleep/Wake UUID: 2939B78A-120F-49B2-8C75-E682D74580FE

      Time Awake Since Boot: 29000 seconds
      Time Since Wake: 2200 seconds

      System Integrity Protection: enabled

      Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread

      Exception Type: EXC_BAD_INSTRUCTION (SIGABRT)
      Exception Codes: 0x0000000000000001, 0x0000000000000000
      Exception Note: EXC_CORPSE_NOTIFY

      Application Specific Information:
      Crashing on exception: Cannot get normalizedPosition for this type of NSTouch
      abort() called

      Application Specific Backtrace 1:
      0 CoreFoundation 0x00007fffb0ce8e7b __exceptionPreprocess + 171
      1 libobjc.A.dylib 0x00007fffc58d2cad objc_exception_throw + 48
      2 CoreFoundation 0x00007fffb0cedb82 +[NSException raise:format:arguments:] + 98
      3 Foundation 0x00007fffb2737d50 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
      4 AppKit 0x00007fffaeadc44d -[NSTouch normalizedPosition] + 155
      5 libglass.dylib 0x00000001100a90e7 -[GlassTouches(hidden) sendJavaTouchEvent:] + 2023
      6 libglass.dylib 0x00000001100a884c listenTouchEvents + 92
      7 SkyLight 0x00007fffc26c2e80 processDecodedEventRef + 204
      8 SkyLight 0x00007fffc26c266a processEventTapData + 544
      9 SkyLight 0x00007fffc256dcb0 _XPostEventTapData + 280
      10 SkyLight 0x00007fffc26c23f4 eventTapMessageHandler + 137
      11 CoreFoundation 0x00007fffb0c677dd __CFMachPortPerform + 253
      12 CoreFoundation 0x00007fffb0c676c9 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
      13 CoreFoundation 0x00007fffb0c67641 __CFRunLoopDoSource1 + 465
      14 CoreFoundation 0x00007fffb0c5f525 __CFRunLoopRun + 2389
      15 CoreFoundation 0x00007fffb0c5e974 CFRunLoopRunSpecific + 420
      16 HIToolbox 0x00007fffb01eaa5c RunCurrentEventLoopInMode + 240
      17 HIToolbox 0x00007fffb01ea891 ReceiveNextEventCommon + 432
      18 HIToolbox 0x00007fffb01ea6c6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
      19 AppKit 0x00007fffae7905b4 _DPSNextEvent + 1120
      20 AppKit 0x00007fffaef0ad6b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2789
      21 libjxbrowser-chromium-lib.dylib 0x0000000126b200e0 _ZN4base24MessagePumpNSApplication5DoRunEPNS_11MessagePump8DelegateE + 256
      22 libjxbrowser-chromium-lib.dylib 0x0000000126b1f73c _ZN4base24MessagePumpCFRunLoopBase3RunEPNS_11MessagePump8DelegateE + 92
      23 libjxbrowser-chromium-lib.dylib 0x0000000126b37b51 _ZN4base7RunLoop3RunEv + 113
      24 libjxbrowser-chromium-lib.dylib 0x0000000125828e6d _ZN3jxb18BrowserMessageLoop14RunMessageLoopEv + 29
      25 libjxbrowser-chromium-lib.dylib 0x0000000125844b73 jxb_main + 131
      26 libjxbrowser-common64-fda462ff-25c3-4428-9bce-172ba33b61ec.dylib 0x000000012529e4c1 +[StartIPCTask runTask:] + 545
      27 Foundation 0x00007fffb26c288a __NSThreadPerformPerform + 326
      28 CoreFoundation 0x00007fffb0c7e981 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      29 CoreFoundation 0x00007fffb0c5fa7d __CFRunLoopDoSources0 + 557
      30 CoreFoundation 0x00007fffb0c5ef76 __CFRunLoopRun + 934
      31 CoreFoundation 0x00007fffb0c5e974 CFRunLoopRunSpecific + 420
      32 HIToolbox 0x00007fffb01eaa5c RunCurrentEventLoopInMode + 240
      33 HIToolbox 0x00007fffb01ea891 ReceiveNextEventCommon + 432
      34 HIToolbox 0x00007fffb01ea6c6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
      35 AppKit 0x00007fffae7905b4 _DPSNextEvent + 1120
      36 AppKit 0x00007fffaef0ad6b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2789
      37 AppKit 0x00007fffae784f35 -[NSApplication run] + 926
      38 libglass.dylib 0x000000011009640c -[GlassApplication runLoop:] + 1836
      39 Foundation 0x00007fffb26c288a __NSThreadPerformPerform + 326
      40 CoreFoundation 0x00007fffb0c7e981 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      41 CoreFoundation 0x00007fffb0c5fa7d __CFRunLoopDoSources0 + 557
      42 CoreFoundation 0x00007fffb0c5ef76 __CFRunLoopRun + 934
      43 CoreFoundation 0x00007fffb0c5e974 CFRunLoopRunSpecific + 420
      44 libjli.dylib 0x0000000108af08fd CreateExecutionEnvironment + 871
      45 libjli.dylib 0x0000000108aec624 JLI_Launch + 1952
      46 libpackager.dylib 0x00000001071b14c7 _ZN11JavaLibrary12JavaVMCreateEmPPc + 183
      47 libpackager.dylib 0x00000001071aedb1 _ZN18JavaVirtualMachine8StartJVMEv + 3457
      48 libpackager.dylib 0x00000001071adf60 _Z5RunVMv + 16
      49 libpackager.dylib 0x00000001071bb81f start_launcher + 1791
      50 tastyworks 0x000000010711fcd9 main + 217
      51 tastyworks 0x000000010711fbf4 start + 52
      52 ??? 0x0000000000000001 0x0 + 1

      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pmangal Priyanka Mangal (Inactive)
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: