You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Aleksey Ignatenko (JIRA)" <ji...@apache.org> on 2007/04/17 12:31:16 UTC
[jira] Created: (HARMONY-3675) [drlvm]
vm.classloading.ClassAttributeTest reliability test fails with assertion
[drlvm] vm.classloading.ClassAttributeTest reliability test fails with assertion
--------------------------------------------------------------------------------
Key: HARMONY-3675
URL: https://issues.apache.org/jira/browse/HARMONY-3675
Project: Harmony
Issue Type: Bug
Components: DRLVM
Reporter: Aleksey Ignatenko
2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably fail when number of thread = 2).
Stack trace:
harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0, unsigned int lineno=788) Line 295 C
> harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000) Line 788 + 0x1a C++
harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable * table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8) Line 53 + 0xd C++
harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External * jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680) Line 76 + 0x1f C++
0360ce46()
harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=) Line 455 + 0xa C++
To reproduce one needs to
1. modify run/run.normal.mode.settings.xml:
-<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
-<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
-<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
+<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
2. compile reliability suit
3. cd run folder, execute "ant -f run.xml run.vm"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3675) [drlvm][reflection]
vm.classloading.ClassAttributeTest reliability test fails with assertion
Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksey Ignatenko updated HARMONY-3675:
---------------------------------------
Description:
2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably fail when number of thread = 2).
Stack trace:
harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0, unsigned int lineno=788) Line 295 C
> harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000) Line 788 + 0x1a C++
harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable * table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8) Line 53 + 0xd C++
harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External * jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680) Line 76 + 0x1f C++
0360ce46()
harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=) Line 455 + 0xa C++
To reproduce one needs to
1. modify run/run.normal.mode.settings.xml:
-<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
-<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
-<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
+<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
2. compile reliability suit
3. cd run folder, execute "ant -f run.xml run.vm"
Checked and reproduced on WinIA32 only.
was:
2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably fail when number of thread = 2).
Stack trace:
harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0, unsigned int lineno=788) Line 295 C
> harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000) Line 788 + 0x1a C++
harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable * table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8) Line 53 + 0xd C++
harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External * jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680) Line 76 + 0x1f C++
0360ce46()
harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=) Line 455 + 0xa C++
To reproduce one needs to
1. modify run/run.normal.mode.settings.xml:
-<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
-<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
-<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
+<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
2. compile reliability suit
3. cd run folder, execute "ant -f run.xml run.vm"
> [drlvm][reflection] vm.classloading.ClassAttributeTest reliability test fails with assertion
> --------------------------------------------------------------------------------------------
>
> Key: HARMONY-3675
> URL: https://issues.apache.org/jira/browse/HARMONY-3675
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Aleksey Ignatenko
>
> 2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably fail when number of thread = 2).
> Stack trace:
> harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0, unsigned int lineno=788) Line 295 C
> > harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000) Line 788 + 0x1a C++
> harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable * table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8) Line 53 + 0xd C++
> harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External * jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680) Line 76 + 0x1f C++
> 0360ce46()
> harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=) Line 455 + 0xa C++
> To reproduce one needs to
> 1. modify run/run.normal.mode.settings.xml:
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
> -<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
> +<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
> 2. compile reliability suit
> 3. cd run folder, execute "ant -f run.xml run.vm"
> Checked and reproduced on WinIA32 only.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3675) [drlvm][classloader]
vm.classloading.ClassAttributeTest reliability test fails with assertion
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky updated HARMONY-3675:
---------------------------------------
Summary: [drlvm][classloader] vm.classloading.ClassAttributeTest reliability test fails with assertion (was: [drlvm][reflection] vm.classloading.ClassAttributeTest reliability test fails with assertion)
> [drlvm][classloader] vm.classloading.ClassAttributeTest reliability test fails with assertion
> ---------------------------------------------------------------------------------------------
>
> Key: HARMONY-3675
> URL: https://issues.apache.org/jira/browse/HARMONY-3675
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Aleksey Ignatenko
>
> 2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably fail when number of thread = 2).
> Stack trace:
> harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0, unsigned int lineno=788) Line 295 C
> > harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000) Line 788 + 0x1a C++
> harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable * table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8) Line 53 + 0xd C++
> harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External * jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680) Line 76 + 0x1f C++
> 0360ce46()
> harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=) Line 455 + 0xa C++
> To reproduce one needs to
> 1. modify run/run.normal.mode.settings.xml:
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
> -<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
> +<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
> 2. compile reliability suit
> 3. cd run folder, execute "ant -f run.xml run.vm"
> Checked and reproduced on WinIA32 only.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3675) [drlvm][classloader]
vm.classloading.ClassAttributeTest reliability test fails with assertion
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky updated HARMONY-3675:
---------------------------------------
Patch Info: [Patch Available]
Assignee: Gregory Shimansky
> [drlvm][classloader] vm.classloading.ClassAttributeTest reliability test fails with assertion
> ---------------------------------------------------------------------------------------------
>
> Key: HARMONY-3675
> URL: https://issues.apache.org/jira/browse/HARMONY-3675
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Aleksey Ignatenko
> Assignee: Gregory Shimansky
> Attachments: H3675.patch
>
>
> 2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably fail when number of thread = 2).
> Stack trace:
> harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0, unsigned int lineno=788) Line 295 C
> > harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000) Line 788 + 0x1a C++
> harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable * table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8) Line 53 + 0xd C++
> harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External * jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680) Line 76 + 0x1f C++
> 0360ce46()
> harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=) Line 455 + 0xa C++
> To reproduce one needs to
> 1. modify run/run.normal.mode.settings.xml:
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
> -<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
> +<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
> 2. compile reliability suit
> 3. cd run folder, execute "ant -f run.xml run.vm"
> Checked and reproduced on WinIA32 only.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3675) [drlvm][reflection]
vm.classloading.ClassAttributeTest reliability test fails with assertion
Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489916 ]
Aleksey Ignatenko commented on HARMONY-3675:
--------------------------------------------
Gregory, you are right about [jni], I cannot recall why I marked it this way, this is to be marked with [reflection] - fixed
> [drlvm][reflection] vm.classloading.ClassAttributeTest reliability test fails with assertion
> --------------------------------------------------------------------------------------------
>
> Key: HARMONY-3675
> URL: https://issues.apache.org/jira/browse/HARMONY-3675
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Aleksey Ignatenko
>
> 2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably fail when number of thread = 2).
> Stack trace:
> harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0, unsigned int lineno=788) Line 295 C
> > harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000) Line 788 + 0x1a C++
> harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable * table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8) Line 53 + 0xd C++
> harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External * jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680) Line 76 + 0x1f C++
> 0360ce46()
> harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=) Line 455 + 0xa C++
> To reproduce one needs to
> 1. modify run/run.normal.mode.settings.xml:
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
> -<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
> +<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
> 2. compile reliability suit
> 3. cd run folder, execute "ant -f run.xml run.vm"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3675) [drlvm][jni]
vm.classloading.ClassAttributeTest reliability test fails with assertion
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489750 ]
Gregory Shimansky commented on HARMONY-3675:
--------------------------------------------
Why do you think that this is JNI related bug? Looking at the stack I would rather blame classloader or reflection.
> [drlvm][jni] vm.classloading.ClassAttributeTest reliability test fails with assertion
> -------------------------------------------------------------------------------------
>
> Key: HARMONY-3675
> URL: https://issues.apache.org/jira/browse/HARMONY-3675
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Aleksey Ignatenko
>
> 2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably fail when number of thread = 2).
> Stack trace:
> harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0, unsigned int lineno=788) Line 295 C
> > harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000) Line 788 + 0x1a C++
> harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable * table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8) Line 53 + 0xd C++
> harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External * jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680) Line 76 + 0x1f C++
> 0360ce46()
> harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=) Line 455 + 0xa C++
> To reproduce one needs to
> 1. modify run/run.normal.mode.settings.xml:
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
> -<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
> +<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
> 2. compile reliability suit
> 3. cd run folder, execute "ant -f run.xml run.vm"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3675) [drlvm][classloader]
vm.classloading.ClassAttributeTest reliability test fails with assertion
Posted by "Pavel Pervov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Pervov updated HARMONY-3675:
----------------------------------
Attachment: H3675.patch
Re-attaching patch. Attached wrong patch first time.
> [drlvm][classloader] vm.classloading.ClassAttributeTest reliability test fails with assertion
> ---------------------------------------------------------------------------------------------
>
> Key: HARMONY-3675
> URL: https://issues.apache.org/jira/browse/HARMONY-3675
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Aleksey Ignatenko
> Assignee: Gregory Shimansky
> Attachments: H3675.patch, H3675.patch
>
>
> 2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably fail when number of thread = 2).
> Stack trace:
> harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0, unsigned int lineno=788) Line 295 C
> > harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000) Line 788 + 0x1a C++
> harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable * table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8) Line 53 + 0xd C++
> harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External * jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680) Line 76 + 0x1f C++
> 0360ce46()
> harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=) Line 455 + 0xa C++
> To reproduce one needs to
> 1. modify run/run.normal.mode.settings.xml:
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
> -<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
> +<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
> 2. compile reliability suit
> 3. cd run folder, execute "ant -f run.xml run.vm"
> Checked and reproduced on WinIA32 only.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3675) [drlvm][jni]
vm.classloading.ClassAttributeTest reliability test fails with assertion
Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489915 ]
Aleksey Ignatenko commented on HARMONY-3675:
--------------------------------------------
Gregory, you are right about [jni], I cannot remember why I marked it this way, this is to be marked with [reflection]
> [drlvm][jni] vm.classloading.ClassAttributeTest reliability test fails with assertion
> -------------------------------------------------------------------------------------
>
> Key: HARMONY-3675
> URL: https://issues.apache.org/jira/browse/HARMONY-3675
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Aleksey Ignatenko
>
> 2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably fail when number of thread = 2).
> Stack trace:
> harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0, unsigned int lineno=788) Line 295 C
> > harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000) Line 788 + 0x1a C++
> harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable * table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8) Line 53 + 0xd C++
> harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External * jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680) Line 76 + 0x1f C++
> 0360ce46()
> harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=) Line 455 + 0xa C++
> To reproduce one needs to
> 1. modify run/run.normal.mode.settings.xml:
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
> -<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
> +<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
> 2. compile reliability suit
> 3. cd run folder, execute "ant -f run.xml run.vm"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3675) [drlvm][reflection]
vm.classloading.ClassAttributeTest reliability test fails with assertion
Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksey Ignatenko updated HARMONY-3675:
---------------------------------------
Summary: [drlvm][reflection] vm.classloading.ClassAttributeTest reliability test fails with assertion (was: [drlvm][jni] vm.classloading.ClassAttributeTest reliability test fails with assertion)
> [drlvm][reflection] vm.classloading.ClassAttributeTest reliability test fails with assertion
> --------------------------------------------------------------------------------------------
>
> Key: HARMONY-3675
> URL: https://issues.apache.org/jira/browse/HARMONY-3675
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Aleksey Ignatenko
>
> 2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably fail when number of thread = 2).
> Stack trace:
> harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0, unsigned int lineno=788) Line 295 C
> > harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000) Line 788 + 0x1a C++
> harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable * table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8) Line 53 + 0xd C++
> harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External * jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680) Line 76 + 0x1f C++
> 0360ce46()
> harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=) Line 455 + 0xa C++
> To reproduce one needs to
> 1. modify run/run.normal.mode.settings.xml:
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
> -<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
> +<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
> 2. compile reliability suit
> 3. cd run folder, execute "ant -f run.xml run.vm"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-3675) [drlvm][classloader]
vm.classloading.ClassAttributeTest reliability test fails with assertion
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky resolved HARMONY-3675.
----------------------------------------
Resolution: Fixed
Patch applied at 543132. Please check that the bug is fixed now.
> [drlvm][classloader] vm.classloading.ClassAttributeTest reliability test fails with assertion
> ---------------------------------------------------------------------------------------------
>
> Key: HARMONY-3675
> URL: https://issues.apache.org/jira/browse/HARMONY-3675
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Aleksey Ignatenko
> Assignee: Gregory Shimansky
> Attachments: H3675.patch, H3675.patch
>
>
> 2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably fail when number of thread = 2).
> Stack trace:
> harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0, unsigned int lineno=788) Line 295 C
> > harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000) Line 788 + 0x1a C++
> harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable * table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8) Line 53 + 0xd C++
> harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External * jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680) Line 76 + 0x1f C++
> 0360ce46()
> harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=) Line 455 + 0xa C++
> To reproduce one needs to
> 1. modify run/run.normal.mode.settings.xml:
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
> -<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
> +<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
> 2. compile reliability suit
> 3. cd run folder, execute "ant -f run.xml run.vm"
> Checked and reproduced on WinIA32 only.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3675) [drlvm][classloader]
vm.classloading.ClassAttributeTest reliability test fails with assertion
Posted by "Pavel Pervov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Pervov updated HARMONY-3675:
----------------------------------
Attachment: H3675.patch
This was the issue once, and this will be the issue many times more.
Implementation of "static" keyword in Microsoft C++ compiler generates the code which is not thread safe for initializing the variable. I changed this to be "positively thread unsafe" - uninitialized value will never be used here.
> [drlvm][classloader] vm.classloading.ClassAttributeTest reliability test fails with assertion
> ---------------------------------------------------------------------------------------------
>
> Key: HARMONY-3675
> URL: https://issues.apache.org/jira/browse/HARMONY-3675
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Aleksey Ignatenko
> Attachments: H3675.patch
>
>
> 2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably fail when number of thread = 2).
> Stack trace:
> harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0, unsigned int lineno=788) Line 295 C
> > harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000) Line 788 + 0x1a C++
> harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable * table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8) Line 53 + 0xd C++
> harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External * jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680) Line 76 + 0x1f C++
> 0360ce46()
> harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=) Line 455 + 0xa C++
> To reproduce one needs to
> 1. modify run/run.normal.mode.settings.xml:
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
> -<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
> +<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
> 2. compile reliability suit
> 3. cd run folder, execute "ant -f run.xml run.vm"
> Checked and reproduced on WinIA32 only.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3675) [drlvm][reflection]
vm.classloading.ClassAttributeTest reliability test fails with assertion
Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksey Ignatenko updated HARMONY-3675:
---------------------------------------
Comment: was deleted
> [drlvm][reflection] vm.classloading.ClassAttributeTest reliability test fails with assertion
> --------------------------------------------------------------------------------------------
>
> Key: HARMONY-3675
> URL: https://issues.apache.org/jira/browse/HARMONY-3675
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Aleksey Ignatenko
>
> 2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably fail when number of thread = 2).
> Stack trace:
> harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0, unsigned int lineno=788) Line 295 C
> > harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000) Line 788 + 0x1a C++
> harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable * table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8) Line 53 + 0xd C++
> harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External * jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680) Line 76 + 0x1f C++
> 0360ce46()
> harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=) Line 455 + 0xa C++
> To reproduce one needs to
> 1. modify run/run.normal.mode.settings.xml:
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
> -<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
> +<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
> 2. compile reliability suit
> 3. cd run folder, execute "ant -f run.xml run.vm"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-3675) [drlvm][classloader]
vm.classloading.ClassAttributeTest reliability test fails with assertion
Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksey Ignatenko closed HARMONY-3675.
--------------------------------------
verified.
> [drlvm][classloader] vm.classloading.ClassAttributeTest reliability test fails with assertion
> ---------------------------------------------------------------------------------------------
>
> Key: HARMONY-3675
> URL: https://issues.apache.org/jira/browse/HARMONY-3675
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Aleksey Ignatenko
> Assignee: Gregory Shimansky
> Attachments: H3675.patch, H3675.patch
>
>
> 2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably fail when number of thread = 2).
> Stack trace:
> harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0, unsigned int lineno=788) Line 295 C
> > harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000) Line 788 + 0x1a C++
> harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable * table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8) Line 53 + 0xd C++
> harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External * jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680) Line 76 + 0x1f C++
> 0360ce46()
> harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=) Line 455 + 0xa C++
> To reproduce one needs to
> 1. modify run/run.normal.mode.settings.xml:
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
> -<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
> +<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
> 2. compile reliability suit
> 3. cd run folder, execute "ant -f run.xml run.vm"
> Checked and reproduced on WinIA32 only.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3675) [drlvm][jni]
vm.classloading.ClassAttributeTest reliability test fails with assertion
Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksey Ignatenko updated HARMONY-3675:
---------------------------------------
Summary: [drlvm][jni] vm.classloading.ClassAttributeTest reliability test fails with assertion (was: [drlvm] vm.classloading.ClassAttributeTest reliability test fails with assertion)
> [drlvm][jni] vm.classloading.ClassAttributeTest reliability test fails with assertion
> -------------------------------------------------------------------------------------
>
> Key: HARMONY-3675
> URL: https://issues.apache.org/jira/browse/HARMONY-3675
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Aleksey Ignatenko
>
> 2 reliability tests: vm.classloading.ClassAttributeTest and ClassReflectionTest (can be taken in H-2918) fail with assertion when launched with number of threads > 2 (stably fail when number of thread = 2).
> Stack trace:
> harmonyvm.dll!_assert(const char * expr=0x0077ce3c, const char * filename=0x0077cdf0, unsigned int lineno=788) Line 295 C
> > harmonyvm.dll!struct_Class_to_java_lang_Class_Handle(Class * clss=0x00000000) Line 788 + 0x1a C++
> harmonyvm.dll!get_annotations(JNIEnv_External * jenv=0x02ea2570, AnnotationTable * table=0x00000000, AnnotationTable * inv_table=0x00000000, Class * clss=0x02d655b8) Line 53 + 0xd C++
> harmonyvm.dll!Java_org_apache_harmony_vm_VMGenericsAndAnnotations_getDeclaredAnnotations__Ljava_lang_Class_2(JNIEnv_External * jenv=0x02ea2570, _jobject * __formal=0x0372f67c, _jobject * jclazz=0x0372f680) Line 76 + 0x1f C++
> 0360ce46()
> harmonyvm.dll!free_local_object_handles3(ObjectHandles * head=) Line 455 + 0xa C++
> To reproduce one needs to
> 1. modify run/run.normal.mode.settings.xml:
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="8" />
> -<property name="vm.classloading.ClassAttributesTest.n_threads" value="2" />
> -<property name="vm.classloading.ClassReflectionTest.n_threads" value="8" />
> +<property name="vm.classloading.ClassReflectionTest.n_threads" value="2" />
> 2. compile reliability suit
> 3. cd run folder, execute "ant -f run.xml run.vm"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.