harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov" <alexey.v.varla...@gmail.com>
Subject Re: [testing] today’s failures of classlib tests on Linux to investigate
Date Wed, 07 Mar 2007 10:51:29 GMT
FYI, I've got the following backtraces on SUSE9@ia32:

    [junit] SIGSEGV in VM code.
    [junit] Stack trace:
    [junit] 	0: hysock_getaddrinfo_family
(/export/users/avarlamo/linux.ia32/svn-repo/classlib/modules/portlib/src/main/native/port/unix/hysock.c:1096)
    [junit] 	1: Java_java_net_InetAddress_getHostByNameImpl
(../shared/inetadds.c:184)
    [junit] 	2: <Generated stub> IP is 0x53a12a42
    [junit] 	3:
java/net/InetAddress.lookupHostByName(Ljava/lang/String;)Ljava/net/InetAddress;
(InetAddress.java:434)
    [junit] 	4:
java/net/InetAddress.getByName(Ljava/lang/String;)Ljava/net/InetAddress;
(InetAddress.java:273)
    [junit] 	5:
java/net/InetSocketAddress.<init>(Ljava/lang/String;IZ)V
(InetSocketAddress.java:66)
    [junit] 	6:
java/net/InetSocketAddress.<init>(Ljava/lang/String;I)V
(InetSocketAddress.java:51)
    [junit] 	7:
org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.getHTTPConnection(Ljava/net/Proxy;)Ljava/net/Socket;
(HttpURLConnection.java:635)
    [junit] 	8:
org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.connect()V
(HttpURLConnection.java:619)
    [junit] 	9:
org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.getInputStream()Ljava/io/InputStream;
(HttpURLConnection.java:870)
    [junit] 	10: java/net/URL.openStream()Ljava/io/InputStream; (URL.java:664)
    [junit] 	11:
org/apache/harmony/archive/tests/java/util/jar/JarFileTest.test_getJarEntryLjava_lang_String()V
(JarFileTest.java:151)
    [junit] 	12: vm_invoke_native_array_stub
