harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ivanov" <ivavladi...@gmail.com>
Subject Re: [classlib][awt][testing] test java.awt.font.LineBreakMeasurerTest failed on SUSE linux ia32
Date Mon, 26 Mar 2007 12:22:20 GMT
Thanks to Stepan. When the commit was reverted the
java.awt.font.LineBreakMeasurerTest test passed.
But now the test
org.apache.harmony.luni.tests.java.lang.ThreadGroupTest leads to VM crash:
-------------- log -------------------------------
Running LUNI JUnit Testsjava:
/export/cruise/trunk/cc/projects/drlvm/trunk/vm/thread/src/thread_java_basic.c:486:
jthread_exception_stop: Assertion `tm_native_thread->request > 0'
failed.SIGABRT in VM code.Stack trace:0: raise (??:-1)1: abort
(??:-1)2: new_do_write (??:-1)3: _IO_file_xsputn@@GLIBC_2.2.5
(??:-1)4: ?? (??:-1)5: ?? (??:-1)6: ?? (??:-1)7: free (??:-1)8:
__assert_fail (??:-1)9: ?? (??:-1)10: ?? (??:-1)11:
hythread_set_safepoint_callback
(/export/cruise/trunk/cc/projects/drlvm/trunk/vm/thread/src/thread_native_suspend.c:420)12:
jthread_exception_stop
(/export/cruise/trunk/cc/projects/drlvm/trunk/vm/thread/src/thread_java_basic.c:491)13:
Java_java_lang_VMThreadManager_stop
(/export/cruise/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/kernel_classes/native/java_lang_VMThreadManager.cpp:179)14:
java/lang/VMThreadManager.stop(Ljava/lang/Thread;Ljava/lang/Throwable;)I
(VMThreadManager.java:-2)15:
java/lang/Thread.stop(Ljava/lang/Throwable;)V (Thread.java:848)16:
java/lang/Thread.stop()V (Thread.java:826)17:
org/apache/harmony/luni/tests/java/lang/ThreadGroupTest.test_resume()V
(ThreadGroupTest.java:588)18:
java/lang/reflect/VMReflection.invokeMethod(JLjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(VMReflection.java:-2)19:
java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(Method.java:381)20: junit/framework/TestCase.runTest()V
(TestCase.java:154)21: junit/framework/TestCase.runBare()V
(TestCase.java:127)22: junit/framework/TestResult$1.protect()V
(TestResult.java:106)23:
junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
(TestResult.java:124)24:
junit/framework/TestResult.run(Ljunit/framework/TestCase;)V
(TestResult.java:109)25:
junit/framework/TestCase.run(Ljunit/framework/TestResult;)V
(TestCase.java:118)26:
junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
(TestSuite.java:208)27:
junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V
(TestSuite.java:203)28:
org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.run()V
(JUnitTestRunner.java:297)29:
org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.launch(Lorg/apache/tools/ant/taskdefs/optional/junit/JUnitTest;ZZZZLjava/util/Properties;)I
(JUnitTestRunner.java:672)30:
org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.main([Ljava/lang/String;)V
(JUnitTestRunner.java:546)<end of stack trace>

Seems this failure is intermittent.

 Thanks, Vladimir

On 3/26/07, Alexey Petrenko <alexey.a.petrenko@gmail.com> wrote:
> I can not reproduce the failure on my Fedora ia32 box at the first run.
>
> Will try to reproduce...
>
> SY, Alexey
>
> 2007/3/26, Stepan Mishura <stepan.mishura@gmail.com>:
> > On 3/26/07, Vladimir Ivanov wrote:
> > > Hello everyone,
> > > the test java.awt.font.LineBreakMeasurerTest failed on SUSE linux ia32 today.
> > > Note, this test failed if run in all awt test together and passed if
> > > run with -Dtest.case.
> > >
> >
> > I'm able to reproduce the failure.
> >
> > Looks like commit r521764 is guilty commit - I've reverted and tests
> > passed for me. Alexey (Petrenko) could you verify? :
> >
> > Patch for HARMONY-3443 "[classlib][awt][netbeans] Container.paint() throws NPE"
> >
> > Modified:
> >    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Container.java
> >    harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/ContainerRTest.java
> >
> > Thanks,
> > Stepan.
> >
> > >  thanks, Vlaidmir
> > >
> > > log:
> > >  <testcase classname="java.awt.font.LineBreakMeasurerTest"
> > > name="testNextOffset" time="0.054">
> > >    <failure message="expected:&lt;8&gt; but was:&lt;7&gt;"
> > > type="junit.framework.AssertionFailedError">junit.framework.As
> > >        at java.awt.font.LineBreakMeasurerTest.testNextOffset(LineBreakMeasurerTest.java:164)
> > >        at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> > > </failure>
> > >  </testcase>
> > >  <testcase classname="java.awt.font.LineBreakMeasurerTest"
> > > name="testNextOffset1" time="0.004">
> > >    <failure message="expected:&lt;8&gt; but was:&lt;7&gt;"
> > > type="junit.framework.AssertionFailedError">junit.framework.As
> > >        at java.awt.font.LineBreakMeasurerTest.testNextOffset1(LineBreakMeasurerTest.java:184)
> > >        at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> > > </failure>
> > >
> >
> >
> > --
> > Stepan Mishura
> > Intel Enterprise Solutions Software Division
> >
>

Mime
View raw message