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

mac crashes on test suite

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • fx2.1
    • fx2.0
    • javafx
    • mac os x, b47

      java version "1.6.0_26"
      Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
      Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)

    • web

    Description

      download test suite: http://jcsqe.russia.sun.com/java-client-maccrash.zip
      unzip attach, run next commands (adjust path to sdk to your installation)
      sources can be found in the same zip

      cd java-client/RenderingTests
      java -Djava.library.path=/Users/javafx/sdk-b47/rt -Dimageutils.outputpath=../RenderingTests/build/ -javaagent:../lib/jcov.jar=include=com.javafx.*,include=com.sun.javafx.*,include=javafx.*,include=com.sun.scenario.*,include=com.sun.mat.*,include=com.sun.prism.*,type=all,file=jcov-results/test.rendering.functional.maths.shapes.CircleTest.manual/CircleTest.html.xml -classpath ../lib/javatest.jar:../lib/HtmlTestRunner.jar:../ClientTestRunner/dist/ClientTestRunner.jar:../RenderingTests/build/test/classes:../SharedTestUtils/dist/SharedTestUtils.jar:../lib/JemmyAWTInput.jar:../Jemmy/JemmyJC/dist/JemmyJC.jar:../lib/JemmyCore.jar:/Users/javafx/sdk-b47/rt/lib/jfxrt.jar:../lib/jcov_j2se_rt.jar:../lib/junit-4.8.jar:../RenderingTests/build/classes client.test.runner.TestRunner --debug test.rendering.functional.maths.shapes.CircleTest manual/CircleTest.html

      next crash is shown:


      debug mode
      Test done.
      1ms: AbstractTestRunner: starting UI ...
      runUI
      isvalid
      309ms: Calling test.rendering.functional.maths.shapes.CircleTest.runUI
      starting Jemmy waiter
      Loading jemmy properties from /Users/javafx/.jemmy.properties
      Property file /Users/javafx/.jemmy.properties does not exists. Ignoring.
      Input factory set to org.jemmy.input.AWTRobotInputFactory@7b9d142f
      Tue Sep 27 19:26:28 dhcp-stpetersburg-4fl-10-162-85-128.ru.oracle.com java[25487] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
      2011-09-27 19:26:28.559 java[25487:bb03] invalid CoreGraphics connection
      2011-09-27 19:26:28.563 java[25487:bb03] invalid CoreGraphics connection
      ES2Pipeline.isSupported factory.shutdown() took 0 ms [0.0 sec]
      start
      Click Ctrl-Shift-B to run FX Browser.
      added browser
      added vbox
      starting setup
      2011-09-27 19:26:31.300 java[25487:1707] An uncaught exception was raised
      2011-09-27 19:26:31.301 java[25487:1707] Error (1002) creating CGSWindow
      2011-09-27 19:26:31.313 java[25487:1707] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1002) creating CGSWindow'
      *** Call stack at first throw:
      (
      0 CoreFoundation 0x00007fff80a4d7b4 __exceptionPreprocess + 180
      1 libobjc.A.dylib 0x00007fff81787f03 objc_exception_throw + 45
      2 CoreFoundation 0x00007fff80a4d5d7 +[NSException raise:format:arguments:] + 103
      3 CoreFoundation 0x00007fff80a4d564 +[NSException raise:format:] + 148
      4 AppKit 0x00007fff82162f52 _NSCreateWindowWithOpaqueShape2 + 473
      5 AppKit 0x00007fff820f7691 -[NSWindow _commonAwake] + 1214
      6 AppKit 0x00007fff820f4376 -[NSWindow _commonInitFrame:styleMask:backing:defer:] + 1501
      7 AppKit 0x00007fff820f3002 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1396
      8 AppKit 0x00007fff821218fa -[NSPanel _initContent:styleMask:backing:defer:contentView:] + 55
      9 AppKit 0x00007fff820f2a8b -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
      10 AppKit 0x00007fff821218b1 -[NSPanel initWithContentRect:styleMask:backing:defer:] + 82
      11 AppKit 0x00007fff826f33ad -[NSWindow initWithContentRect:styleMask:backing:defer:screen:] + 68
      12 libmat.jnilib 0x000000010c715a4e -[GlassWindow _initWithContentRect:styleMask:screen:jwindow:] + 107
      13 libmat.jnilib 0x000000010c714ade Do_com_sun_glass_ui_mac_MacWindow__1createWindow + 240
      14 libmat.jnilib 0x000000010c718427 Java_com_sun_glass_ui_mac_MacWindow__1createWindow + 397
      15 ??? 0x0000000103811d6e 0x0 + 4353760622
      16 ??? 0x0000000103806929 0x0 + 4353714473
      )
      terminate called after throwing an instance of 'NSException'
      Abort trap

      Attachments

        Issue Links

          Activity

            People

              sgrinev Sergey Grinev (Inactive)
              sgrinev Sergey Grinev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: