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

Mac: Assertion failure in AppKit NSEvent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7u10
    • javafx
    • None

      Application wrote the error below to stderr when "Command Tab'ing" to it from another app. App continued to run, but thought I'd log the bug anyway.

      Was not able to reproduce, so consider this informational.

      2012-12-28 09:39:46.148 java[3744:707] unrecognized type is -2
      2012-12-28 09:39:46.148 java[3744:707] *** Assertion failure in -[NSEvent _initWithCGSEvent:eventRef:], /SourceCache/AppKit/AppKit-1187.34/AppKit.subproj/NSEvent.m:1348
      2012-12-28 09:39:46.149 java[3744:707] Invalid parameter not satisfying: cgsEvent.type > 0 && cgsEvent.type <= kCGSLastEventType
      2012-12-28 09:39:46.177 java[3744:707] (
      0 CoreFoundation 0x00007fff926aa0a6 __exceptionPreprocess + 198
      1 libobjc.A.dylib 0x00007fff8fff63f0 objc_exception_throw + 43
      2 CoreFoundation 0x00007fff926a9ee8 +[NSException raise:format:arguments:] + 104
      3 Foundation 0x00007fff90ed96a2 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
      4 AppKit 0x00007fff8c10c56c -[NSEvent _initWithCGSEvent:eventRef:] + 2782
      5 AppKit 0x00007fff8c38d3ea +[NSEvent eventWithCGEvent:] + 243
      6 libglass.dylib 0x000000015d15e02f listenTouchEvents + 31
      7 CoreGraphics 0x00007fff8f8550d9 processEventTapData + 150
      8 CoreGraphics 0x00007fff8f854f2c _CGYPostEventTapData + 189
      9 CoreGraphics 0x00007fff8f7b455d _XPostEventTapData + 107
      10 CoreGraphics 0x00007fff8f7b4655 CGYEventTap_server + 106
      11 CoreGraphics 0x00007fff8f85501a eventTapMessageHandler + 30
      12 CoreFoundation 0x00007fff92619410 __CFMachPortPerform + 288
      13 CoreFoundation 0x00007fff926192d9 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
      14 CoreFoundation 0x00007fff92619019 __CFRunLoopDoSource1 + 153
      15 CoreFoundation 0x00007fff9264c19f __CFRunLoopRun + 1775
      16 CoreFoundation 0x00007fff9264b6b2 CFRunLoopRunSpecific + 290
      17 HIToolbox 0x00007fff92a450a4 RunCurrentEventLoopInMode + 209
      18 HIToolbox 0x00007fff92a44e42 ReceiveNextEventCommon + 356
      19 HIToolbox 0x00007fff92a44cd3 BlockUntilNextEventMatchingListInMode + 62
      20 AppKit 0x00007fff8c02d613 _DPSNextEvent + 685
      21 AppKit 0x00007fff8c02ced2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
      22 AppKit 0x00007fff8c024283 -[NSApplication run] + 517
      23 libglass.dylib 0x000000015d14b4e9 -[GlassApplication runLoop:] + 777
      24 Foundation 0x00007fff90f5f677 __NSThreadPerformPerform + 225
      25 CoreFoundation 0x00007fff92629101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      26 CoreFoundation 0x00007fff92628a25 __CFRunLoopDoSources0 + 245
      27 CoreFoundation 0x00007fff9264bdc5 __CFRunLoopRun + 789
      28 CoreFoundation 0x00007fff9264b6b2 CFRunLoopRunSpecific + 290
      29 java 0x000000010592442d CreateExecutionEnvironment + 871
      30 java 0x000000010591ebdc JLI_Launch + 1952
      31 java 0x000000010592478a main + 101
      32 java 0x000000010591e434 start + 52
      33 ??? 0x0000000000000008 0x0 + 8
      )

            pchelko Petr Pchelko (Inactive)
            sfitchjfx Simeon H.K. Fitch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: