harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-1432) [DRLVM] [reflection] assertion failed "Unexpected type descriptor"
Date Sat, 16 Sep 2006 12:09:25 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1432?page=all ]

Geir Magnusson Jr closed HARMONY-1432.
--------------------------------------


> [DRLVM] [reflection] assertion failed "Unexpected type descriptor"
> ------------------------------------------------------------------
>
>                 Key: HARMONY-1432
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1432
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Alexey Varlamov
>         Assigned To: Geir Magnusson Jr
>         Attachments: H-1432.patch
>
>
> The classlib test tests.api.java.lang.reflect.FieldTest crashes DRLVM with the following
stack:
>     [junit] Unexpected type descriptor
>     [junit] java.exec: /nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMField.cpp:90:
jvalue read_primitive(JNIEnv*, _jfieldID*, _jobject*, char): Assertion `0' failed.
>     [junit] SIGABRT in VM code.
>     [junit] Stack trace:
>     [junit]     1: ?? (??:-1)
>     [junit]     2: abort (??:-1)
>     [junit]     3: __assert_fail (??:-1)
>     [junit]     4: read_primitive (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMField.cpp:94)
>     [junit]     5: get_primitive_field (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMField.cpp:103)
>     [junit]     6: Java_java_lang_reflect_VMField_getByte (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMField.cpp:119)
>     [junit]     7: IP is 0x620C8FB7 <native code>
>     [junit]     8: java/lang/reflect/Field.getByte(Ljava/lang/Object;)B (??:-1)
>     [junit]     9: tests/api/java/lang/reflect/FieldTest$SupportSubClass.getField(CLjava/lang/Object;Ljava/lang/reflect/Field;Ljava/lang/Class;)Ljava/lang/Object;
(FieldTest.java:184)
>     [junit]     10: tests/api/java/lang/reflect/FieldTest.testProtectedFieldAccess()V
(FieldTest.java:448)
>     [junit]     11: vm_invoke_native_array_stub (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:40)
>     [junit]     12: JIT_execute_method_default(void*, _jmethodID*, jvalue*, jvalue*)
(/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/util/ia32/base/ini_iA32.cpp:198)
>     [junit]     13: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/em/src/DrlEMImpl.cpp:453)
>     [junit]     14: ExecuteMethod (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/em/src/em_intf.cpp:42)
>     [junit]     15: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/jit/ini.cpp:39)
>     [junit]     16: call_method_no_ref_result (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/jni/jni_method.cpp:164)
>     [junit]     17: CallVoidMethodA(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*)
(/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/jni/jni_method.cpp:199)
>     [junit]     18: invoke_primitive_method (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMReflection.cpp:184)
>     [junit]     19: Java_java_lang_reflect_VMReflection_invokeMethod (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMReflection.cpp:220)
>     [junit]     20: IP is 0x40DE2261 <native code>
>     [junit]     21: java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(??:-1)
>     [junit]     22: junit/framework/TestCase.runTest()V (TestCase.java:154)
>     [junit]     23: junit/framework/TestCase.runBare()V (TestCase.java:127)
>     [junit]     24: junit/framework/TestResult$1.protect()V (TestResult.java:106)
>     [junit]     25:
> junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
(TestResult.java:124)
>     [junit]     26: junit/framework/TestResult.run(Ljunit/framework/TestCase;)V (TestResult.java:109)
>     [junit]     27: junit/framework/TestCase.run(Ljunit/framework/TestResult;)V (TestCase.java:118)
>     [junit]     28: junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
(TestSuite.java:208)
>     [junit]     29: junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V (TestSuite.java:203)
>     [junit]     30: org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.run()V
(JUnitTestRunner.java:297)
>     [junit]     31: org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.launch(Lorg/apache/tools/ant/taskdefs/optional/junit/JUnitTest;ZZZZLjava/util/Properties;)I
(JUnitTestRunner.java:672)
>     [junit]     32: org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.main([Ljava/lang/String;)V
(JUnitTestRunner.java:546)
>     [junit]     33: vm_invoke_native_array_stub (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:40)
>     [junit]     34: JIT_execute_method_default(void*, _jmethodID*, jvalue*, jvalue*)
(/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/util/ia32/base/ini_iA32.cpp:198)
>     [junit]     35: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/em/src/DrlEMImpl.cpp:453)
>     [junit]     36: ExecuteMethod (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/em/src/em_intf.cpp:42)
>     [junit]     37: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/jit/ini.cpp:39)
>     [junit]     38: call_static_method_no_ref_result (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/jni/jni_method.cpp:1071)
>     [junit]     39: CallStaticVoidMethodA(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*)
(/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/jni/jni_method.cpp:1449)
>     [junit]     40: invoke_primitive_method (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMReflection.cpp:182)
>     [junit]     41: Java_java_lang_reflect_VMReflection_invokeMethod (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMReflection.cpp:220)
>     [junit]     42: IP is 0x40DE2261 <native code>
>     [junit]     43: java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(??:-1)
>     [junit]     44: java/lang/VMStart$MainThread.runImpl()V (??:-1)
>     [junit]     45: vm_invoke_native_array_stub (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:40)
>     [junit]     46: JIT_execute_method_default(void*, _jmethodID*, jvalue*, jvalue*)
(/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/util/ia32/base/ini_iA32.cpp:198)
>     [junit]     47: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/em/src/DrlEMImpl.cpp:453)
>     [junit]     48: ExecuteMethod (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/em/src/em_intf.cpp:42)
>     [junit]     49: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/jit/ini.cpp:39)
>     [junit]     50: call_method_no_ref_result (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/jni/jni_method.cpp:164)
>     [junit]     51: CallVoidMethodA(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*)
(/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/vmcore/src/jni/jni_method.cpp:199)
>     [junit]     52: wrapper_proc (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/thread/src/thread_java_basic.c:98)
>     [junit]     53: thread_start_proc (/nfs/ins/proj/drl/coreapi/avarlamo/git-repo/drlvm/vm/thread/src/thread_native_basic.c:704)
>     [junit]     54: dummy_worker (threadproc/unix/thread.c:139)
>     [junit]     55: start_thread (??:-1)
>     [junit]     56: clone (??:-1)
>     [junit] <end of stack trace>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message