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

[Mac] JVM crash in what seems to be native menu init

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • MacOS 10.8.2
      FX 8.0 Hudson master b89
      Java 7 U12 promoted b03 (by the way I get similar crash when using Java 8 promoted b66)

      The crash below seems Mac specific (doesn't occur on Win).

      2012-12-04 15:48:50.486 java[5877:707] *** Assertion failure in -[NSMenuItem initWithTitle:action:keyEquivalent:], /SourceCache/AppKit/AppKit-1187.34/Menus.subproj/NSMenuItem.m:319
      2012-12-04 15:48:50.486 java[5877:707] Apple AWT Internal Exception: Invalid parameter not satisfying: aString != nil
      2012-12-04 15:48:50.487 java[5877:707] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: aString != nil'
      *** First throw call stack:
      (
      0 CoreFoundation 0x00007fff85b560a6 __exceptionPreprocess + 198
      1 libobjc.A.dylib 0x00007fff885953f0 objc_exception_throw + 43
      2 CoreFoundation 0x00007fff85b55ee8 +[NSException raise:format:arguments:] + 104
      3 Foundation 0x00007fff85cb96a2 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
      4 AppKit 0x00007fff8795f572 -[NSMenuItem initWithTitle:action:keyEquivalent:] + 143
      5 libglass.dylib 0x0000000159e85c3c -[GlassMenu initWithJavajdelegate:jtitle:jshortcut:jmodifiers:jicon:jenabled:jchecked:jcallback:] + 316
      6 libglass.dylib 0x0000000159e85fe3 Do_com_sun_glass_ui_mac_MacMenuDelegate__1createMenuItem + 115
      7 libglass.dylib 0x0000000159e8739a Java_com_sun_glass_ui_mac_MacMenuDelegate__1createMenuItem + 394
      8 ??? 0x000000010ad77cd8 0x0 + 4476861656
      9 ??? 0x000000010ad6b175 0x0 + 4476809589
      )
      libc++abi.dylib: terminate called throwing an exception
      Java Result: 134

            anthony Anthony Petrov (Inactive)
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: