harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Rebriy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5157) [drlvm][jni] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3
Date Fri, 23 Nov 2007 15:22:43 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545050
] 

Pavel Rebriy commented on HARMONY-5157:
---------------------------------------

I've checked the test on Linux and have got the following results:

On Sun test passed.

On JRockit test hands:

java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
BEA JRockit(R) (build R26.3.0-32-58710-1.5.0_06-20060308-2022-linux-ia32, )

[debug] started null(org.apache.harmony.test.share.stress.ReliabilityRunner)
[debug] timeToWork = 30, timeToAbort = 30
[debug] started null(org.apache.harmony.test.share.stress.generator.Thread)
[debug] Thread.setContext  { org.apache.harmony.test.stress.jni.stack.StackTest3 {} }
[debug] Starting 1 threads
[debug] completed null(org.apache.harmony.test.share.stress.generator.Thread)
[debug] ThreadToRun.run()
[debug] Generator.execute()
[debug] class = org.apache.harmony.test.stress.jni.stack.StackTest3
[debug] org.apache.harmony.test.stress.jni.stack.StackTest3 { }
[debug] started test(org.apache.harmony.test.stress.jni.stack.StackTest3)
Native code: Attempt 0
[debug] Stopping the test
[debug] Cannot stop all threads, possibly deadlock occurs. VM will be aborted.
Killed.

On Harmony release (revision 597408) test somehow passed:

java version "1.5.0" 
pre-alpha : not complete or compatible
svn = r@svn.revision@, (Nov 22 2007), Linux/ia32/gcc 4.1.0, release build
http://harmony.apache.org
[debug] started null(org.apache.harmony.test.share.stress.ReliabilityRunner)
[debug] timeToWork = 30, timeToAbort = 30
[debug] started null(org.apache.harmony.test.share.stress.generator.Thread)
[debug] Thread.setContext  { org.apache.harmony.test.stress.jni.stack.StackTest3 {} }
[debug] Starting 1 threads
[debug] ThreadToRun.run()
[debug] completed null(org.apache.harmony.test.share.stress.generator.Thread)
[debug] Generator.execute()
[debug] class = org.apache.harmony.test.stress.jni.stack.StackTest3
[debug] org.apache.harmony.test.stress.jni.stack.StackTest3 { }
[debug] started test(org.apache.harmony.test.stress.jni.stack.StackTest3)
Native code: Cannot set array elements
Native code: Attempt 0
Native code: Cannot set array elements
Native code: Attempt 1
Native code: Cannot set array elements
Native code: Attempt 2
Native code: Cannot set array elements
Native code: Attempt 3
Native code: Cannot set array elements
Native code: Attempt 4
...
Native code: Cannot set array elements
Native code: Attempt 198
Native code: Cannot set array elements
Native code: Attempt 199
Native code: Cannot set array elements
[debug] Working thread: StackTest3 PASSED
[debug] completed test(org.apache.harmony.test.stress.jni.stack.StackTest3)
[debug] Tests completed greacefully
[debug] completed null(org.apache.harmony.test.share.stress.ReliabilityRunner)
[debug] TimeKeeper is interrupted
[debug] Test passed, time = 9383

On Harmony debug (revision 597408) test crashed with the stack:
java version "1.5.0" 
pre-alpha : not complete or compatible
svn = r@svn.revision@, (Nov 21 2007), Linux/ia32/gcc 4.1.0, debug build
http://harmony.apache.org
[debug] started null(org.apache.harmony.test.share.stress.ReliabilityRunner)
[debug] timeToWork = 30, timeToAbort = 30
[debug] started null(org.apache.harmony.test.share.stress.generator.Thread)
[debug] Thread.setContext  { org.apache.harmony.test.stress.jni.stack.StackTest3 {} }
[debug] Starting 1 threads
[debug] ThreadToRun.run()
[debug] completed null(org.apache.harmony.test.share.stress.generator.Thread)
[debug] Generator.execute()
[debug] class = org.apache.harmony.test.stress.jni.stack.StackTest3
[debug] org.apache.harmony.test.stress.jni.stack.StackTest3 { }
[debug] started test(org.apache.harmony.test.stress.jni.stack.StackTest3)
Native code: Cannot get array elements
java: /nfs/ims/proj/drl/mrt2/users/psrebriy/git-master/vm/vmcore/src/util/linux/signals_ia32.cpp:425:
void set_guard_stack(): Assertion `((size_t)(&stack_addr)) > ((size_t)((char*)stack_addr
- stack_size + guard_stack_size + 2 * guard_page_size))' failed.
SIGABRT in VM code.
Stack trace:
addr2line: '[vdso]': No such file
  0: ?? (ó¹- ï¾­Þ@±Ý- ï¾­Þñó¹- 0:-1)
  1: abort (??:-1)
  2: __assert_fail (??:-1)
  3: set_guard_stack() (/nfs/ims/proj/drl/mrt2/users/psrebriy/git-master/vm/vmcore/src/util/linux/signals_ia32.cpp:428)
  4: exception_catch_callback() (/nfs/ims/proj/drl/mrt2/users/psrebriy/git-master/vm/vmcore/src/exception/exceptions_jit.cpp:638)
  5: org/apache/harmony/test/stress/jni/stack/StackTest3.nativeMethod([III)[I (??:-2)
  6: org/apache/harmony/test/stress/jni/stack/StackTest3.nativeMethod([III)[I (??:-2)
  7: org/apache/harmony/test/stress/jni/stack/StackTest3.nativeMethod([III)[I (??:-2)
  8: org/apache/harmony/test/stress/jni/stack/StackTest3.nativeMethod([III)[I (??:-2)
...
534: org/apache/harmony/test/stress/jni/stack/StackTest3.nativeMethod([III)[I (??:-2)
535: org/apache/harmony/test/stress/jni/stack/StackTest3.nativeMethod([III)[I (??:-2)
536: org/apache/harmony/test/stress/jni/stack/StackTest3.doTest()V (??:-1)
537: org/apache/harmony/test/stress/jni/share/STTest.test()V (??:-1)
538: org/apache/harmony/test/stress/jni/stack/share/STStackTest.test()V (??:-1)
539: java/lang/reflect/VMReflection.invokeMethod(JLjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(VMReflection.java:-2)
540: java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(Method.java:317)
541: junit/framework/TestCase.runTest()V (TestCase.java:168)
542: junit/framework/TestCase.runBare()V (TestCase.java:134)
543: junit/framework/TestResult$1.protect()V (TestResult.java:110)
544: junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
(TestResult.java:128)
545: junit/framework/TestResult.run(Ljunit/framework/TestCase;)V (TestResult.java:113)
546: junit/framework/TestCase.run(Ljunit/framework/TestResult;)V (TestCase.java:124)
547: junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
(TestSuite.java:232)
548: junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V (TestSuite.java:227)
549: org/apache/harmony/test/share/stress/generator/Generator.execute()V (??:-1)
550: org/apache/harmony/test/share/stress/generator/Thread$ThreadToRun.run()V (??:-1)
551: java/lang/Thread.runImpl()V (Thread.java:671)
<end of stack trace>


 

> [drlvm][jni] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3
> -----------------------------------------------------------------------------------
>
>                 Key: HARMONY-5157
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5157
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows x86, Linux_x86 
>            Reporter: Ilya Leviev
>
> Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3
> [debug] started null(org.apache.harmony.test.share.stress.ReliabilityRunner)
> [debug] timeToWork = 30, timeToAbort = 30
> [debug] started null(org.apache.harmony.test.share.stress.generator.Thread)
> [debug] Thread.setContext  { org.apache.harmony.test.stress.jni.stack.StackTest3 {} }
> [debug] Starting 1 threads
> [debug] ThreadToRun.run()
> [debug] completed null(org.apache.harmony.test.share.stress.generator.Thread)
> [debug] Generator.execute()
> [debug] class = org.apache.harmony.test.stress.jni.stack.StackTest3
> [debug] org.apache.harmony.test.stress.jni.stack.StackTest3 { }
> [debug] started test(org.apache.harmony.test.stress.jni.stack.StackTest3)
> Native code: Cannot get array elements
> [debug] Stopping the test
> [debug] Cannot stop all threads, possibly deadlock occurs. VM will be aborted.
> Please, check the full log here: 
> http://people.apache.org/~smishura/r595311/Windows_x86/stress/stress/org/apache/harmony/test/stress/jni/stack/120_StackTest3-out.txt

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message