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

[drlvm][jit][EUT] r645073 caused swt crash - regression

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0M6
    • DRLVM
    • None
    • Windows, x86, release

    Description

      EUT/swt suite started crashing since r645073 (Fix for HARMONY-3584 [dlrvm][jit][opt] arrayfolding implementation in guarded manner).

      To reproduce the issue please follow the instruction at: http://wiki.apache.org/harmony/Eclipse_Unit_Tests (in particular, step #1 and #2). The resulted command will look like:

      ant -Dext.ant-contrib.location=ant-contrib-1.0b3.jar -Dtests=swt -Dtest.jre.home=<path to harmony jdk>

      The suite runs about 10 minues, then it gives the stack dump which looks like:

      [java] Stack trace:
      [java] 0: (:-1)
      [java] 1: org/eclipse/swt/internal/image/JPEGDecoder::jinit_master_decompress ((Lorg/eclipse/swt/internal/image/JPEGDecoder$jpeg_decompress_struct;)V): JPEGDecoder.java:3384
      [java] 2: org/eclipse/swt/internal/image/JPEGDecoder::jpeg_start_decompress ((Lorg/eclipse/swt/internal/image/JPEGDecod
      .... more swt frames ....
      [java] 26: org/eclipse/test/CoreTestApplication::run ((Ljava/lang/Object;)Ljava/lang/Object: CoreTestApplication.java:31
      [java] 27: (:-1)
      [java] 28: JIT_execute_method_default (:-1)
      [java] 29: EmInitialize (:-1)
      [java] 30: (:-1)
      [java] 31: vm_execute_java_method_array (:-1)
      [java] 32: ?CallObjectMethodA@@YGPAU_jobject@@PAUJNIEnv_External@@PAU1@PAU_jmethodID@@PATjvalue@@@Z (:-1)
      [java] 33: ?enumerate@NativeObjectHandles@@QAEXXZ (:-1)
      [java] 34: _Java_java_lang_reflect_VMReflection_invokeMethod@24 (:-1)
      [java] 35: stub::unknown
      [java] 36: java/lang/reflect/Method::invoke ((Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object: Method.java:317
      ... and so on...

      Attachments

        1. arraycopy.patch
          1 kB
          Dmitry Pronichkin
        2. output.txt
          22 kB
          Vladimir Beliaev

        Activity

          People

            mfursov Mikhail Fursov
            vbeliaev Vladimir Beliaev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: