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

Sequental execution of two JCK tests cause JCK agent crash in AWT thread -server -Xcomp

XMLWordPrintable

    • x86
    • windows_xp

      Steps to reproduce:
      I have to admit I see no better idea then just filling interview and performing execution manually.

      1. install JCK-runtime-7 b10 and JCK-extra-7 b10
      2. Do command (substitute your real values) C:\jck\jck_b10>java -Xmx1024m -jar C:\jck\jck_b10\JCK-runtime-7\lib\jtjck.jar -g -JDK C:\jck\jck_b10\jdk1.7.0
      3. Go to JCK interview and remove all exclude lists.
      4. Run active agent (substitute real values) with command

      "$PRODUCT/bin/java" -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m -Xfuture -cp "$PRODUCT/lib;$PRODUCT/lib/rt.jar;$TEST_SUITE/classes;$TEST_SUITE/lib/javatest.jar;$PRODUCT/lib/tools.jar" \
          "-Djava.security.policy=$TEST_SUITE/lib/jck.policy" \
          "-Djava.security.auth.policy=$TEST_SUITE/lib/java.auth.policy" \
          "-Djava.security.auth.login.config=$TEST_SUITE/lib/java.login.config" \
          "-Duser.home=$HOME" \
          "-Djava.ext.dirs=$TEST_SUITE/lib/extensions;${PRODUCT}/lib/ext;${PRODUCT}/jre/lib/ext " \
          -showversion \
          com.sun.javatest.agent.AgentMain \
          -active -activeHost 127.0.0.1 -activePort 1907 -concurrency 10

      5. Edit configuration, set Test Execution Mode to "SameJVM" and fill several outstanding questions
      6. Go to tools/agent monitor menu item and check "listening" checkbox.
      7. Find and execute api/java_awt/awt_focus_subsystem/focus_propertychangelistener/index.html#PropertyChangeListener3 ;test will pass
      8. Find and execute api/java_awt/awt_focus_subsystem/focusable_windows/index.html#FocusableWindow3
      test status wil be set to error; agent will crash.
      JCK : JCK7 b10
      J2SE : FAIL - JDK 7 b45
      Platform[s] : FAIL - found on Windows XP
      switch/Mode : FAIL - -server -Xcomp

      Platform details:
      OS: Windows XP Build 2600 Service Pack 3
      CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
      Memory: 4k page, physical 2096172k(192712k free), swap 4034284k(1564144k free)


      Two tests:
      api/java_awt/awt_focus_subsystem/focus_propertychangelistener/index.html\#PropertyChangeListener3
      and api/java_awt/awt_focus_subsystem/focusable_windows/index.html\#FocusableWindow3
      cause crash of JCK agent if performed sequentially. Agent doesn't crash if only one test is performed.

            dcherepanov Dmitry Cherepanov
            pastepan Pavel Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: