You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Elena Sayapina (JIRA)" <ji...@apache.org> on 2007/05/25 14:31:17 UTC

[jira] Created: (HARMONY-3982) [drlvm][jvmti] JVMTI GetAllStackTraces, GetThreadListStackTraces functions work incorrectly

[drlvm][jvmti] JVMTI GetAllStackTraces, GetThreadListStackTraces functions work incorrectly
-------------------------------------------------------------------------------------------

                 Key: HARMONY-3982
                 URL: https://issues.apache.org/jira/browse/HARMONY-3982
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Elena Sayapina


2 JVMTI tests from DRLVM Validation test suite (http://issues.apache.org/jira/browse/HARMONY-3206) failed on Harmony-r541420:

It test correct work of GetAllStackTraces and GetThreadListStackTraces functions .

vm.jvmti.funcs.GetAllStackTraces.GetAllStackTraces0101.GetAllStackTraces0101 output:

java version "1.5.0"   
pre-alpha : not complete or compatible  
svn = r541420, (May 25 2007), Windows/ia32/msvc 1310, debug build  
http://incubator.apache.org/harmony  
 
check: Agent_OnLoad was called with options = NULL  
check: Agent_OnLoad was called with reserved = NULL  
 
-------------------------------------------------  
 
test GetAllStackTraces0101 is started  
{  
native: GetPhase result = 0 (must be zero)   
native: current phase is 4 (must be 4 (LIVE-phase))   
native: GetMethodName result = 0 (must be zero)   
native: method name is special_method   
native: signature name is ()V   
native: generic name is (null)   
native: GetAllStackTraces result = 103 (must be zero)   
native: stack_info ptr is 00000000 (must be zero)   
native: thread_count is 0  
 
Test of function GetAllStackTraces0101 : failed   
 
} /* test GetAllStackTraces0101 is finished */   
 
TestHarness:RunNegDRL analizeExit(): Check log for message passed  
Status is -1 (expected positive)  

vm.jvmti.funcs.GetThreadListStackTraces.GetThreadListStackTraces0101.GetThreadListStackTraces0101 output:

java version "1.5.0"   
pre-alpha : not complete or compatible  
svn = r541420, (May 25 2007), Windows/ia32/msvc 1310, debug build  
http://incubator.apache.org/harmony  
 
check: Agent_OnLoad was called with options = NULL  
check: Agent_OnLoad was called with reserved = NULL  
 
-------------------------------------------------  
 
test GetThreadListStackTraces0101 is started 
{  
native: GetPhase result = 0 (must be zero)   
native: current phase is 4 (must be 4 (LIVE-phase))   
native: GetMethodName result = 0 (must be zero)   
native: method name is special_method   
native: signature name is ()V   
native: generic name is (null)   
native: GetAllThreads result = 0 (must be zero)   
native: GetAllThreads tc = 4 (must >= zero)   
native: GetThreadListStackTraces result = 103 (must be zero)   
 
Test of function GetThreadListStackTraces0101 : failed   
 
} /* test GetThreadListStackTraces0101 is finished */   
 
TestHarness:RunNegDRL analizeExit(): Check log for message passed  
Status is -1 (expected positive)  
  

Note that these tests passed on Harmony-r540603.

It looks like regression of HARMONY-643 caused by HARMONY-3698 fix.

Test sources to reproduce the failure can be found in attachment to HARMONY-643.




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


[jira] Closed: (HARMONY-3982) [drlvm][jvmti] JVMTI GetAllStackTraces, GetThreadListStackTraces functions work incorrectly

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

Elena Sayapina closed HARMONY-3982.
-----------------------------------


Close issue. Tests passed on Harmony-r547521 during regular QA run.


> [drlvm][jvmti] JVMTI GetAllStackTraces, GetThreadListStackTraces functions work incorrectly
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3982
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3982
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Sayapina
>            Assignee: Gregory Shimansky
>         Attachments: H3982-GetStackTrace-for-empty-stack.patch, H3982-Regression-test.patch
>
>
> 2 JVMTI tests from DRLVM Validation test suite (http://issues.apache.org/jira/browse/HARMONY-3206) failed on Harmony-r541420:
> It test correct work of GetAllStackTraces and GetThreadListStackTraces functions .
> vm.jvmti.funcs.GetAllStackTraces.GetAllStackTraces0101.GetAllStackTraces0101 output:
> java version "1.5.0"   
> pre-alpha : not complete or compatible  
> svn = r541420, (May 25 2007), Windows/ia32/msvc 1310, debug build  
> http://incubator.apache.org/harmony  
>  
> check: Agent_OnLoad was called with options = NULL  
> check: Agent_OnLoad was called with reserved = NULL  
>  
> -------------------------------------------------  
>  
> test GetAllStackTraces0101 is started  
> {  
> native: GetPhase result = 0 (must be zero)   
> native: current phase is 4 (must be 4 (LIVE-phase))   
> native: GetMethodName result = 0 (must be zero)   
> native: method name is special_method   
> native: signature name is ()V   
> native: generic name is (null)   
> native: GetAllStackTraces result = 103 (must be zero)   
> native: stack_info ptr is 00000000 (must be zero)   
> native: thread_count is 0  
>  
> Test of function GetAllStackTraces0101 : failed   
>  
> } /* test GetAllStackTraces0101 is finished */   
>  
> TestHarness:RunNegDRL analizeExit(): Check log for message passed  
> Status is -1 (expected positive)  
> vm.jvmti.funcs.GetThreadListStackTraces.GetThreadListStackTraces0101.GetThreadListStackTraces0101 output:
> java version "1.5.0"   
> pre-alpha : not complete or compatible  
> svn = r541420, (May 25 2007), Windows/ia32/msvc 1310, debug build  
> http://incubator.apache.org/harmony  
>  
> check: Agent_OnLoad was called with options = NULL  
> check: Agent_OnLoad was called with reserved = NULL  
>  
> -------------------------------------------------  
>  
> test GetThreadListStackTraces0101 is started 
> {  
> native: GetPhase result = 0 (must be zero)   
> native: current phase is 4 (must be 4 (LIVE-phase))   
> native: GetMethodName result = 0 (must be zero)   
> native: method name is special_method   
> native: signature name is ()V   
> native: generic name is (null)   
> native: GetAllThreads result = 0 (must be zero)   
> native: GetAllThreads tc = 4 (must >= zero)   
> native: GetThreadListStackTraces result = 103 (must be zero)   
>  
> Test of function GetThreadListStackTraces0101 : failed   
>  
> } /* test GetThreadListStackTraces0101 is finished */   
>  
> TestHarness:RunNegDRL analizeExit(): Check log for message passed  
> Status is -1 (expected positive)  
>   
> Note that these tests passed on Harmony-r540603.
> It looks like regression of HARMONY-643 caused by HARMONY-3698 fix.
> Test sources to reproduce the failure can be found in attachment to HARMONY-643.

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


[jira] Commented: (HARMONY-3982) [drlvm][jvmti] JVMTI GetAllStackTraces, GetThreadListStackTraces functions work incorrectly

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

Elena Sayapina commented on HARMONY-3982:
-----------------------------------------

Verified.
2 VTSVM tests listed above passed on Harmony-r542415-release build.


> [drlvm][jvmti] JVMTI GetAllStackTraces, GetThreadListStackTraces functions work incorrectly
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3982
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3982
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Sayapina
>            Assignee: Gregory Shimansky
>         Attachments: H3982-GetStackTrace-for-empty-stack.patch, H3982-Regression-test.patch
>
>
> 2 JVMTI tests from DRLVM Validation test suite (http://issues.apache.org/jira/browse/HARMONY-3206) failed on Harmony-r541420:
> It test correct work of GetAllStackTraces and GetThreadListStackTraces functions .
> vm.jvmti.funcs.GetAllStackTraces.GetAllStackTraces0101.GetAllStackTraces0101 output:
> java version "1.5.0"   
> pre-alpha : not complete or compatible  
> svn = r541420, (May 25 2007), Windows/ia32/msvc 1310, debug build  
> http://incubator.apache.org/harmony  
>  
> check: Agent_OnLoad was called with options = NULL  
> check: Agent_OnLoad was called with reserved = NULL  
>  
> -------------------------------------------------  
>  
> test GetAllStackTraces0101 is started  
> {  
> native: GetPhase result = 0 (must be zero)   
> native: current phase is 4 (must be 4 (LIVE-phase))   
> native: GetMethodName result = 0 (must be zero)   
> native: method name is special_method   
> native: signature name is ()V   
> native: generic name is (null)   
> native: GetAllStackTraces result = 103 (must be zero)   
> native: stack_info ptr is 00000000 (must be zero)   
> native: thread_count is 0  
>  
> Test of function GetAllStackTraces0101 : failed   
>  
> } /* test GetAllStackTraces0101 is finished */   
>  
> TestHarness:RunNegDRL analizeExit(): Check log for message passed  
> Status is -1 (expected positive)  
> vm.jvmti.funcs.GetThreadListStackTraces.GetThreadListStackTraces0101.GetThreadListStackTraces0101 output:
> java version "1.5.0"   
> pre-alpha : not complete or compatible  
> svn = r541420, (May 25 2007), Windows/ia32/msvc 1310, debug build  
> http://incubator.apache.org/harmony  
>  
> check: Agent_OnLoad was called with options = NULL  
> check: Agent_OnLoad was called with reserved = NULL  
>  
> -------------------------------------------------  
>  
> test GetThreadListStackTraces0101 is started 
> {  
> native: GetPhase result = 0 (must be zero)   
> native: current phase is 4 (must be 4 (LIVE-phase))   
> native: GetMethodName result = 0 (must be zero)   
> native: method name is special_method   
> native: signature name is ()V   
> native: generic name is (null)   
> native: GetAllThreads result = 0 (must be zero)   
> native: GetAllThreads tc = 4 (must >= zero)   
> native: GetThreadListStackTraces result = 103 (must be zero)   
>  
> Test of function GetThreadListStackTraces0101 : failed   
>  
> } /* test GetThreadListStackTraces0101 is finished */   
>  
> TestHarness:RunNegDRL analizeExit(): Check log for message passed  
> Status is -1 (expected positive)  
>   
> Note that these tests passed on Harmony-r540603.
> It looks like regression of HARMONY-643 caused by HARMONY-3698 fix.
> Test sources to reproduce the failure can be found in attachment to HARMONY-643.

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


[jira] Assigned: (HARMONY-3982) [drlvm][jvmti] JVMTI GetAllStackTraces, GetThreadListStackTraces functions work incorrectly

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

Gregory Shimansky reassigned HARMONY-3982:
------------------------------------------

    Assignee: Gregory Shimansky

> [drlvm][jvmti] JVMTI GetAllStackTraces, GetThreadListStackTraces functions work incorrectly
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3982
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3982
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Sayapina
>         Assigned To: Gregory Shimansky
>         Attachments: H3982-GetStackTrace-for-empty-stack.patch
>
>
> 2 JVMTI tests from DRLVM Validation test suite (http://issues.apache.org/jira/browse/HARMONY-3206) failed on Harmony-r541420:
> It test correct work of GetAllStackTraces and GetThreadListStackTraces functions .
> vm.jvmti.funcs.GetAllStackTraces.GetAllStackTraces0101.GetAllStackTraces0101 output:
> java version "1.5.0"   
> pre-alpha : not complete or compatible  
> svn = r541420, (May 25 2007), Windows/ia32/msvc 1310, debug build  
> http://incubator.apache.org/harmony  
>  
> check: Agent_OnLoad was called with options = NULL  
> check: Agent_OnLoad was called with reserved = NULL  
>  
> -------------------------------------------------  
>  
> test GetAllStackTraces0101 is started  
> {  
> native: GetPhase result = 0 (must be zero)   
> native: current phase is 4 (must be 4 (LIVE-phase))   
> native: GetMethodName result = 0 (must be zero)   
> native: method name is special_method   
> native: signature name is ()V   
> native: generic name is (null)   
> native: GetAllStackTraces result = 103 (must be zero)   
> native: stack_info ptr is 00000000 (must be zero)   
> native: thread_count is 0  
>  
> Test of function GetAllStackTraces0101 : failed   
>  
> } /* test GetAllStackTraces0101 is finished */   
>  
> TestHarness:RunNegDRL analizeExit(): Check log for message passed  
> Status is -1 (expected positive)  
> vm.jvmti.funcs.GetThreadListStackTraces.GetThreadListStackTraces0101.GetThreadListStackTraces0101 output:
> java version "1.5.0"   
> pre-alpha : not complete or compatible  
> svn = r541420, (May 25 2007), Windows/ia32/msvc 1310, debug build  
> http://incubator.apache.org/harmony  
>  
> check: Agent_OnLoad was called with options = NULL  
> check: Agent_OnLoad was called with reserved = NULL  
>  
> -------------------------------------------------  
>  
> test GetThreadListStackTraces0101 is started 
> {  
> native: GetPhase result = 0 (must be zero)   
> native: current phase is 4 (must be 4 (LIVE-phase))   
> native: GetMethodName result = 0 (must be zero)   
> native: method name is special_method   
> native: signature name is ()V   
> native: generic name is (null)   
> native: GetAllThreads result = 0 (must be zero)   
> native: GetAllThreads tc = 4 (must >= zero)   
> native: GetThreadListStackTraces result = 103 (must be zero)   
>  
> Test of function GetThreadListStackTraces0101 : failed   
>  
> } /* test GetThreadListStackTraces0101 is finished */   
>  
> TestHarness:RunNegDRL analizeExit(): Check log for message passed  
> Status is -1 (expected positive)  
>   
> Note that these tests passed on Harmony-r540603.
> It looks like regression of HARMONY-643 caused by HARMONY-3698 fix.
> Test sources to reproduce the failure can be found in attachment to HARMONY-643.

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


[jira] Resolved: (HARMONY-3982) [drlvm][jvmti] JVMTI GetAllStackTraces, GetThreadListStackTraces functions work incorrectly

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

Gregory Shimansky resolved HARMONY-3982.
----------------------------------------

    Resolution: Fixed

Patch and regression test were applied at 542204. Please check that the bug is fixed now. Attached test passes.

> [drlvm][jvmti] JVMTI GetAllStackTraces, GetThreadListStackTraces functions work incorrectly
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3982
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3982
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Sayapina
>            Assignee: Gregory Shimansky
>         Attachments: H3982-GetStackTrace-for-empty-stack.patch, H3982-Regression-test.patch
>
>
> 2 JVMTI tests from DRLVM Validation test suite (http://issues.apache.org/jira/browse/HARMONY-3206) failed on Harmony-r541420:
> It test correct work of GetAllStackTraces and GetThreadListStackTraces functions .
> vm.jvmti.funcs.GetAllStackTraces.GetAllStackTraces0101.GetAllStackTraces0101 output:
> java version "1.5.0"   
> pre-alpha : not complete or compatible  
> svn = r541420, (May 25 2007), Windows/ia32/msvc 1310, debug build  
> http://incubator.apache.org/harmony  
>  
> check: Agent_OnLoad was called with options = NULL  
> check: Agent_OnLoad was called with reserved = NULL  
>  
> -------------------------------------------------  
>  
> test GetAllStackTraces0101 is started  
> {  
> native: GetPhase result = 0 (must be zero)   
> native: current phase is 4 (must be 4 (LIVE-phase))   
> native: GetMethodName result = 0 (must be zero)   
> native: method name is special_method   
> native: signature name is ()V   
> native: generic name is (null)   
> native: GetAllStackTraces result = 103 (must be zero)   
> native: stack_info ptr is 00000000 (must be zero)   
> native: thread_count is 0  
>  
> Test of function GetAllStackTraces0101 : failed   
>  
> } /* test GetAllStackTraces0101 is finished */   
>  
> TestHarness:RunNegDRL analizeExit(): Check log for message passed  
> Status is -1 (expected positive)  
> vm.jvmti.funcs.GetThreadListStackTraces.GetThreadListStackTraces0101.GetThreadListStackTraces0101 output:
> java version "1.5.0"   
> pre-alpha : not complete or compatible  
> svn = r541420, (May 25 2007), Windows/ia32/msvc 1310, debug build  
> http://incubator.apache.org/harmony  
>  
> check: Agent_OnLoad was called with options = NULL  
> check: Agent_OnLoad was called with reserved = NULL  
>  
> -------------------------------------------------  
>  
> test GetThreadListStackTraces0101 is started 
> {  
> native: GetPhase result = 0 (must be zero)   
> native: current phase is 4 (must be 4 (LIVE-phase))   
> native: GetMethodName result = 0 (must be zero)   
> native: method name is special_method   
> native: signature name is ()V   
> native: generic name is (null)   
> native: GetAllThreads result = 0 (must be zero)   
> native: GetAllThreads tc = 4 (must >= zero)   
> native: GetThreadListStackTraces result = 103 (must be zero)   
>  
> Test of function GetThreadListStackTraces0101 : failed   
>  
> } /* test GetThreadListStackTraces0101 is finished */   
>  
> TestHarness:RunNegDRL analizeExit(): Check log for message passed  
> Status is -1 (expected positive)  
>   
> Note that these tests passed on Harmony-r540603.
> It looks like regression of HARMONY-643 caused by HARMONY-3698 fix.
> Test sources to reproduce the failure can be found in attachment to HARMONY-643.

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


[jira] Updated: (HARMONY-3982) [drlvm][jvmti] JVMTI GetAllStackTraces, GetThreadListStackTraces functions work incorrectly

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

Eugene S. Ostrovsky updated HARMONY-3982:
-----------------------------------------

    Attachment: H3982-Regression-test.patch

Added file:
  H3982-Regression-test.patch

Regression test for the issue.

> [drlvm][jvmti] JVMTI GetAllStackTraces, GetThreadListStackTraces functions work incorrectly
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3982
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3982
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Sayapina
>         Assigned To: Gregory Shimansky
>         Attachments: H3982-GetStackTrace-for-empty-stack.patch, H3982-Regression-test.patch
>
>
> 2 JVMTI tests from DRLVM Validation test suite (http://issues.apache.org/jira/browse/HARMONY-3206) failed on Harmony-r541420:
> It test correct work of GetAllStackTraces and GetThreadListStackTraces functions .
> vm.jvmti.funcs.GetAllStackTraces.GetAllStackTraces0101.GetAllStackTraces0101 output:
> java version "1.5.0"   
> pre-alpha : not complete or compatible  
> svn = r541420, (May 25 2007), Windows/ia32/msvc 1310, debug build  
> http://incubator.apache.org/harmony  
>  
> check: Agent_OnLoad was called with options = NULL  
> check: Agent_OnLoad was called with reserved = NULL  
>  
> -------------------------------------------------  
>  
> test GetAllStackTraces0101 is started  
> {  
> native: GetPhase result = 0 (must be zero)   
> native: current phase is 4 (must be 4 (LIVE-phase))   
> native: GetMethodName result = 0 (must be zero)   
> native: method name is special_method   
> native: signature name is ()V   
> native: generic name is (null)   
> native: GetAllStackTraces result = 103 (must be zero)   
> native: stack_info ptr is 00000000 (must be zero)   
> native: thread_count is 0  
>  
> Test of function GetAllStackTraces0101 : failed   
>  
> } /* test GetAllStackTraces0101 is finished */   
>  
> TestHarness:RunNegDRL analizeExit(): Check log for message passed  
> Status is -1 (expected positive)  
> vm.jvmti.funcs.GetThreadListStackTraces.GetThreadListStackTraces0101.GetThreadListStackTraces0101 output:
> java version "1.5.0"   
> pre-alpha : not complete or compatible  
> svn = r541420, (May 25 2007), Windows/ia32/msvc 1310, debug build  
> http://incubator.apache.org/harmony  
>  
> check: Agent_OnLoad was called with options = NULL  
> check: Agent_OnLoad was called with reserved = NULL  
>  
> -------------------------------------------------  
>  
> test GetThreadListStackTraces0101 is started 
> {  
> native: GetPhase result = 0 (must be zero)   
> native: current phase is 4 (must be 4 (LIVE-phase))   
> native: GetMethodName result = 0 (must be zero)   
> native: method name is special_method   
> native: signature name is ()V   
> native: generic name is (null)   
> native: GetAllThreads result = 0 (must be zero)   
> native: GetAllThreads tc = 4 (must >= zero)   
> native: GetThreadListStackTraces result = 103 (must be zero)   
>  
> Test of function GetThreadListStackTraces0101 : failed   
>  
> } /* test GetThreadListStackTraces0101 is finished */   
>  
> TestHarness:RunNegDRL analizeExit(): Check log for message passed  
> Status is -1 (expected positive)  
>   
> Note that these tests passed on Harmony-r540603.
> It looks like regression of HARMONY-643 caused by HARMONY-3698 fix.
> Test sources to reproduce the failure can be found in attachment to HARMONY-643.

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


[jira] Commented: (HARMONY-3982) [drlvm][jvmti] JVMTI GetAllStackTraces, GetThreadListStackTraces functions work incorrectly

Posted by "Eugene S. Ostrovsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499114 ] 

Eugene S. Ostrovsky commented on HARMONY-3982:
----------------------------------------------

The reason of the failure is in GetStackTrace() jvmti function.
By spec it must return JVMTI_ERROR_ILLEGAL_ARGUMENT (103) for any value of start_depth argument if thread's stack depth is 0.
Finalizer threads often have empty stack because they are native threads attached to vm.

RI contradicts the spec and return success in such conditions.

> [drlvm][jvmti] JVMTI GetAllStackTraces, GetThreadListStackTraces functions work incorrectly
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3982
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3982
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Sayapina
>         Attachments: H3982-GetStackTrace-for-empty-stack.patch
>
>
> 2 JVMTI tests from DRLVM Validation test suite (http://issues.apache.org/jira/browse/HARMONY-3206) failed on Harmony-r541420:
> It test correct work of GetAllStackTraces and GetThreadListStackTraces functions .
> vm.jvmti.funcs.GetAllStackTraces.GetAllStackTraces0101.GetAllStackTraces0101 output:
> java version "1.5.0"   
> pre-alpha : not complete or compatible  
> svn = r541420, (May 25 2007), Windows/ia32/msvc 1310, debug build  
> http://incubator.apache.org/harmony  
>  
> check: Agent_OnLoad was called with options = NULL  
> check: Agent_OnLoad was called with reserved = NULL  
>  
> -------------------------------------------------  
>  
> test GetAllStackTraces0101 is started  
> {  
> native: GetPhase result = 0 (must be zero)   
> native: current phase is 4 (must be 4 (LIVE-phase))   
> native: GetMethodName result = 0 (must be zero)   
> native: method name is special_method   
> native: signature name is ()V   
> native: generic name is (null)   
> native: GetAllStackTraces result = 103 (must be zero)   
> native: stack_info ptr is 00000000 (must be zero)   
> native: thread_count is 0  
>  
> Test of function GetAllStackTraces0101 : failed   
>  
> } /* test GetAllStackTraces0101 is finished */   
>  
> TestHarness:RunNegDRL analizeExit(): Check log for message passed  
> Status is -1 (expected positive)  
> vm.jvmti.funcs.GetThreadListStackTraces.GetThreadListStackTraces0101.GetThreadListStackTraces0101 output:
> java version "1.5.0"   
> pre-alpha : not complete or compatible  
> svn = r541420, (May 25 2007), Windows/ia32/msvc 1310, debug build  
> http://incubator.apache.org/harmony  
>  
> check: Agent_OnLoad was called with options = NULL  
> check: Agent_OnLoad was called with reserved = NULL  
>  
> -------------------------------------------------  
>  
> test GetThreadListStackTraces0101 is started 
> {  
> native: GetPhase result = 0 (must be zero)   
> native: current phase is 4 (must be 4 (LIVE-phase))   
> native: GetMethodName result = 0 (must be zero)   
> native: method name is special_method   
> native: signature name is ()V   
> native: generic name is (null)   
> native: GetAllThreads result = 0 (must be zero)   
> native: GetAllThreads tc = 4 (must >= zero)   
> native: GetThreadListStackTraces result = 103 (must be zero)   
>  
> Test of function GetThreadListStackTraces0101 : failed   
>  
> } /* test GetThreadListStackTraces0101 is finished */   
>  
> TestHarness:RunNegDRL analizeExit(): Check log for message passed  
> Status is -1 (expected positive)  
>   
> Note that these tests passed on Harmony-r540603.
> It looks like regression of HARMONY-643 caused by HARMONY-3698 fix.
> Test sources to reproduce the failure can be found in attachment to HARMONY-643.

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


[jira] Updated: (HARMONY-3982) [drlvm][jvmti] JVMTI GetAllStackTraces, GetThreadListStackTraces functions work incorrectly

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

Eugene S. Ostrovsky updated HARMONY-3982:
-----------------------------------------

    Attachment: H3982-GetStackTrace-for-empty-stack.patch

Added file:
  H3982-GetStackTrace-for-empty-stack.patch

Fixes GetStackTrace() to be compliant with RI.

> [drlvm][jvmti] JVMTI GetAllStackTraces, GetThreadListStackTraces functions work incorrectly
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3982
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3982
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Sayapina
>         Attachments: H3982-GetStackTrace-for-empty-stack.patch
>
>
> 2 JVMTI tests from DRLVM Validation test suite (http://issues.apache.org/jira/browse/HARMONY-3206) failed on Harmony-r541420:
> It test correct work of GetAllStackTraces and GetThreadListStackTraces functions .
> vm.jvmti.funcs.GetAllStackTraces.GetAllStackTraces0101.GetAllStackTraces0101 output:
> java version "1.5.0"   
> pre-alpha : not complete or compatible  
> svn = r541420, (May 25 2007), Windows/ia32/msvc 1310, debug build  
> http://incubator.apache.org/harmony  
>  
> check: Agent_OnLoad was called with options = NULL  
> check: Agent_OnLoad was called with reserved = NULL  
>  
> -------------------------------------------------  
>  
> test GetAllStackTraces0101 is started  
> {  
> native: GetPhase result = 0 (must be zero)   
> native: current phase is 4 (must be 4 (LIVE-phase))   
> native: GetMethodName result = 0 (must be zero)   
> native: method name is special_method   
> native: signature name is ()V   
> native: generic name is (null)   
> native: GetAllStackTraces result = 103 (must be zero)   
> native: stack_info ptr is 00000000 (must be zero)   
> native: thread_count is 0  
>  
> Test of function GetAllStackTraces0101 : failed   
>  
> } /* test GetAllStackTraces0101 is finished */   
>  
> TestHarness:RunNegDRL analizeExit(): Check log for message passed  
> Status is -1 (expected positive)  
> vm.jvmti.funcs.GetThreadListStackTraces.GetThreadListStackTraces0101.GetThreadListStackTraces0101 output:
> java version "1.5.0"   
> pre-alpha : not complete or compatible  
> svn = r541420, (May 25 2007), Windows/ia32/msvc 1310, debug build  
> http://incubator.apache.org/harmony  
>  
> check: Agent_OnLoad was called with options = NULL  
> check: Agent_OnLoad was called with reserved = NULL  
>  
> -------------------------------------------------  
>  
> test GetThreadListStackTraces0101 is started 
> {  
> native: GetPhase result = 0 (must be zero)   
> native: current phase is 4 (must be 4 (LIVE-phase))   
> native: GetMethodName result = 0 (must be zero)   
> native: method name is special_method   
> native: signature name is ()V   
> native: generic name is (null)   
> native: GetAllThreads result = 0 (must be zero)   
> native: GetAllThreads tc = 4 (must >= zero)   
> native: GetThreadListStackTraces result = 103 (must be zero)   
>  
> Test of function GetThreadListStackTraces0101 : failed   
>  
> } /* test GetThreadListStackTraces0101 is finished */   
>  
> TestHarness:RunNegDRL analizeExit(): Check log for message passed  
> Status is -1 (expected positive)  
>   
> Note that these tests passed on Harmony-r540603.
> It looks like regression of HARMONY-643 caused by HARMONY-3698 fix.
> Test sources to reproduce the failure can be found in attachment to HARMONY-643.

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