Harmony
  1. Harmony
  2. HARMONY-1675

Classlib test org/apache/harmony/luni/tests/java/lang/ThreadGroupTest craches VM

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Classlib test org/apache/harmony/luni/tests/java/lang/ThreadGroupTest craches on
      2xXeon x64 (Woodcrest B, 2cores) / Bensley SDV, RAM: 4096MB, HDD: 120GB
      OS Windows 2003 32-bit SP1

      with the folloing assertion:
      ...vm\thread\src\thread_native_suspend.c

      Line: 352

      Expression: status == TM_ERROR_NONE

      To reproduce the issue please run
      ant -Dtest.jre.home=%DRLVM_HOME% -Dbuild.module=luni -Dtest.case=org.apache.harmony.luni.tests.java.lang.ThreadGroupTest test

      NOTE: sometimes test passes. Could not reproduce on Windows XP.

      I'll also attach a small standalone test to reproduce the issue.
      This standalone test sometimes fails on linux in the following way:

      java: /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_suspend.c:352: hythread_set_safepoint_callback: Assertion `status == (0)' failed.
      SIGABRT in VM code.
      Stack trace:
      1: ?? (??:-1)
      2: raise (??:-1)
      3: ?? (??:-1)
      4: ?? (??:-1)
      5: abort (??:-1)
      <end of stack trace>
      Aborted

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Elena Semukhina
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development