Harmony
  1. Harmony
  2. HARMONY-1695

[DRLVM] Jitrino.OPT crashes on FormatterTest

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: DRLVM
    • Labels:
      None
    • Environment:
      debug gcc 3.3.3 DRLVM r452709
      SLES 9 32-bit SP2; CPU 2xXeon x64 (Clovertown B, 4cores)

      Description

      The Jitrino.OPT fails with segmentation fault on tests.api.java.util.FormatterTest.
      To reproduce:

      > java -cp junit.jar:$classlib/modules/luni/bin/test:$classlib/deploy/build/test/support.jar junit.textui.TestRunner tests.api.java.util.FormatterTest

      .....................................E....
      .....SIGSEGV in VM code.
      Stack trace:
      1: ?? (??:-1)
      <end of stack trace>
      Segmentation fault

      Note, there is an unexpected throwable happened in some testcase before other case crashed VM.

        Activity

        Hide
        Alexey Varlamov added a comment -

        Then I run all tests of "luni" module, slightly different message appears:

        drlvm/vm/gc/src/collect_slide_compact.cpp:542: void gc_slide_add_root_set_entry(Slot): Assertion `((uint32)refobj & 3) == 0' failed.
        [junit] SIGABRT in VM code.
        [junit] 1: ?? (??:-1)
        [junit] 2: raise (??:-1)
        [junit] 3: ?? (??:-1)
        [junit] 4: ?? (??:-1)
        [junit] 5: abort (??:-1)

        Show
        Alexey Varlamov added a comment - Then I run all tests of "luni" module, slightly different message appears: drlvm/vm/gc/src/collect_slide_compact.cpp:542: void gc_slide_add_root_set_entry(Slot): Assertion `((uint32)refobj & 3) == 0' failed. [junit] SIGABRT in VM code. [junit] 1: ?? (??:-1) [junit] 2: raise (??:-1) [junit] 3: ?? (??:-1) [junit] 4: ?? (??:-1) [junit] 5: abort (??:-1)
        Show
        Alexei Fedotov added a comment - Added to http://wiki.apache.org/harmony/Unit_Tests_Pass_on_DRLVM
        Hide
        Mikhail Fursov added a comment -

        I want to point to the http://issues.apache.org/jira/browse/HARMONY-1682 issue. It has a fix for a bug that is critical for GC.

        So if you have the a failure in GC with Jitrino.OPT and there is no failure with Jitrino.JET the H1682 could help.

        Show
        Mikhail Fursov added a comment - I want to point to the http://issues.apache.org/jira/browse/HARMONY-1682 issue. It has a fix for a bug that is critical for GC. So if you have the a failure in GC with Jitrino.OPT and there is no failure with Jitrino.JET the H1682 could help.
        Hide
        Egor Pasko added a comment -

        this test passes with the fix to HARMONY-1682 from Mikhail (jit_gc.diff). May be closed as duplicate

        Show
        Egor Pasko added a comment - this test passes with the fix to HARMONY-1682 from Mikhail (jit_gc.diff). May be closed as duplicate
        Hide
        Egor Pasko added a comment -

        with "jit_gc.diff" from HARMONY-1682 passes on both JET and OPT

        Show
        Egor Pasko added a comment - with "jit_gc.diff" from HARMONY-1682 passes on both JET and OPT
        Hide
        Geir Magnusson Jr added a comment -

        Fixed, apparently by HARMONY-1682

        Show
        Geir Magnusson Jr added a comment - Fixed, apparently by HARMONY-1682

          People

          • Assignee:
            Geir Magnusson Jr
            Reporter:
            Alexey Varlamov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development