(/export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
    [junit] 	13: .L49 (??:-1)
    [junit] 	14: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
    [junit] 	15: ExecuteMethod (??:-1)
    [junit] 	16: vm_execute_java_method_array(_jmethodID*, jvalue*,
jvalue*) (??:-1)
    [junit] 	17: call_method_no_ref_result(JNIEnv_External*,
_jobject*, _jmethodID*, jvalue*, jvalue*, int) (??:-1)
    [junit] 	18: .L551 (??:-1)
    [junit] 	19: <Generated stub> IP is 0x53652717
    [junit] 	20:
java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(Method.java:381)
    [junit] 	21: junit/framework/TestCase.runTest()V (TestCase.java:154)
    [junit] 	22: junit/framework/TestCase.runBare()V (TestCase.java:127)
    [junit] 	23: junit/framework/TestResult$1.protect()V (TestResult.java:106)
    [junit] 	24:
junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
(TestResult.java:124)
    [junit] 	25:
junit/framework/TestResult.run(Ljunit/framework/TestCase;)V
(TestResult.java:109)
    [junit] 	26:
junit/framework/TestCase.run(Ljunit/framework/TestResult;)V
(TestCase.java:118)
    [junit] 	27:
junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
(TestSuite.java:208)
    [junit] 	28:
junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V
(TestSuite.java:203)
    [junit] 	29:
org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.run()V
(JUnitTestRunner.java:297)
    [junit] 	30:
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] 	31:
org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.main([Ljava/lang/String;)V
(JUnitTestRunner.java:546)
    [junit] 	32: vm_invoke_native_array_stub
(/export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
    [junit] 	33: .L49 (??:-1)
    [junit] 	34: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
    [junit] 	35: ExecuteMethod (??:-1)
    [junit] 	36: vm_execute_java_method_array(_jmethodID*, jvalue*,
jvalue*) (??:-1)
    [junit] 	37: call_static_method_no_ref_result(JNIEnv_External*,
_jobject*, _jmethodID*, jvalue*, jvalue*) (??:-1)
    [junit] 	38: CallStaticVoidMethodV(JNIEnv_External*, _jobject*,
_jmethodID*, char*) (??:-1)
    [junit] 	39: CallStaticVoidMethod(JNIEnv_External*, _jobject*,
_jmethodID*, ...) (??:-1)
    [junit] 	40: ?? (??:-1)
    [junit] 	41: ?? (??:-1)
    [junit] 	42: ?? (??:-1)
    [junit] 	43: ?? (??:-1)
    [junit] 	44: __libc_start_main (??:-1)
    [junit] 	45: ?? (??:-1)
    [junit] <end of stack trace>
    [junit] Tests FAILED


    [junit] SIGSEGV in VM code.
    [junit] Stack trace:
    [junit] 	0: hysock_getaddrinfo_family
(/export/users/avarlamo/linux.ia32/svn-repo/classlib/modules/portlib/src/main/native/port/unix/hysock.c:1096)
    [junit] 	1: Java_java_net_InetAddress_getHostByNameImpl
(../shared/inetadds.c:184)
    [junit] 	2: <Generated stub> IP is 0x53c36222
    [junit] 	3:
java/net/InetAddress.lookupHostByName(Ljava/lang/String;)Ljava/net/InetAddress;
(InetAddress.java:434)
    [junit] 	4:
java/net/InetAddress.getByName(Ljava/lang/String;)Ljava/net/InetAddress;
(InetAddress.java:273)
    [junit] 	5:
java/net/InetSocketAddress.<init>(Ljava/lang/String;IZ)V
(InetSocketAddress.java:66)
    [junit] 	6:
java/net/InetSocketAddress.<init>(Ljava/lang/String;I)V
(InetSocketAddress.java:51)
    [junit] 	7:
org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.getHTTPConnection(Ljava/net/Proxy;)Ljava/net/Socket;
(HttpURLConnection.java:635)
    [junit] 	8:
org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.connect()V
(HttpURLConnection.java:619)
    [junit] 	9:
org/apache/harmony/luni/internal/net/www/protocol/http/HttpURLConnection.getInputStream()Ljava/io/InputStream;
(HttpURLConnection.java:870)
    [junit] 	10: java/net/URL.openStream()Ljava/io/InputStream; (URL.java:664)
    [junit] 	11:
org/apache/harmony/security/tests/java/security/cert/CertificateFactory4Test.test_generateCertificatesLjava_io_InputStream()V
(CertificateFactory4Test.java:91)
    [junit] 	12: vm_invoke_native_array_stub
(/export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
    [junit] 	13: .L49 (??:-1)
    [junit] 	14: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
    [junit] 	15: ExecuteMethod (??:-1)
    [junit] 	16: vm_execute_java_method_array(_jmethodID*, jvalue*,
jvalue*) (??:-1)
    [junit] 	17: call_method_no_ref_result(JNIEnv_External*,
_jobject*, _jmethodID*, jvalue*, jvalue*, int) (??:-1)
    [junit] 	18: .L551 (??:-1)
    [junit] 	19: <Generated stub> IP is 0x5373ea57
    [junit] 	20:
java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(Method.java:381)
    [junit] 	21: junit/framework/TestCase.runTest()V (TestCase.java:154)
    [junit] 	22: junit/framework/TestCase.runBare()V (TestCase.java:127)
    [junit] 	23: junit/framework/TestResult$1.protect()V (TestResult.java:106)
    [junit] 	24:
junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
(TestResult.java:124)
    [junit] 	25:
junit/framework/TestResult.run(Ljunit/framework/TestCase;)V
(TestResult.java:109)
    [junit] 	26:
junit/framework/TestCase.run(Ljunit/framework/TestResult;)V
(TestCase.java:118)
    [junit] 	27:
junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
(TestSuite.java:208)
    [junit] 	28:
junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V
(TestSuite.java:203)
    [junit] 	29:
org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.run()V
(JUnitTestRunner.java:297)
    [junit] 	30:
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] 	31:
org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.main([Ljava/lang/String;)V
(JUnitTestRunner.java:546)
    [junit] 	32: vm_invoke_native_array_stub
(/export/users/avarlamo/linux.ia32/svn-repo/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
    [junit] 	33: .L49 (??:-1)
    [junit] 	34: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (??:-1)
    [junit] 	35: ExecuteMethod (??:-1)
    [junit] 	36: vm_execute_java_method_array(_jmethodID*, jvalue*,
jvalue*) (??:-1)
    [junit] 	37: call_static_method_no_ref_result(JNIEnv_External*,
_jobject*, _jmethodID*, jvalue*, jvalue*) (??:-1)
    [junit] 	38: CallStaticVoidMethodV(JNIEnv_External*, _jobject*,
_jmethodID*, char*) (??:-1)
    [junit] 	39: CallStaticVoidMethod(JNIEnv_External*, _jobject*,
_jmethodID*, ...) (??:-1)
    [junit] 	40: ?? (??:-1)
    [junit] 	41: ?? (??:-1)
    [junit] 	42: ?? (??:-1)
    [junit] 	43: ?? (??:-1)
    [junit] 	44: __libc_start_main (??:-1)
    [junit] 	45: ?? (??:-1)
    [junit] <end of stack trace>
    [junit] Tests FAILED

2007/3/7, Vladimir Ivanov <ivavladimir@gmail.com>:
> On 3/7/07, Ruth Cao <ruoshen.c@gmail.com> wrote:
> > Hello Vladimir,
> >
> > I also run all tests on r515079, DRLVM/RHEL4.x86_64, but only found
> > org.apache.harmony.archive.tests.java.util.jar.JarFileTest crash. Then I
> > revert the change of r514596 back and still have the crash.
>
> Please, be sure that your rebuild the CLASSLIB and DRLVM after your
> revert patch.
>
>
> >
> > It seems to me that I cannot reproduce the failure you mentioned. Would
> > you pls give more information on this issue? Thanks.
>
> Please, write if your need some additional info.
> To reproduce it I use the box
> nstdrlel19:~> uname -a
> Linux nstdrlel19 2.6.5-7.191-smp #1 SMP Tue Jun 28 14:58:56 UTC 2005
> x86_64 x86_64 x86_64 GNU/Linux
> nstdrlel19:classlib/trunk> java -version
> java version "1.5.0_09"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b01)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_09-b01, mixed mode)
>
> My command to run:
> nstdrlel19:classlib/trunk> ant
> -Dtest.jre.home=drlvm/trunk/build/lnx_em64t_gcc_debug/deploy/jdk/jre
> -Dbuild.module=archive test
>
>  thanks, Vladimir
>
> >
> > Vladimir Ivanov wrote:
> > > Hello everybody,
> > > in case if someone miss the CC notification: now the classlib tests
> > > crashed/ hang up on the Linux boxes when run over DRLVM.
> > > Notifications were send ~12hours ago.
> > > Failed tests:
> > > Linux x86_64 (hang up):
> > > TEST-org.apache.harmony.archive.tests.java.util.jar.JarExecTest.xml
> > >
> > > Linux x86 (trying to reproduce):
> > > TEST-org.apache.harmony.archive.tests.java.util.jar.JarFileTest.xml
> > > TEST-org.apache.harmony.security.tests.PolicyEntryTest.xml
> > > TEST-org.apache.harmony.security.tests.java.security.cert.CertificateFactory4Test.xml
> > >
> > >
> > > thanks, Vladimir
> > >
> >
> >
> > --
> > Regards,
> >
> > Ruth Cao
> > China Software Development Lab, IBM
> >
> >
> >
>

Mime
View raw message