You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Leviev (JIRA)" <ji...@apache.org> on 2007/11/20 16:23:43 UTC

[jira] Created: (HARMONY-5157) [drlvm][jni] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3

[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 
            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.


[jira] Closed: (HARMONY-5157) [drlvm][stack] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky closed HARMONY-5157.
--------------------------------------


No response, assuming ok.

> [drlvm][stack] 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
>            Assignee: Gregory Shimansky
>         Attachments: H-5157.patch
>
>
> Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3
> r595311
> r597436
> [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.


[jira] Updated: (HARMONY-5157) [drlvm][jni] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3

Posted by "Ilya Leviev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Leviev updated HARMONY-5157:
---------------------------------

    Environment: Windows x86, Linux_x86   (was: Windows x86 )

> [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.


[jira] Updated: (HARMONY-5157) [drlvm][stack] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3

Posted by "Pavel Afremov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Afremov updated HARMONY-5157:
-----------------------------------

    Attachment: H-5157.patch

Fixed SOE support in JNI functions in stress condition of insufficient stack size.
Following changes was added:
1.	Exception callback sets exception if stack size is insufficient
2.	Exception clearing functions, which are called from JNI, restore stack protection.


> [drlvm][stack] 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
>         Attachments: H-5157.patch
>
>
> Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3
> r595311
> r597436
> [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.


[jira] Resolved: (HARMONY-5157) [drlvm][stack] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky resolved HARMONY-5157.
----------------------------------------

    Resolution: Fixed

Patch is applied at 600034. Please check that the bug is fixed for you.

> [drlvm][stack] 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
>            Assignee: Gregory Shimansky
>         Attachments: H-5157.patch
>
>
> Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3
> r595311
> r597436
> [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.


[jira] Commented: (HARMONY-5157) [drlvm][jni] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3

Posted by "Pavel Rebriy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545060 ] 

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

Test result on Windows:

On Sun test passed.

java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
[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
Native code: Attempt 1
Native code: Attempt 2
Native code: Attempt 3
...
Native code: Attempt 195
Native code: Attempt 196
Native code: Attempt 197
Native code: Attempt 198
Native code: Attempt 199
[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 = 12203

On JRockit test somehow passed:

java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-win-ia32, R25.0.0-75, GC: System optimized over throughput (initial strategy singleparpar))
[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: Cannot get 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] Test passed, time = 265
[debug] TimeKeeper is interrupted

On Harmony release  (revision 597408) test exits with error:

$ PATH=./bin/lib:$PATH g\:/qq/deploy/jdk/jre/bin/java -XX:vm.assert_dialog=true -showversion -Dorg.apache.harmony.test.share.stress.ReliabilityRunner.timeToWork=30 -Dorg.apache.harmony.test.share.stress.ReliabilityRunner.timeToAbort=30 -Dorg.apache.harmony.test.share.stress.ReliabilityRunner.params="org.apache.harmony.test.stress.jni.stack.StackTest3 {}" -Dorg.apache.harmony.test.stress.jni.stack.share.STStackTest.fillMemory=0 -cp bin/classes\;bin/lib\;bin/tools/th.jar\;../classlib/trunk/depends/punit/trunk/punit.extension/lib/junit-4.3.1.jar org.apache.harmony.test.share.stress.ReliabilityRunner
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
java version "1.5.0" 
pre-alpha : not complete or compatible
svn = r@svn.revision@, (Nov 22 2007), Windows/ia32/msvc 1310, 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 get array elements
[debug] Stopping the test
[debug] Cannot stop all threads, possibly deadlock occurs. VM will be aborted.

$ echo $?
106

On Harmony debug (revision 597587) test exits with error:

Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
java version "1.5.0" 
pre-alpha : not complete or compatible
svn = r@svn.revision@, (Nov 21 2007), Windows/ia32/msvc 1310, 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

$ echo $?
128



> [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.


[jira] Commented: (HARMONY-5157) [drlvm][jni] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3

Posted by "Pavel Rebriy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545053 ] 

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

How to run on Linux:

$ LD_LIBRARY_PATH=./bin/lib:$LD_LIBRARY_PATH java -showversion -Dorg.apache.harmony.test.share.stress.ReliabilityRunner.timeToWork=30 -Dorg.apache.harmony.test.share.stress.ReliabilityRunner.timeToAbort=30 -Dorg.apache.harmony.test.share.stress.ReliabilityRunner.params="org.apache.harmony.test.stress.jni.stack.StackTest3 {}" -Dorg.apache.harmony.test.stress.jni.stack.share.STStackTest.fillMemory=0 -cp bin/classes:bin/lib:bin/tools/th.jar:../classlib/trunk/depends/punit/trunk/punit.extension/lib/junit-4.3.1.jar org.apache.harmony.test.share.stress.ReliabilityRunner


> [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.


[jira] Commented: (HARMONY-5157) [drlvm][stack] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547765 ] 

Alexey Varlamov commented on HARMONY-5157:
------------------------------------------

Guys, the symmetrical change is pending for signals_ipf.cpp. I've just fixed compilation at 600447.

> [drlvm][stack] 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
>            Assignee: Gregory Shimansky
>         Attachments: H-5157.patch
>
>
> Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3
> r595311
> r597436
> [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.


[jira] Assigned: (HARMONY-5157) [drlvm][stack] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky reassigned HARMONY-5157:
------------------------------------------

    Assignee: Gregory Shimansky

> [drlvm][stack] 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
>            Assignee: Gregory Shimansky
>         Attachments: H-5157.patch
>
>
> Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3
> r595311
> r597436
> [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.


[jira] Updated: (HARMONY-5157) [drlvm][stack] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky updated HARMONY-5157:
---------------------------------------

    Summary: [drlvm][stack] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3  (was: [drlvm][jni] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3)

> [drlvm][stack] 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.


[jira] Commented: (HARMONY-5157) [drlvm][stack] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3

Posted by "Ilya Leviev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547806 ] 

Ilya Leviev commented on HARMONY-5157:
--------------------------------------

Verified at r600034

Thanks for efforts.



> [drlvm][stack] 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
>            Assignee: Gregory Shimansky
>         Attachments: H-5157.patch
>
>
> Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3
> r595311
> r597436
> [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.


[jira] Updated: (HARMONY-5157) [drlvm][stack] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3

Posted by "Ilya Leviev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Leviev updated HARMONY-5157:
---------------------------------

    Description: 
Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3

r595311
r597436


[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

  was:
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


> [drlvm][stack] 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
> r595311
> r597436
> [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.


[jira] Commented: (HARMONY-5157) [drlvm][jni] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3

Posted by "Pavel Rebriy (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (HARMONY-5157) [drlvm][jni] Error while stress.org.apache.harmony.test.stress.jni.stack.StackTest3

Posted by "Pavel Rebriy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545056 ] 

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

How to run on Windows:

$ PATH=./bin/lib:$PATH  ij -showversion -Dorg.apache.harmony.test.share.stress.ReliabilityRunner.timeToWork=30 -Dorg.apache.harmony.test.share.stress.ReliabilityRunner.timeToAbort=30 -Dorg.apache.harmony.test.share.stress.ReliabilityRunner.params="org.apache.harmony.test.stress.jni.stack.StackTest3 {}" -Dorg.apache.harmony.test.stress.jni.stack.share.STStackTest.fillMemory=0 -cp bin/classes\;bin/lib\;bin/tools/th.jar\;../classlib/trunk/depends/punit/trunk/punit.extension/lib/junit-4.3.1.jar org.apache.harmony.test.share.stress.ReliabilityRunner


> [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.