You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Beliaev (JIRA)" <ji...@apache.org> on 2008/04/16 14:27:22 UTC
[jira] Created: (HARMONY-5744) [drlvm][jit][EUT] r645073 caused swt
crash - regression
[drlvm][jit][EUT] r645073 caused swt crash - regression
-------------------------------------------------------
Key: HARMONY-5744
URL: https://issues.apache.org/jira/browse/HARMONY-5744
Project: Harmony
Issue Type: Bug
Components: DRLVM
Environment: Windows, x86, release
Reporter: Vladimir Beliaev
Fix For: 5.0M6
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...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-5744) [drlvm][jit][EUT] r645073 caused swt
crash - regression
Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Beliaev updated HARMONY-5744:
--------------------------------------
Attachment: output.txt
I've attached the output which contains all crash dump information.
> [drlvm][jit][EUT] r645073 caused swt crash - regression
> -------------------------------------------------------
>
> Key: HARMONY-5744
> URL: https://issues.apache.org/jira/browse/HARMONY-5744
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows, x86, release
> Reporter: Vladimir Beliaev
> Fix For: 5.0M6
>
> Attachments: output.txt
>
>
> 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...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-5744) [drlvm][jit][EUT] r645073 caused swt
crash - regression
Posted by "Dmitry Pronichkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Pronichkin updated HARMONY-5744:
---------------------------------------
Attachment: arraycopy.patch
Hello, I've found the reason of crashes. Arraycopy code generation relied on the fact that jithelper call is the last in basic block. This presumption was wrong, the patch corrects arraycopy generation.
> [drlvm][jit][EUT] r645073 caused swt crash - regression
> -------------------------------------------------------
>
> Key: HARMONY-5744
> URL: https://issues.apache.org/jira/browse/HARMONY-5744
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows, x86, release
> Reporter: Vladimir Beliaev
> Assignee: Mikhail Fursov
> Fix For: 5.0M6
>
> Attachments: arraycopy.patch, output.txt
>
>
> 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...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-5744) [drlvm][jit][EUT] r645073 caused
swt crash - regression
Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikhail Fursov reassigned HARMONY-5744:
---------------------------------------
Assignee: Mikhail Fursov
> [drlvm][jit][EUT] r645073 caused swt crash - regression
> -------------------------------------------------------
>
> Key: HARMONY-5744
> URL: https://issues.apache.org/jira/browse/HARMONY-5744
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows, x86, release
> Reporter: Vladimir Beliaev
> Assignee: Mikhail Fursov
> Fix For: 5.0M6
>
> Attachments: output.txt
>
>
> 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...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-5744) [drlvm][jit][EUT] r645073 caused swt
crash - regression
Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Beliaev closed HARMONY-5744.
-------------------------------------
I've verified the resolution (on winx86) - works fine! Thanks!!!
> [drlvm][jit][EUT] r645073 caused swt crash - regression
> -------------------------------------------------------
>
> Key: HARMONY-5744
> URL: https://issues.apache.org/jira/browse/HARMONY-5744
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows, x86, release
> Reporter: Vladimir Beliaev
> Assignee: Mikhail Fursov
> Fix For: 5.0M6
>
> Attachments: arraycopy.patch, output.txt
>
>
> 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...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-5744) [drlvm][jit][EUT] r645073 caused
swt crash - regression
Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikhail Fursov resolved HARMONY-5744.
-------------------------------------
Resolution: Fixed
committed revision r649794
> [drlvm][jit][EUT] r645073 caused swt crash - regression
> -------------------------------------------------------
>
> Key: HARMONY-5744
> URL: https://issues.apache.org/jira/browse/HARMONY-5744
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Windows, x86, release
> Reporter: Vladimir Beliaev
> Assignee: Mikhail Fursov
> Fix For: 5.0M6
>
> Attachments: arraycopy.patch, output.txt
>
>
> 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...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.