Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-4298

[drlvm][thread]1 EUT testcase from teamcvs suite intermittently crashes since r549864

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • DRLVM
    • None
    • Windows XP/2003 ia32
    • Patch Available

    Description

      It looks that r549864 commit has introduced a regression: org.eclipse.team.tests.ccvs.core.subscriber.testConcurrentAccessToSyncSet testcase from Eclipse Unit Tests ('teamcvs' suite) intermittently crashes on Windows 2003 (x86) with the following output:

      [java] Windows reported exception: 0xc0000005
      [java] Registers:
      [java] EAX: 0x00410048, EBX: 0x140e9870, ECX: 0x000022a2, EDX: 0x00383f30
      [java] ESI: 0x16e3ed0c, EDI: 0x0b3943f0, ESP: 0x10d6fa78, EBP: 0x13f461f4
      [java] EIP: 0x1000430c
      [java] Stack trace:
      [java] 0: hythread_thin_monitor_exit (??:-1)
      [java] <end of stack trace>

      The testcase deals with synchronized resources, and probably the crash happens whyle adding ~1000-5000th element to the synchronized collection.

      To reproduce:

      Please follow instrcutions at http://wiki.apache.org/harmony/Eclipse_Unit_Tests_Pass_on_DRLVM#How_to_run_EUT.

      The test that fails is org.eclipse.team.tests.ccvs.core.subscriber.testConcurrentAccessToSyncSet, it belongs to the 'teamcvs' suite. Please note that this suite requires a test CVS repository. If you use Build&Test infrastructure scrips to run the suite, you will need to specify in the framework.local.properties file:

      eut.parameters.optional.testsr=teamcvs
      eut.parameters.optional.cvs_user=<the account used to connect to the cvs repository>
      eut.parameters.optional.cvs_password= <the account password>
      eut.parameters.optional.cvs_host=<the name of the cvs server>
      eut.parameters.optional.cvs_root=<the repository path>

      If you follow instructions on how to run a single test at http://wiki.apache.org/harmony/Eclipse_Unit_Tests_Pass_on_DRLVM#How_to_run_EUT you will need to do the following additional steps that are specific for this suite:

      When you perform step 4 ("Running the Test Suite from Eclipse SDK"):
      1. select "org.eclipse.team.tests.cvs.core" as test plug-in to import; if Eclipse reports compilation errors, please add 'eclipse-testing/eclipse/plugins/org.eclipse.core.filesystem*.jar' to the project's build path;
      2. modify file org.eclipse.team.tests.ccvs.core.CVSTestSetup.java: replace REPOSITORY_LOCATION = System.getProperty("eclipse.cvs.repository"); with REPOSITORY_LOCATION = ":pserver:cvs_username:cvs_password@cvs _host:cvs_root";
      3. select org.eclipse.team.tests.ccvs.core.AllTests as launching class

      Attachments

        1. H-4298.patch
          8 kB
          Ilya Berezhniuk
        2. H-4298.patch
          9 kB
          Ilya Berezhniuk

        Activity

          People

            wjwashburn Weldon Washburn
            nina Nina Rinskaya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment