You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Gregory Shimansky (JIRA)" <ji...@apache.org> on 2007/05/31 15:46:15 UTC

[jira] Resolved: (HARMONY-3675) [drlvm][classloader] vm.classloading.ClassAttributeTest reliability test fails with assertion

     [ 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.