You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Vladimir Ivanov <iv...@gmail.com> on 2007/04/26 12:40:35 UTC

[drlvm]classlib tests failed on Linux x86_64

Hello everyone,
today the classlib tests failed on Linux x86_64.

 thanks, Vladimir

Execution log:

    [junit] java:
/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:137:
void Jitrino::Ia32::checkManaged2UnmanagedConv(Jitrino::Ia32::IRManager&,
Jitrino::Ia32::Opnd*, Jitrino::Ia32::Inst*): Assertion `0' failed.
    [junit] SIGABRT in VM code.
    [junit] Stack trace:
    [junit]   0: raise (??:-1)
    [junit]   1: abort (??:-1)
    [junit]   2: new_do_write (??:-1)
    [junit]   3: _IO_file_xsputn@@GLIBC_2.2.5 (??:-1)
    [junit]   4: ?? (??:-1)
    [junit]   5: ?? (??:-1)
    [junit]   6: ?? (??:-1)
    [junit]   7: free (??:-1)
    [junit]   8: __assert_fail (??:-1)
    [junit]   9: ?? (??:-1)
    [junit]  10: ?? (??:-1)
    [junit]  11: std::basic_ostream<char, std::char_traits<char> >&
std::flush<char, std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&) (??:-1)
    [junit]  12: checkManaged2UnmanagedConv
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:121)
    [junit]  13:
Jitrino::Ia32::GCMap::registerGCSafePoint(Jitrino::Ia32::IRManager&,
Jitrino::BitSet const&, Jitrino::Ia32::Inst*)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:174)
    [junit]  14: ?? (0x387688
    [junit] :-1)
    [junit]  15: Jitrino::CompilationContext::getCurrentContext()
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/CompilationContext.cpp:86)
    [junit]  16:
Jitrino::Ia32::GCMap::processBasicBlock(Jitrino::Ia32::IRManager&,
Jitrino::Node const*)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:70)
    [junit]  17:
Jitrino::Ia32::GCMap::registerInsts(Jitrino::Ia32::IRManager&)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:51)
    [junit]  18: Jitrino::Ia32::GCMapCreator::runImpl()
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:505)
    [junit]  19: Jitrino::Ia32::SessionAction::run()
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32IRManager.cpp:2271)
    [junit]  20: Jitrino::runPipeline(Jitrino::CompilationContext*)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:228)
    [junit]  21: Jitrino::compileMethod(Jitrino::CompilationContext*)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:265)
    [junit]  22:
Jitrino::Jitrino::CompileMethod(Jitrino::CompilationContext*)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:287)
    [junit]  23: JIT_compile_method_with_params
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/vm/drl/DrlJITInterface.cpp:279)
    [junit]  24: Dll_JIT::compile_method_with_params(void*, Method*,
OpenMethodExecutionParams)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/include/dll_jit_intf.h:86)
    [junit]  25: compile_do_compilation_jit(Method*, JIT*)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/compile.cpp:657)
    [junit]  26: vm_compile_method
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/class_support/C_Interface.cpp:2493)
    [junit]  27: DrlEMImpl::methodProfileIsReady(MethodProfile*)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:772)
    [junit]  28:
EBProfileCollector::syncModeJitCallback(MethodProfile*)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/EBProfileCollector.cpp:192)
    [junit]  29: eb_profiler_sync_mode_callback(void*)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/EBProfileCollector.cpp:92)
    [junit]  30: 0x0000002A98303084  <Generated stub>
    [junit]  31: ?? (??:-1)
    [junit]  32:
java/lang/String.getCharset(Ljava/lang/String;)Ljava/nio/charset/Charset;
(String.java:892)
    [junit]  33: java/lang/String.getBytes(Ljava/lang/String;)[B
(String.java:883)
    [junit]  34: ?? (??:-1)
    [junit]  35: JIT_execute_method_default(void*, _jmethodID*,
jvalue*, jvalue*)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/util/em64t/base/ini_em64t.cpp:346)
    [junit]  36: DrlEMImpl::executeMethod(_jmethodID*, jvalue*,
jvalue*) (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:510)
    [junit]  37: ExecuteMethod
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/em_intf.cpp:44)
    [junit]  38: vm_execute_java_method_array(_jmethodID*, jvalue*,
jvalue*) (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/ini.cpp:56)
    [junit]  39: call_method_no_ref_result
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:188)
    [junit]  40: CallVoidMethodA(JNIEnv_External*, _jobject*,
_jmethodID*, jvalue*)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:226)
    [junit]  41: invoke_primitive_method
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMReflection.cpp:188)
    [junit]  42:
org/apache/harmony/luni/tests/java/lang/String2Test.test_getBytes()V
(String2Test.java:380)
    [junit]  43: 0x0000002AAA460CD6  <Generated stub>
    [junit]  44: ?? (??:-1)
    [junit]  45:
java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(Method.java:382)
    [junit]  46: junit/framework/TestCase.runTest()V (TestCase.java:154)
    [junit]  47: junit/framework/TestCase.runBare()V (TestCase.java:127)
    [junit]  48: junit/framework/TestResult$1.protect()V (TestResult.java:106)
    [junit]  49:
junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
(TestResult.java:124)
    [junit]  50:
junit/framework/TestResult.run(Ljunit/framework/TestCase;)V
(TestResult.java:109)
    [junit]  51:
junit/framework/TestCase.run(Ljunit/framework/TestResult;)V
(TestCase.java:118)
    [junit]  52:
junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
(TestSuite.java:208)
    [junit]  53:
junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V
(TestSuite.java:203)
    [junit]  54:
org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.run()V
(JUnitTestRunner.java:297)
    [junit]  55:
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]  56: ?? (??:-1)
    [junit]  57: JIT_execute_method_default(void*, _jmethodID*,
jvalue*, jvalue*)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/util/em64t/base/ini_em64t.cpp:346)
    [junit]  58: DrlEMImpl::executeMethod(_jmethodID*, jvalue*,
jvalue*) (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:510)
    [junit]  59: ExecuteMethod
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/em_intf.cpp:44)
    [junit]  60: vm_execute_java_method_array(_jmethodID*, jvalue*,
jvalue*) (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/ini.cpp:56)
    [junit]  61: call_static_method_no_ref_result
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1155)
    [junit]  62: CallStaticVoidMethodA(JNIEnv_External*, _jobject*,
_jmethodID*, jvalue*)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1563)
    [junit]  63: CallStaticVoidMethodV(JNIEnv_External*, _jobject*,
_jmethodID*, __va_list_tag*)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1547)
    [junit]  64: CallStaticVoidMethod(JNIEnv_External*, _jobject*,
_jmethodID*, ...)
(/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1537)
    [junit]  65: main_runJavaMain (../shared/main.c:1332)
    [junit]  66: invocation (../shared/main.c:742)
    [junit]  67: gpProtectedMain (../shared/main.c:391)
    [junit]  68: main (../shared/cmain.c:147)
    [junit]  69: __libc_start_main (??:-1)
    [junit]  70:
org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.main([Ljava/lang/String;)V
(JUnitTestRunner.java:567)
    [junit] <end of stack trace>
    [junit] Test org.apache.harmony.luni.tests.java.lang.String2Test FAILED

Re: [drlvm]classlib tests failed on Linux x86_64

Posted by Vladimir Ivanov <iv...@gmail.com>.
On 4/26/07, Mikhail Fursov <mi...@gmail.com> wrote:
> The issue was fixed.
> Please update your copy.

Thanks. It works now (my copy updated automatically :) ).

 thanks, Vladimir


>
> On 4/26/07, Vladimir Ivanov <iv...@gmail.com> wrote:
> >
> > Actually, CC/CI systems is down due to this issue.
> > It will nice if you fix it.
> >
> > thanks, Vladimir
> >
> > On 4/26/07, Mikhail Fursov <mi...@gmail.com> wrote:
> > > If you need proceed your work right now the easiest fix is commenting
> > out
> > > this assertion.
> > >
> > > On 4/26/07, Mikhail Fursov <mi...@gmail.com> wrote:
> > > >
> > > > Vladimir,
> > > > I know this issue. It's not critical and affects debug build only:
> > > > checking routine is not correct for some em64t instructions.
> > > > Give me an hour or two to fix it for em64t platform.
> > > >
> > > >
> > > > On 4/26/07, Vladimir Ivanov <iv...@gmail.com> wrote:
> > > > >
> > > > > Hello everyone,
> > > > > today the classlib tests failed on Linux x86_64.
> > > > >
> > > > > thanks, Vladimir
> > > > >
> > > > > Execution log:
> > > > >
> > > > >     [junit] java:
> > > > >
> > /export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:137:
> > > > >
> > > > > void
> > > > > Jitrino::Ia32::checkManaged2UnmanagedConv(Jitrino::Ia32::IRManager&,
> > > > > Jitrino::Ia32::Opnd*, Jitrino::Ia32::Inst*): Assertion `0' failed.
> > > > >     [junit] SIGABRT in VM code.
> > > > >     [junit] Stack trace:
> > > > >     [junit]   0: raise (??:-1)
> > > > >     [junit]   1: abort (??:-1)
> > > > >     [junit]   2: new_do_write (??:-1)
> > > > >     [junit]   3: _IO_file_xsputn@@GLIBC_2.2.5 (??:-1)
> > > > >     [junit]   4: ?? (??:-1)
> > > > >     [junit]   5: ?? (??:-1)
> > > > >     [junit]   6: ?? (??:-1)
> > > > >     [junit]   7: free (??:-1)
> > > > >     [junit]   8: __assert_fail (??:-1)
> > > > >     [junit]   9: ?? (??:-1)
> > > > >     [junit]  10: ?? (??:-1)
> > > > >     [junit]  11: std::basic_ostream<char, std::char_traits<char> >&
> > > > > std::flush<char, std::char_traits<char> >(std::basic_ostream<char,
> > > > > std::char_traits<char> >&) (??:-1)
> > > > >     [junit]  12: checkManaged2UnmanagedConv
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:121)
> > > > >
> > > > >     [junit]  13:
> > > > > Jitrino::Ia32::GCMap::registerGCSafePoint(Jitrino::Ia32::IRManager&,
> > > > > Jitrino::BitSet const&, Jitrino::Ia32::Inst*)
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:174)
> > > > >
> > > > >     [junit]  14: ?? (0x387688
> > > > >     [junit] :-1)
> > > > >     [junit]  15: Jitrino::CompilationContext::getCurrentContext()
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/CompilationContext.cpp:86)
> > > > >
> > > > >     [junit]  16:
> > > > > Jitrino::Ia32::GCMap::processBasicBlock(Jitrino::Ia32::IRManager&,
> > > > > Jitrino::Node const*)
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:70)
> > > > >
> > > > >     [junit]  17:
> > > > > Jitrino::Ia32::GCMap::registerInsts(Jitrino::Ia32::IRManager&)
> > > > >
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:51)
> > > > >     [junit]  18: Jitrino::Ia32::GCMapCreator::runImpl()
> > > > >
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:505)
> > > > >     [junit]  19: Jitrino::Ia32::SessionAction::run()
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32IRManager.cpp:2271)
> > > > >
> > > > >     [junit]  20: Jitrino::runPipeline(Jitrino::CompilationContext*)
> > > > >
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:228)
> > > > >     [junit]  21:
> > Jitrino::compileMethod(Jitrino::CompilationContext*)
> > > > >
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:265)
> > > > >     [junit]  22:
> > > > > Jitrino::Jitrino::CompileMethod(Jitrino::CompilationContext*)
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:287)
> > > > >
> > > > >     [junit]  23: JIT_compile_method_with_params
> > > > >
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/vm/drl/DrlJITInterface.cpp:279)
> > > > >     [junit]  24: Dll_JIT::compile_method_with_params(void*, Method*,
> > > > > OpenMethodExecutionParams)
> > > > >
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/include/dll_jit_intf.h:86)
> > > > >     [junit]  25: compile_do_compilation_jit(Method*, JIT*)
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/compile.cpp:657)
> > > > >
> > > > >     [junit]  26: vm_compile_method
> > > > >
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/class_support/C_Interface.cpp:2493)
> > > > >     [junit]  27: DrlEMImpl::methodProfileIsReady(MethodProfile*)
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:772)
> > > > >
> > > > >     [junit]  28:
> > > > > EBProfileCollector::syncModeJitCallback(MethodProfile*)
> > > > >
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/EBProfileCollector.cpp:192)
> > > > >     [junit]  29: eb_profiler_sync_mode_callback(void*)
> > > > >
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/EBProfileCollector.cpp:92)
> > > > >     [junit]  30: 0x0000002A98303084  <Generated stub>
> > > > >     [junit]  31: ?? (??:-1)
> > > > >     [junit]  32:
> > > > >
> > java/lang/String.getCharset(Ljava/lang/String;)Ljava/nio/charset/Charset;
> > > > >
> > > > > (String.java:892)
> > > > >     [junit]  33: java/lang/String.getBytes(Ljava/lang/String;)[B
> > > > > (String.java:883)
> > > > >     [junit]  34: ?? (??:-1)
> > > > >     [junit]  35: JIT_execute_method_default(void*, _jmethodID*,
> > > > > jvalue*, jvalue*)
> > > > >
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/util/em64t/base/ini_em64t.cpp:346)
> > > > >     [junit]  36: DrlEMImpl::executeMethod(_jmethodID*, jvalue*,
> > > > > jvalue*)
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:510)
> > > > >
> > > > >     [junit]  37: ExecuteMethod
> > > > >
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/em_intf.cpp:44)
> > > > >     [junit]  38: vm_execute_java_method_array(_jmethodID*, jvalue*,
> > > > > jvalue*)
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/ini.cpp:56)
> > > > >
> > > > >     [junit]  39: call_method_no_ref_result
> > > > >
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:188)
> > > > >     [junit]  40: CallVoidMethodA(JNIEnv_External*, _jobject*,
> > > > > _jmethodID*, jvalue*)
> > > > >
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:226)
> > > > >     [junit]  41: invoke_primitive_method
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMReflection.cpp:188)
> > > > >
> > > > >     [junit]  42:
> > > > > org/apache/harmony/luni/tests/java/lang/String2Test.test_getBytes()V
> > > > > (String2Test.java:380)
> > > > >     [junit]  43: 0x0000002AAA460CD6  <Generated stub>
> > > > >     [junit]  44: ?? (??:-1)
> > > > >     [junit]  45:
> > > > >
> > > > >
> > java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
> > > > > (Method.java:382)
> > > > >     [junit]  46: junit/framework/TestCase.runTest()V (TestCase.java
> > :154)
> > > > >     [junit]  47: junit/framework/TestCase.runBare()V ( TestCase.java
> > > > > :127)
> > > > >     [junit]  48: junit/framework/TestResult$1.protect()V (
> > > > > TestResult.java:106)
> > > > >     [junit]  49:
> > > > >
> > > > >
> > junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
> > > > > (TestResult.java:124)
> > > > >     [junit]  50:
> > > > > junit/framework/TestResult.run(Ljunit/framework/TestCase;)V
> > > > > (TestResult.java:109)
> > > > >     [junit]  51:
> > > > > junit/framework/TestCase.run(Ljunit/framework/TestResult;)V
> > > > > (TestCase.java :118)
> > > > >     [junit]  52:
> > > > >
> > > > >
> > junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
> > > > > (TestSuite.java:208)
> > > > >     [junit]  53:
> > > > > junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V
> > > > > (TestSuite.java:203)
> > > > >     [junit]  54:
> > > > > org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.run()V
> > > > > (JUnitTestRunner.java:297)
> > > > >     [junit]  55:
> > > > >
> > 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]  56: ?? (??:-1)
> > > > >     [junit]  57: JIT_execute_method_default(void*, _jmethodID*,
> > > > > jvalue*, jvalue*)
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/util/em64t/base/ini_em64t.cpp:346)
> > > > >
> > > > >     [junit]  58: DrlEMImpl::executeMethod(_jmethodID*, jvalue*,
> > > > > jvalue*)
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:510)
> > > > >     [junit]  59: ExecuteMethod
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/em_intf.cpp:44)
> > > > >
> > > > >     [junit]  60: vm_execute_java_method_array(_jmethodID*, jvalue*,
> > > > > jvalue*)
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/ini.cpp:56)
> > > > >     [junit]  61: call_static_method_no_ref_result
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1155)
> > > > >
> > > > >     [junit]  62: CallStaticVoidMethodA(JNIEnv_External*, _jobject*,
> > > > > _jmethodID*, jvalue*)
> > > > >
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1563)
> > > > >     [junit]  63: CallStaticVoidMethodV(JNIEnv_External*, _jobject*,
> > > > > _jmethodID*, __va_list_tag*)
> > > > >
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1547)
> > > > >     [junit]  64: CallStaticVoidMethod(JNIEnv_External*, _jobject*,
> > > > > _jmethodID*, ...)
> > > > >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1537)
> > > > >
> > > > >     [junit]  65: main_runJavaMain (../shared/main.c:1332)
> > > > >     [junit]  66: invocation (../shared/main.c:742)
> > > > >     [junit]  67: gpProtectedMain (../shared/main.c:391)
> > > > >     [junit]  68: main (../shared/cmain.c:147)
> > > > >     [junit]  69: __libc_start_main (??:-1)
> > > > >     [junit]  70:
> > > > >
> > > > >
> > org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.main([Ljava/lang/String;)V
> > > > > (JUnitTestRunner.java:567)
> > > > >     [junit] <end of stack trace>
> > > > >     [junit] Test
> > org.apache.harmony.luni.tests.java.lang.String2TestFAILED
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Mikhail Fursov
> > >
> > >
> > >
> > >
> > > --
> > > Mikhail Fursov
> > >
> >
>
>
>
> --
> Mikhail Fursov
>

Re: [drlvm]classlib tests failed on Linux x86_64

Posted by Mikhail Fursov <mi...@gmail.com>.
The issue was fixed.
Please update your copy.

On 4/26/07, Vladimir Ivanov <iv...@gmail.com> wrote:
>
> Actually, CC/CI systems is down due to this issue.
> It will nice if you fix it.
>
> thanks, Vladimir
>
> On 4/26/07, Mikhail Fursov <mi...@gmail.com> wrote:
> > If you need proceed your work right now the easiest fix is commenting
> out
> > this assertion.
> >
> > On 4/26/07, Mikhail Fursov <mi...@gmail.com> wrote:
> > >
> > > Vladimir,
> > > I know this issue. It's not critical and affects debug build only:
> > > checking routine is not correct for some em64t instructions.
> > > Give me an hour or two to fix it for em64t platform.
> > >
> > >
> > > On 4/26/07, Vladimir Ivanov <iv...@gmail.com> wrote:
> > > >
> > > > Hello everyone,
> > > > today the classlib tests failed on Linux x86_64.
> > > >
> > > > thanks, Vladimir
> > > >
> > > > Execution log:
> > > >
> > > >     [junit] java:
> > > >
> /export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:137:
> > > >
> > > > void
> > > > Jitrino::Ia32::checkManaged2UnmanagedConv(Jitrino::Ia32::IRManager&,
> > > > Jitrino::Ia32::Opnd*, Jitrino::Ia32::Inst*): Assertion `0' failed.
> > > >     [junit] SIGABRT in VM code.
> > > >     [junit] Stack trace:
> > > >     [junit]   0: raise (??:-1)
> > > >     [junit]   1: abort (??:-1)
> > > >     [junit]   2: new_do_write (??:-1)
> > > >     [junit]   3: _IO_file_xsputn@@GLIBC_2.2.5 (??:-1)
> > > >     [junit]   4: ?? (??:-1)
> > > >     [junit]   5: ?? (??:-1)
> > > >     [junit]   6: ?? (??:-1)
> > > >     [junit]   7: free (??:-1)
> > > >     [junit]   8: __assert_fail (??:-1)
> > > >     [junit]   9: ?? (??:-1)
> > > >     [junit]  10: ?? (??:-1)
> > > >     [junit]  11: std::basic_ostream<char, std::char_traits<char> >&
> > > > std::flush<char, std::char_traits<char> >(std::basic_ostream<char,
> > > > std::char_traits<char> >&) (??:-1)
> > > >     [junit]  12: checkManaged2UnmanagedConv
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:121)
> > > >
> > > >     [junit]  13:
> > > > Jitrino::Ia32::GCMap::registerGCSafePoint(Jitrino::Ia32::IRManager&,
> > > > Jitrino::BitSet const&, Jitrino::Ia32::Inst*)
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:174)
> > > >
> > > >     [junit]  14: ?? (0x387688
> > > >     [junit] :-1)
> > > >     [junit]  15: Jitrino::CompilationContext::getCurrentContext()
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/CompilationContext.cpp:86)
> > > >
> > > >     [junit]  16:
> > > > Jitrino::Ia32::GCMap::processBasicBlock(Jitrino::Ia32::IRManager&,
> > > > Jitrino::Node const*)
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:70)
> > > >
> > > >     [junit]  17:
> > > > Jitrino::Ia32::GCMap::registerInsts(Jitrino::Ia32::IRManager&)
> > > >
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:51)
> > > >     [junit]  18: Jitrino::Ia32::GCMapCreator::runImpl()
> > > >
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:505)
> > > >     [junit]  19: Jitrino::Ia32::SessionAction::run()
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32IRManager.cpp:2271)
> > > >
> > > >     [junit]  20: Jitrino::runPipeline(Jitrino::CompilationContext*)
> > > >
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:228)
> > > >     [junit]  21:
> Jitrino::compileMethod(Jitrino::CompilationContext*)
> > > >
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:265)
> > > >     [junit]  22:
> > > > Jitrino::Jitrino::CompileMethod(Jitrino::CompilationContext*)
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:287)
> > > >
> > > >     [junit]  23: JIT_compile_method_with_params
> > > >
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/vm/drl/DrlJITInterface.cpp:279)
> > > >     [junit]  24: Dll_JIT::compile_method_with_params(void*, Method*,
> > > > OpenMethodExecutionParams)
> > > >
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/include/dll_jit_intf.h:86)
> > > >     [junit]  25: compile_do_compilation_jit(Method*, JIT*)
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/compile.cpp:657)
> > > >
> > > >     [junit]  26: vm_compile_method
> > > >
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/class_support/C_Interface.cpp:2493)
> > > >     [junit]  27: DrlEMImpl::methodProfileIsReady(MethodProfile*)
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:772)
> > > >
> > > >     [junit]  28:
> > > > EBProfileCollector::syncModeJitCallback(MethodProfile*)
> > > >
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/EBProfileCollector.cpp:192)
> > > >     [junit]  29: eb_profiler_sync_mode_callback(void*)
> > > >
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/EBProfileCollector.cpp:92)
> > > >     [junit]  30: 0x0000002A98303084  <Generated stub>
> > > >     [junit]  31: ?? (??:-1)
> > > >     [junit]  32:
> > > >
> java/lang/String.getCharset(Ljava/lang/String;)Ljava/nio/charset/Charset;
> > > >
> > > > (String.java:892)
> > > >     [junit]  33: java/lang/String.getBytes(Ljava/lang/String;)[B
> > > > (String.java:883)
> > > >     [junit]  34: ?? (??:-1)
> > > >     [junit]  35: JIT_execute_method_default(void*, _jmethodID*,
> > > > jvalue*, jvalue*)
> > > >
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/util/em64t/base/ini_em64t.cpp:346)
> > > >     [junit]  36: DrlEMImpl::executeMethod(_jmethodID*, jvalue*,
> > > > jvalue*)
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:510)
> > > >
> > > >     [junit]  37: ExecuteMethod
> > > >
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/em_intf.cpp:44)
> > > >     [junit]  38: vm_execute_java_method_array(_jmethodID*, jvalue*,
> > > > jvalue*)
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/ini.cpp:56)
> > > >
> > > >     [junit]  39: call_method_no_ref_result
> > > >
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:188)
> > > >     [junit]  40: CallVoidMethodA(JNIEnv_External*, _jobject*,
> > > > _jmethodID*, jvalue*)
> > > >
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:226)
> > > >     [junit]  41: invoke_primitive_method
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMReflection.cpp:188)
> > > >
> > > >     [junit]  42:
> > > > org/apache/harmony/luni/tests/java/lang/String2Test.test_getBytes()V
> > > > (String2Test.java:380)
> > > >     [junit]  43: 0x0000002AAA460CD6  <Generated stub>
> > > >     [junit]  44: ?? (??:-1)
> > > >     [junit]  45:
> > > >
> > > >
> java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
> > > > (Method.java:382)
> > > >     [junit]  46: junit/framework/TestCase.runTest()V (TestCase.java
> :154)
> > > >     [junit]  47: junit/framework/TestCase.runBare()V ( TestCase.java
> > > > :127)
> > > >     [junit]  48: junit/framework/TestResult$1.protect()V (
> > > > TestResult.java:106)
> > > >     [junit]  49:
> > > >
> > > >
> junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
> > > > (TestResult.java:124)
> > > >     [junit]  50:
> > > > junit/framework/TestResult.run(Ljunit/framework/TestCase;)V
> > > > (TestResult.java:109)
> > > >     [junit]  51:
> > > > junit/framework/TestCase.run(Ljunit/framework/TestResult;)V
> > > > (TestCase.java :118)
> > > >     [junit]  52:
> > > >
> > > >
> junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
> > > > (TestSuite.java:208)
> > > >     [junit]  53:
> > > > junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V
> > > > (TestSuite.java:203)
> > > >     [junit]  54:
> > > > org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.run()V
> > > > (JUnitTestRunner.java:297)
> > > >     [junit]  55:
> > > >
> 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]  56: ?? (??:-1)
> > > >     [junit]  57: JIT_execute_method_default(void*, _jmethodID*,
> > > > jvalue*, jvalue*)
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/util/em64t/base/ini_em64t.cpp:346)
> > > >
> > > >     [junit]  58: DrlEMImpl::executeMethod(_jmethodID*, jvalue*,
> > > > jvalue*)
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:510)
> > > >     [junit]  59: ExecuteMethod
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/em_intf.cpp:44)
> > > >
> > > >     [junit]  60: vm_execute_java_method_array(_jmethodID*, jvalue*,
> > > > jvalue*)
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/ini.cpp:56)
> > > >     [junit]  61: call_static_method_no_ref_result
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1155)
> > > >
> > > >     [junit]  62: CallStaticVoidMethodA(JNIEnv_External*, _jobject*,
> > > > _jmethodID*, jvalue*)
> > > >
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1563)
> > > >     [junit]  63: CallStaticVoidMethodV(JNIEnv_External*, _jobject*,
> > > > _jmethodID*, __va_list_tag*)
> > > >
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1547)
> > > >     [junit]  64: CallStaticVoidMethod(JNIEnv_External*, _jobject*,
> > > > _jmethodID*, ...)
> > > >
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1537)
> > > >
> > > >     [junit]  65: main_runJavaMain (../shared/main.c:1332)
> > > >     [junit]  66: invocation (../shared/main.c:742)
> > > >     [junit]  67: gpProtectedMain (../shared/main.c:391)
> > > >     [junit]  68: main (../shared/cmain.c:147)
> > > >     [junit]  69: __libc_start_main (??:-1)
> > > >     [junit]  70:
> > > >
> > > >
> org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.main([Ljava/lang/String;)V
> > > > (JUnitTestRunner.java:567)
> > > >     [junit] <end of stack trace>
> > > >     [junit] Test
> org.apache.harmony.luni.tests.java.lang.String2TestFAILED
> > > >
> > >
> > >
> > >
> > > --
> > > Mikhail Fursov
> >
> >
> >
> >
> > --
> > Mikhail Fursov
> >
>



-- 
Mikhail Fursov

Re: [drlvm]classlib tests failed on Linux x86_64

Posted by Vladimir Ivanov <iv...@gmail.com>.
Actually, CC/CI systems is down due to this issue.
It will nice if you fix it.

 thanks, Vladimir

On 4/26/07, Mikhail Fursov <mi...@gmail.com> wrote:
> If you need proceed your work right now the easiest fix is commenting out
> this assertion.
>
> On 4/26/07, Mikhail Fursov <mi...@gmail.com> wrote:
> >
> > Vladimir,
> > I know this issue. It's not critical and affects debug build only:
> > checking routine is not correct for some em64t instructions.
> > Give me an hour or two to fix it for em64t platform.
> >
> >
> > On 4/26/07, Vladimir Ivanov <iv...@gmail.com> wrote:
> > >
> > > Hello everyone,
> > > today the classlib tests failed on Linux x86_64.
> > >
> > > thanks, Vladimir
> > >
> > > Execution log:
> > >
> > >     [junit] java:
> > > /export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:137:
> > >
> > > void
> > > Jitrino::Ia32::checkManaged2UnmanagedConv(Jitrino::Ia32::IRManager&,
> > > Jitrino::Ia32::Opnd*, Jitrino::Ia32::Inst*): Assertion `0' failed.
> > >     [junit] SIGABRT in VM code.
> > >     [junit] Stack trace:
> > >     [junit]   0: raise (??:-1)
> > >     [junit]   1: abort (??:-1)
> > >     [junit]   2: new_do_write (??:-1)
> > >     [junit]   3: _IO_file_xsputn@@GLIBC_2.2.5 (??:-1)
> > >     [junit]   4: ?? (??:-1)
> > >     [junit]   5: ?? (??:-1)
> > >     [junit]   6: ?? (??:-1)
> > >     [junit]   7: free (??:-1)
> > >     [junit]   8: __assert_fail (??:-1)
> > >     [junit]   9: ?? (??:-1)
> > >     [junit]  10: ?? (??:-1)
> > >     [junit]  11: std::basic_ostream<char, std::char_traits<char> >&
> > > std::flush<char, std::char_traits<char> >(std::basic_ostream<char,
> > > std::char_traits<char> >&) (??:-1)
> > >     [junit]  12: checkManaged2UnmanagedConv
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:121)
> > >
> > >     [junit]  13:
> > > Jitrino::Ia32::GCMap::registerGCSafePoint(Jitrino::Ia32::IRManager&,
> > > Jitrino::BitSet const&, Jitrino::Ia32::Inst*)
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:174)
> > >
> > >     [junit]  14: ?? (0x387688
> > >     [junit] :-1)
> > >     [junit]  15: Jitrino::CompilationContext::getCurrentContext()
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/CompilationContext.cpp:86)
> > >
> > >     [junit]  16:
> > > Jitrino::Ia32::GCMap::processBasicBlock(Jitrino::Ia32::IRManager&,
> > > Jitrino::Node const*)
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:70)
> > >
> > >     [junit]  17:
> > > Jitrino::Ia32::GCMap::registerInsts(Jitrino::Ia32::IRManager&)
> > >
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:51)
> > >     [junit]  18: Jitrino::Ia32::GCMapCreator::runImpl()
> > >
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:505)
> > >     [junit]  19: Jitrino::Ia32::SessionAction::run()
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32IRManager.cpp:2271)
> > >
> > >     [junit]  20: Jitrino::runPipeline(Jitrino::CompilationContext*)
> > >
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:228)
> > >     [junit]  21: Jitrino::compileMethod(Jitrino::CompilationContext*)
> > >
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:265)
> > >     [junit]  22:
> > > Jitrino::Jitrino::CompileMethod(Jitrino::CompilationContext*)
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:287)
> > >
> > >     [junit]  23: JIT_compile_method_with_params
> > >
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/vm/drl/DrlJITInterface.cpp:279)
> > >     [junit]  24: Dll_JIT::compile_method_with_params(void*, Method*,
> > > OpenMethodExecutionParams)
> > >
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/include/dll_jit_intf.h:86)
> > >     [junit]  25: compile_do_compilation_jit(Method*, JIT*)
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/compile.cpp:657)
> > >
> > >     [junit]  26: vm_compile_method
> > >
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/class_support/C_Interface.cpp:2493)
> > >     [junit]  27: DrlEMImpl::methodProfileIsReady(MethodProfile*)
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:772)
> > >
> > >     [junit]  28:
> > > EBProfileCollector::syncModeJitCallback(MethodProfile*)
> > >
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/EBProfileCollector.cpp:192)
> > >     [junit]  29: eb_profiler_sync_mode_callback(void*)
> > >
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/EBProfileCollector.cpp:92)
> > >     [junit]  30: 0x0000002A98303084  <Generated stub>
> > >     [junit]  31: ?? (??:-1)
> > >     [junit]  32:
> > > java/lang/String.getCharset(Ljava/lang/String;)Ljava/nio/charset/Charset;
> > >
> > > (String.java:892)
> > >     [junit]  33: java/lang/String.getBytes(Ljava/lang/String;)[B
> > > (String.java:883)
> > >     [junit]  34: ?? (??:-1)
> > >     [junit]  35: JIT_execute_method_default(void*, _jmethodID*,
> > > jvalue*, jvalue*)
> > >
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/util/em64t/base/ini_em64t.cpp:346)
> > >     [junit]  36: DrlEMImpl::executeMethod(_jmethodID*, jvalue*,
> > > jvalue*)
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:510)
> > >
> > >     [junit]  37: ExecuteMethod
> > >
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/em_intf.cpp:44)
> > >     [junit]  38: vm_execute_java_method_array(_jmethodID*, jvalue*,
> > > jvalue*)
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/ini.cpp:56)
> > >
> > >     [junit]  39: call_method_no_ref_result
> > >
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:188)
> > >     [junit]  40: CallVoidMethodA(JNIEnv_External*, _jobject*,
> > > _jmethodID*, jvalue*)
> > >
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:226)
> > >     [junit]  41: invoke_primitive_method
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMReflection.cpp:188)
> > >
> > >     [junit]  42:
> > > org/apache/harmony/luni/tests/java/lang/String2Test.test_getBytes()V
> > > (String2Test.java:380)
> > >     [junit]  43: 0x0000002AAA460CD6  <Generated stub>
> > >     [junit]  44: ?? (??:-1)
> > >     [junit]  45:
> > >
> > > java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
> > > (Method.java:382)
> > >     [junit]  46: junit/framework/TestCase.runTest()V (TestCase.java:154)
> > >     [junit]  47: junit/framework/TestCase.runBare()V ( TestCase.java
> > > :127)
> > >     [junit]  48: junit/framework/TestResult$1.protect()V (
> > > TestResult.java:106)
> > >     [junit]  49:
> > >
> > > junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
> > > (TestResult.java:124)
> > >     [junit]  50:
> > > junit/framework/TestResult.run(Ljunit/framework/TestCase;)V
> > > (TestResult.java:109)
> > >     [junit]  51:
> > > junit/framework/TestCase.run(Ljunit/framework/TestResult;)V
> > > (TestCase.java :118)
> > >     [junit]  52:
> > >
> > > junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
> > > (TestSuite.java:208)
> > >     [junit]  53:
> > > junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V
> > > (TestSuite.java:203)
> > >     [junit]  54:
> > > org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.run()V
> > > (JUnitTestRunner.java:297)
> > >     [junit]  55:
> > > 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]  56: ?? (??:-1)
> > >     [junit]  57: JIT_execute_method_default(void*, _jmethodID*,
> > > jvalue*, jvalue*)
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/util/em64t/base/ini_em64t.cpp:346)
> > >
> > >     [junit]  58: DrlEMImpl::executeMethod(_jmethodID*, jvalue*,
> > > jvalue*)
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:510)
> > >     [junit]  59: ExecuteMethod
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/em_intf.cpp:44)
> > >
> > >     [junit]  60: vm_execute_java_method_array(_jmethodID*, jvalue*,
> > > jvalue*)
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/ini.cpp:56)
> > >     [junit]  61: call_static_method_no_ref_result
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1155)
> > >
> > >     [junit]  62: CallStaticVoidMethodA(JNIEnv_External*, _jobject*,
> > > _jmethodID*, jvalue*)
> > >
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1563)
> > >     [junit]  63: CallStaticVoidMethodV(JNIEnv_External*, _jobject*,
> > > _jmethodID*, __va_list_tag*)
> > >
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1547)
> > >     [junit]  64: CallStaticVoidMethod(JNIEnv_External*, _jobject*,
> > > _jmethodID*, ...)
> > > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1537)
> > >
> > >     [junit]  65: main_runJavaMain (../shared/main.c:1332)
> > >     [junit]  66: invocation (../shared/main.c:742)
> > >     [junit]  67: gpProtectedMain (../shared/main.c:391)
> > >     [junit]  68: main (../shared/cmain.c:147)
> > >     [junit]  69: __libc_start_main (??:-1)
> > >     [junit]  70:
> > >
> > > org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.main([Ljava/lang/String;)V
> > > (JUnitTestRunner.java:567)
> > >     [junit] <end of stack trace>
> > >     [junit] Test org.apache.harmony.luni.tests.java.lang.String2TestFAILED
> > >
> >
> >
> >
> > --
> > Mikhail Fursov
>
>
>
>
> --
> Mikhail Fursov
>

Re: [drlvm]classlib tests failed on Linux x86_64

Posted by Mikhail Fursov <mi...@gmail.com>.
If you need proceed your work right now the easiest fix is commenting out
this assertion.

On 4/26/07, Mikhail Fursov <mi...@gmail.com> wrote:
>
> Vladimir,
> I know this issue. It's not critical and affects debug build only:
> checking routine is not correct for some em64t instructions.
> Give me an hour or two to fix it for em64t platform.
>
>
> On 4/26/07, Vladimir Ivanov <iv...@gmail.com> wrote:
> >
> > Hello everyone,
> > today the classlib tests failed on Linux x86_64.
> >
> > thanks, Vladimir
> >
> > Execution log:
> >
> >     [junit] java:
> > /export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:137:
> >
> > void
> > Jitrino::Ia32::checkManaged2UnmanagedConv(Jitrino::Ia32::IRManager&,
> > Jitrino::Ia32::Opnd*, Jitrino::Ia32::Inst*): Assertion `0' failed.
> >     [junit] SIGABRT in VM code.
> >     [junit] Stack trace:
> >     [junit]   0: raise (??:-1)
> >     [junit]   1: abort (??:-1)
> >     [junit]   2: new_do_write (??:-1)
> >     [junit]   3: _IO_file_xsputn@@GLIBC_2.2.5 (??:-1)
> >     [junit]   4: ?? (??:-1)
> >     [junit]   5: ?? (??:-1)
> >     [junit]   6: ?? (??:-1)
> >     [junit]   7: free (??:-1)
> >     [junit]   8: __assert_fail (??:-1)
> >     [junit]   9: ?? (??:-1)
> >     [junit]  10: ?? (??:-1)
> >     [junit]  11: std::basic_ostream<char, std::char_traits<char> >&
> > std::flush<char, std::char_traits<char> >(std::basic_ostream<char,
> > std::char_traits<char> >&) (??:-1)
> >     [junit]  12: checkManaged2UnmanagedConv
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:121)
> >
> >     [junit]  13:
> > Jitrino::Ia32::GCMap::registerGCSafePoint(Jitrino::Ia32::IRManager&,
> > Jitrino::BitSet const&, Jitrino::Ia32::Inst*)
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:174)
> >
> >     [junit]  14: ?? (0x387688
> >     [junit] :-1)
> >     [junit]  15: Jitrino::CompilationContext::getCurrentContext()
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/CompilationContext.cpp:86)
> >
> >     [junit]  16:
> > Jitrino::Ia32::GCMap::processBasicBlock(Jitrino::Ia32::IRManager&,
> > Jitrino::Node const*)
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:70)
> >
> >     [junit]  17:
> > Jitrino::Ia32::GCMap::registerInsts(Jitrino::Ia32::IRManager&)
> >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:51)
> >     [junit]  18: Jitrino::Ia32::GCMapCreator::runImpl()
> >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:505)
> >     [junit]  19: Jitrino::Ia32::SessionAction::run()
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32IRManager.cpp:2271)
> >
> >     [junit]  20: Jitrino::runPipeline(Jitrino::CompilationContext*)
> >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:228)
> >     [junit]  21: Jitrino::compileMethod(Jitrino::CompilationContext*)
> >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:265)
> >     [junit]  22:
> > Jitrino::Jitrino::CompileMethod(Jitrino::CompilationContext*)
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:287)
> >
> >     [junit]  23: JIT_compile_method_with_params
> >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/vm/drl/DrlJITInterface.cpp:279)
> >     [junit]  24: Dll_JIT::compile_method_with_params(void*, Method*,
> > OpenMethodExecutionParams)
> >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/include/dll_jit_intf.h:86)
> >     [junit]  25: compile_do_compilation_jit(Method*, JIT*)
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/compile.cpp:657)
> >
> >     [junit]  26: vm_compile_method
> >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/class_support/C_Interface.cpp:2493)
> >     [junit]  27: DrlEMImpl::methodProfileIsReady(MethodProfile*)
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:772)
> >
> >     [junit]  28:
> > EBProfileCollector::syncModeJitCallback(MethodProfile*)
> >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/EBProfileCollector.cpp:192)
> >     [junit]  29: eb_profiler_sync_mode_callback(void*)
> >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/EBProfileCollector.cpp:92)
> >     [junit]  30: 0x0000002A98303084  <Generated stub>
> >     [junit]  31: ?? (??:-1)
> >     [junit]  32:
> > java/lang/String.getCharset(Ljava/lang/String;)Ljava/nio/charset/Charset;
> >
> > (String.java:892)
> >     [junit]  33: java/lang/String.getBytes(Ljava/lang/String;)[B
> > (String.java:883)
> >     [junit]  34: ?? (??:-1)
> >     [junit]  35: JIT_execute_method_default(void*, _jmethodID*,
> > jvalue*, jvalue*)
> >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/util/em64t/base/ini_em64t.cpp:346)
> >     [junit]  36: DrlEMImpl::executeMethod(_jmethodID*, jvalue*,
> > jvalue*)
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:510)
> >
> >     [junit]  37: ExecuteMethod
> >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/em_intf.cpp:44)
> >     [junit]  38: vm_execute_java_method_array(_jmethodID*, jvalue*,
> > jvalue*)
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/ini.cpp:56)
> >
> >     [junit]  39: call_method_no_ref_result
> >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:188)
> >     [junit]  40: CallVoidMethodA(JNIEnv_External*, _jobject*,
> > _jmethodID*, jvalue*)
> >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:226)
> >     [junit]  41: invoke_primitive_method
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMReflection.cpp:188)
> >
> >     [junit]  42:
> > org/apache/harmony/luni/tests/java/lang/String2Test.test_getBytes()V
> > (String2Test.java:380)
> >     [junit]  43: 0x0000002AAA460CD6  <Generated stub>
> >     [junit]  44: ?? (??:-1)
> >     [junit]  45:
> >
> > java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
> > (Method.java:382)
> >     [junit]  46: junit/framework/TestCase.runTest()V (TestCase.java:154)
> >     [junit]  47: junit/framework/TestCase.runBare()V ( TestCase.java
> > :127)
> >     [junit]  48: junit/framework/TestResult$1.protect()V (
> > TestResult.java:106)
> >     [junit]  49:
> >
> > junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
> > (TestResult.java:124)
> >     [junit]  50:
> > junit/framework/TestResult.run(Ljunit/framework/TestCase;)V
> > (TestResult.java:109)
> >     [junit]  51:
> > junit/framework/TestCase.run(Ljunit/framework/TestResult;)V
> > (TestCase.java :118)
> >     [junit]  52:
> >
> > junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
> > (TestSuite.java:208)
> >     [junit]  53:
> > junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V
> > (TestSuite.java:203)
> >     [junit]  54:
> > org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.run()V
> > (JUnitTestRunner.java:297)
> >     [junit]  55:
> > 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]  56: ?? (??:-1)
> >     [junit]  57: JIT_execute_method_default(void*, _jmethodID*,
> > jvalue*, jvalue*)
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/util/em64t/base/ini_em64t.cpp:346)
> >
> >     [junit]  58: DrlEMImpl::executeMethod(_jmethodID*, jvalue*,
> > jvalue*)
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:510)
> >     [junit]  59: ExecuteMethod
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/em_intf.cpp:44)
> >
> >     [junit]  60: vm_execute_java_method_array(_jmethodID*, jvalue*,
> > jvalue*)
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/ini.cpp:56)
> >     [junit]  61: call_static_method_no_ref_result
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1155)
> >
> >     [junit]  62: CallStaticVoidMethodA(JNIEnv_External*, _jobject*,
> > _jmethodID*, jvalue*)
> >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1563)
> >     [junit]  63: CallStaticVoidMethodV(JNIEnv_External*, _jobject*,
> > _jmethodID*, __va_list_tag*)
> >
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1547)
> >     [junit]  64: CallStaticVoidMethod(JNIEnv_External*, _jobject*,
> > _jmethodID*, ...)
> > (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1537)
> >
> >     [junit]  65: main_runJavaMain (../shared/main.c:1332)
> >     [junit]  66: invocation (../shared/main.c:742)
> >     [junit]  67: gpProtectedMain (../shared/main.c:391)
> >     [junit]  68: main (../shared/cmain.c:147)
> >     [junit]  69: __libc_start_main (??:-1)
> >     [junit]  70:
> >
> > org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.main([Ljava/lang/String;)V
> > (JUnitTestRunner.java:567)
> >     [junit] <end of stack trace>
> >     [junit] Test org.apache.harmony.luni.tests.java.lang.String2TestFAILED
> >
>
>
>
> --
> Mikhail Fursov




-- 
Mikhail Fursov

Re: [drlvm]classlib tests failed on Linux x86_64

Posted by Mikhail Fursov <mi...@gmail.com>.
Vladimir,
I know this issue. It's not critical and affects debug build only: checking
routine is not correct for some em64t instructions.
Give me an hour or two to fix it for em64t platform.


On 4/26/07, Vladimir Ivanov <iv...@gmail.com> wrote:
>
> Hello everyone,
> today the classlib tests failed on Linux x86_64.
>
> thanks, Vladimir
>
> Execution log:
>
>     [junit] java:
>
> /export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:137:
> void Jitrino::Ia32::checkManaged2UnmanagedConv(Jitrino::Ia32::IRManager&,
> Jitrino::Ia32::Opnd*, Jitrino::Ia32::Inst*): Assertion `0' failed.
>     [junit] SIGABRT in VM code.
>     [junit] Stack trace:
>     [junit]   0: raise (??:-1)
>     [junit]   1: abort (??:-1)
>     [junit]   2: new_do_write (??:-1)
>     [junit]   3: _IO_file_xsputn@@GLIBC_2.2.5 (??:-1)
>     [junit]   4: ?? (??:-1)
>     [junit]   5: ?? (??:-1)
>     [junit]   6: ?? (??:-1)
>     [junit]   7: free (??:-1)
>     [junit]   8: __assert_fail (??:-1)
>     [junit]   9: ?? (??:-1)
>     [junit]  10: ?? (??:-1)
>     [junit]  11: std::basic_ostream<char, std::char_traits<char> >&
> std::flush<char, std::char_traits<char> >(std::basic_ostream<char,
> std::char_traits<char> >&) (??:-1)
>     [junit]  12: checkManaged2UnmanagedConv
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:121)
>     [junit]  13:
> Jitrino::Ia32::GCMap::registerGCSafePoint(Jitrino::Ia32::IRManager&,
> Jitrino::BitSet const&, Jitrino::Ia32::Inst*)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:174)
>     [junit]  14: ?? (0x387688
>     [junit] :-1)
>     [junit]  15: Jitrino::CompilationContext::getCurrentContext()
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/CompilationContext.cpp:86)
>     [junit]  16:
> Jitrino::Ia32::GCMap::processBasicBlock(Jitrino::Ia32::IRManager&,
> Jitrino::Node const*)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:70)
>     [junit]  17:
> Jitrino::Ia32::GCMap::registerInsts(Jitrino::Ia32::IRManager&)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:51)
>     [junit]  18: Jitrino::Ia32::GCMapCreator::runImpl()
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp:505)
>     [junit]  19: Jitrino::Ia32::SessionAction::run()
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32IRManager.cpp:2271)
>     [junit]  20: Jitrino::runPipeline(Jitrino::CompilationContext*)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:228)
>     [junit]  21: Jitrino::compileMethod(Jitrino::CompilationContext*)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:265)
>     [junit]  22:
> Jitrino::Jitrino::CompileMethod(Jitrino::CompilationContext*)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/main/Jitrino.cpp:287)
>     [junit]  23: JIT_compile_method_with_params
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/jitrino/src/vm/drl/DrlJITInterface.cpp:279)
>     [junit]  24: Dll_JIT::compile_method_with_params(void*, Method*,
> OpenMethodExecutionParams)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/include/dll_jit_intf.h:86)
>     [junit]  25: compile_do_compilation_jit(Method*, JIT*)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/compile.cpp:657)
>     [junit]  26: vm_compile_method
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/class_support/C_Interface.cpp:2493)
>     [junit]  27: DrlEMImpl::methodProfileIsReady(MethodProfile*)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:772)
>     [junit]  28:
> EBProfileCollector::syncModeJitCallback(MethodProfile*)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/EBProfileCollector.cpp:192)
>     [junit]  29: eb_profiler_sync_mode_callback(void*)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/EBProfileCollector.cpp:92)
>     [junit]  30: 0x0000002A98303084  <Generated stub>
>     [junit]  31: ?? (??:-1)
>     [junit]  32:
> java/lang/String.getCharset(Ljava/lang/String;)Ljava/nio/charset/Charset;
> (String.java:892)
>     [junit]  33: java/lang/String.getBytes(Ljava/lang/String;)[B
> (String.java:883)
>     [junit]  34: ?? (??:-1)
>     [junit]  35: JIT_execute_method_default(void*, _jmethodID*,
> jvalue*, jvalue*)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/util/em64t/base/ini_em64t.cpp:346)
>     [junit]  36: DrlEMImpl::executeMethod(_jmethodID*, jvalue*,
> jvalue*)
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:510)
>     [junit]  37: ExecuteMethod
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/em_intf.cpp:44)
>     [junit]  38: vm_execute_java_method_array(_jmethodID*, jvalue*,
> jvalue*)
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/ini.cpp:56)
>     [junit]  39: call_method_no_ref_result
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:188)
>     [junit]  40: CallVoidMethodA(JNIEnv_External*, _jobject*,
> _jmethodID*, jvalue*)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:226)
>     [junit]  41: invoke_primitive_method
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/kernel_classes/native/java_lang_reflect_VMReflection.cpp:188)
>     [junit]  42:
> org/apache/harmony/luni/tests/java/lang/String2Test.test_getBytes()V
> (String2Test.java:380)
>     [junit]  43: 0x0000002AAA460CD6  <Generated stub>
>     [junit]  44: ?? (??:-1)
>     [junit]  45:
>
> java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
> (Method.java:382)
>     [junit]  46: junit/framework/TestCase.runTest()V (TestCase.java:154)
>     [junit]  47: junit/framework/TestCase.runBare()V (TestCase.java:127)
>     [junit]  48: junit/framework/TestResult$1.protect()V (TestResult.java
> :106)
>     [junit]  49:
>
> junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
> (TestResult.java:124)
>     [junit]  50:
> junit/framework/TestResult.run(Ljunit/framework/TestCase;)V
> (TestResult.java:109)
>     [junit]  51:
> junit/framework/TestCase.run(Ljunit/framework/TestResult;)V
> (TestCase.java:118)
>     [junit]  52:
>
> junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
> (TestSuite.java:208)
>     [junit]  53:
> junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V
> (TestSuite.java:203)
>     [junit]  54:
> org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.run()V
> (JUnitTestRunner.java:297)
>     [junit]  55:
>
> 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]  56: ?? (??:-1)
>     [junit]  57: JIT_execute_method_default(void*, _jmethodID*,
> jvalue*, jvalue*)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/util/em64t/base/ini_em64t.cpp:346)
>     [junit]  58: DrlEMImpl::executeMethod(_jmethodID*, jvalue*,
> jvalue*)
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/DrlEMImpl.cpp:510)
>     [junit]  59: ExecuteMethod
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/em/src/em_intf.cpp:44)
>     [junit]  60: vm_execute_java_method_array(_jmethodID*, jvalue*,
> jvalue*)
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jit/ini.cpp:56)
>     [junit]  61: call_static_method_no_ref_result
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1155)
>     [junit]  62: CallStaticVoidMethodA(JNIEnv_External*, _jobject*,
> _jmethodID*, jvalue*)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1563)
>     [junit]  63: CallStaticVoidMethodV(JNIEnv_External*, _jobject*,
> _jmethodID*, __va_list_tag*)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1547)
>     [junit]  64: CallStaticVoidMethod(JNIEnv_External*, _jobject*,
> _jmethodID*, ...)
>
> (/export/users/viv/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/jni/jni_method.cpp:1537)
>     [junit]  65: main_runJavaMain (../shared/main.c:1332)
>     [junit]  66: invocation (../shared/main.c:742)
>     [junit]  67: gpProtectedMain (../shared/main.c:391)
>     [junit]  68: main (../shared/cmain.c:147)
>     [junit]  69: __libc_start_main (??:-1)
>     [junit]  70:
>
> org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.main([Ljava/lang/String;)V
> (JUnitTestRunner.java:567)
>     [junit] <end of stack trace>
>     [junit] Test org.apache.harmony.luni.tests.java.lang.String2TestFAILED
>



-- 
Mikhail Fursov