harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura" <stepan.mish...@gmail.com>
Subject Re: svn commit: r599053 - in /harmony/enhanced/drlvm/trunk/vm/vmcore: build/ include/ src/class_support/ src/kernel_classes/javasrc/java/lang/ src/kernel_classes/native/
Date Thu, 29 Nov 2007 05:00:01 GMT
Hi Gregory,

Your commit is the reason of 2 classlib test crashes on all platforms[1]:
org.apache.harmony.luni.tests.java.lang.ClassTest
org.apache.harmony.sql.tests.java.sql.DriverManagerTest

Could you check your commit?

For example, for luni module I've reproduced the crash on Linux_x86
(works OK on 599032).

    [junit] SIGSEGV in VM code.
    [junit] Stack trace:
    [junit]   0: jclass_to_struct_Class(_jobject*) (??:-1)
    [junit]   1: Java_java_lang_ClassLoader_registerInitiatedClass (??:-1)
    [junit]   2: 0x526E657B  <Generated stub>
    [junit]   3:
java/lang/Class.forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
(Class.java:153)
    [junit]   4:
java/lang/Class.forName(Ljava/lang/String;)Ljava/lang/Class;
(Class.java:103)
    [junit]   5:
org/apache/harmony/luni/tests/java/lang/ClassTest.test_forName_arrays()V
(ClassTest.java:771)
    [junit]   6: ?? (??:-1)
    [junit]   7: .L866 (??:-1)
    [junit]   8: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
    [junit]   9: ExecuteMethod (??:-1)
    [junit]  10: vm_execute_java_method_array (??:-1)
    [junit]  11: call_method_no_ref_result(JNIEnv_External*,
_jobject*, _jmethodID*, jvalue*, jvalue*, int) (??:-1)
    [junit]  12: CallVoidMethodA(JNIEnv_External*, _jobject*,
_jmethodID*, jvalue*) (??:-1)
    [junit]  13: .L508 (??:-1)
    [junit]  14: 0x526B02EA  <Generated stub>
    [junit]  15:
java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(Method.java:317)
    [junit]  16: junit/framework/TestCase.runTest()V (TestCase.java:154)
    [junit]  17: junit/framework/TestCase.runBare()V (TestCase.java:127)
    [junit]  18: junit/framework/TestResult$1.protect()V (TestResult.java:106)
    [junit]  19:
junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
(TestResult.java:124)
    [junit]  20:
junit/framework/TestResult.run(Ljunit/framework/TestCase;)V
(TestResult.java:109)
    [junit]  21:
junit/framework/TestCase.run(Ljunit/framework/TestResult;)V
(TestCase.java:118)
    [junit]  22:
junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
(TestSuite.java:208)
    [junit]  23:
junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V
(TestSuite.java:203)
    [junit]  24:
org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.run()V
(JUnitTestRunner.java:297)
    [junit]  25:
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]  26:
org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.main([Ljava/lang/String;)V
(JUnitTestRunner.java:546)
    [junit]  27: ?? (??:-1)
    [junit]  28: .L866 (??:-1)
    [junit]  29: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
    [junit]  30: ExecuteMethod (??:-1)
    [junit]  31: vm_execute_java_method_array (??:-1)
    [junit]  32: call_static_method_no_ref_result(JNIEnv_External*,
_jobject*, _jmethodID*, jvalue*, jvalue*) (??:-1)
    [junit]  33: CallStaticVoidMethodV(JNIEnv_External*, _jobject*,
_jmethodID*, char*) (??:-1)
    [junit]  34: CallStaticVoidMethod(JNIEnv_External*, _jobject*,
_jmethodID*, ...) (??:-1)
    [junit]  35: main_runJavaMain (??:-1)
    [junit]  36: invocation (??:-1)
    [junit]  37: gpProtectedMain (??:-1)
    [junit]  38: main (??:-1)
    [junit]  39: __libc_start_main (??:-1)
    [junit]  40: _start (../sysdeps/i386/elf/start.S:105)
    [junit] <end of stack trace>

[1] http://people.apache.org/~varlax/harmony-integrity/

Thanks,
Stepan.

-----Original Message-----
From: gshimansky@apache.org [mailto:gshimansky@apache.org]
Sent: Wednesday, November 28, 2007 10:21 PM
To: commits@harmony.apache.org
Subject: svn commit: r599053 - in
/harmony/enhanced/drlvm/trunk/vm/vmcore: build/ include/
src/class_support/ src/kernel_classes/javasrc/java/lang/
src/kernel_classes/native/

Author: gshimansky
Date: Wed Nov 28 08:20:51 2007
New Revision: 599053

URL: http://svn.apache.org/viewvc?rev=599053&view=rev
Log:
Applied patch from HARMONY-4965
[drlvm][kernel] ClassLoader.findLoadedClass() does not cache not owned classes

<SNIP>

Mime
View raw message