You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Roman S. Bushmanov (JIRA)" <ji...@apache.org> on 2006/12/15 08:41:24 UTC

[jira] Created: (HARMONY-2731) VM Logger tracing output overrides Java err and out

VM Logger tracing output overrides Java err and out
---------------------------------------------------

                 Key: HARMONY-2731
                 URL: http://issues.apache.org/jira/browse/HARMONY-2731
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Roman S. Bushmanov


VM Logger default stream may override Java err and out streams.

To reproduce the issue  run the attached test with -Xtrace option:

./java -Xtrace OutErrTest

Expected console output should contain '@@@@@@@@@@' and '##########' strings. Actual one does not.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2731) [drlvm][logger] VM Logger tracing output overrides Java err

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

Vladimir Beliaev commented on HARMONY-2731:
-------------------------------------------

I've tried this test on M4 on Linux x86 (SLES10).

First, such a run produced 23446 lines of output... So the real run command is:

    <debug harmony java> -Xtrace JavaErrTest 2>&1 | tee log.txt

So, this log contains '##########' string...

So this JIRA may be closed as "Cannot Reproduce"...


> [drlvm][logger] VM Logger tracing output overrides Java err
> -----------------------------------------------------------
>
>                 Key: HARMONY-2731
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2731
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Roman S. Bushmanov
>         Attachments: JavaErrTest.java
>
>
> VM Logger default stream may override Java err stream.
> To reproduce the issue  run the attached test with -Xtrace option:
> ./java -Xtrace JavaErrTest
> Expected console output should contain '##########' string. Actual one does not.

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


[jira] Updated: (HARMONY-2731) [drlvm][vmcore][logger] VM Logger tracing output overrides Java err

Posted by "Roman S. Bushmanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2731?page=all ]

Roman S. Bushmanov updated HARMONY-2731:
----------------------------------------

    Summary: [drlvm][vmcore][logger] VM Logger tracing output overrides Java err  (was: VM Logger tracing output overrides Java err)

> [drlvm][vmcore][logger] VM Logger tracing output overrides Java err
> -------------------------------------------------------------------
>
>                 Key: HARMONY-2731
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2731
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Roman S. Bushmanov
>
> VM Logger default stream may override Java err stream.
> To reproduce the issue  run the attached test with -Xtrace option:
> ./java -Xtrace JavaErrTest
> Expected console output should contain '##########' string. Actual one does not.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2731) [drlvm][vmcore][logger] VM Logger tracing output overrides Java err

Posted by "Roman S. Bushmanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2731?page=all ]

Roman S. Bushmanov updated HARMONY-2731:
----------------------------------------

    Attachment: JavaErrTest.java

> [drlvm][vmcore][logger] VM Logger tracing output overrides Java err
> -------------------------------------------------------------------
>
>                 Key: HARMONY-2731
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2731
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Roman S. Bushmanov
>         Attachments: JavaErrTest.java
>
>
> VM Logger default stream may override Java err stream.
> To reproduce the issue  run the attached test with -Xtrace option:
> ./java -Xtrace JavaErrTest
> Expected console output should contain '##########' string. Actual one does not.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2731) [drlvm][logger] VM Logger tracing output overrides Java err

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557210#action_12557210 ] 

Vladimir Beliaev commented on HARMONY-2731:
-------------------------------------------

Good catch, Gregory. 

I believe the bug was filed against x86_32 platforms based on its date of creation.

Nevertheless the Linux x86_64 crash on the attached test with -Xtrace option should be fixed. Please choose either to close this JIRA and create a new one for this crash or reformate this JIRA to make a new one for it.


> [drlvm][logger] VM Logger tracing output overrides Java err
> -----------------------------------------------------------
>
>                 Key: HARMONY-2731
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2731
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Roman S. Bushmanov
>         Attachments: JavaErrTest.java
>
>
> VM Logger default stream may override Java err stream.
> To reproduce the issue  run the attached test with -Xtrace option:
> ./java -Xtrace JavaErrTest
> Expected console output should contain '##########' string. Actual one does not.

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


[jira] Closed: (HARMONY-2731) [drlvm][logger] VM Logger tracing output overrides Java err

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

Gregory Shimansky closed HARMONY-2731.
--------------------------------------

    Resolution: Fixed
      Assignee: Gregory Shimansky

I fixed failing assertion at 610387. Now the bug is indeed not reproducible.

> [drlvm][logger] VM Logger tracing output overrides Java err
> -----------------------------------------------------------
>
>                 Key: HARMONY-2731
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2731
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Roman S. Bushmanov
>            Assignee: Gregory Shimansky
>         Attachments: JavaErrTest.java
>
>
> VM Logger default stream may override Java err stream.
> To reproduce the issue  run the attached test with -Xtrace option:
> ./java -Xtrace JavaErrTest
> Expected console output should contain '##########' string. Actual one does not.

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


[jira] Commented: (HARMONY-2731) [drlvm][logger] VM Logger tracing output overrides Java err

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557263#action_12557263 ] 

Gregory Shimansky commented on HARMONY-2731:
--------------------------------------------

The bug actually is not platform dependent and happens on all architectures, and on windows too. It is a failing assertion about wrong suspension state, so it doesn't matter whether it is Linux x86_64 or not.

> [drlvm][logger] VM Logger tracing output overrides Java err
> -----------------------------------------------------------
>
>                 Key: HARMONY-2731
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2731
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Roman S. Bushmanov
>         Attachments: JavaErrTest.java
>
>
> VM Logger default stream may override Java err stream.
> To reproduce the issue  run the attached test with -Xtrace option:
> ./java -Xtrace JavaErrTest
> Expected console output should contain '##########' string. Actual one does not.

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


[jira] Updated: (HARMONY-2731) VM Logger tracing output overrides Java err

Posted by "Roman S. Bushmanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2731?page=all ]

Roman S. Bushmanov updated HARMONY-2731:
----------------------------------------

        Summary: VM Logger tracing output overrides Java err  (was: VM Logger tracing output overrides Java err and out)
    Description: 
VM Logger default stream may override Java err stream.

To reproduce the issue  run the attached test with -Xtrace option:

./java -Xtrace JavaErrTest

Expected console output should contain '##########' string. Actual one does not.

  was:
VM Logger default stream may override Java err and out streams.

To reproduce the issue  run the attached test with -Xtrace option:

./java -Xtrace OutErrTest

Expected console output should contain '@@@@@@@@@@' and '##########' strings. Actual one does not.


> VM Logger tracing output overrides Java err
> -------------------------------------------
>
>                 Key: HARMONY-2731
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2731
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Roman S. Bushmanov
>
> VM Logger default stream may override Java err stream.
> To reproduce the issue  run the attached test with -Xtrace option:
> ./java -Xtrace JavaErrTest
> Expected console output should contain '##########' string. Actual one does not.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2731) [drlvm][logger] VM Logger tracing output overrides Java err

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

Gregory Shimansky updated HARMONY-2731:
---------------------------------------

    Summary: [drlvm][logger] VM Logger tracing output overrides Java err  (was: [drlvm][vmcore][logger] VM Logger tracing output overrides Java err)

> [drlvm][logger] VM Logger tracing output overrides Java err
> -----------------------------------------------------------
>
>                 Key: HARMONY-2731
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2731
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Roman S. Bushmanov
>         Attachments: JavaErrTest.java
>
>
> VM Logger default stream may override Java err stream.
> To reproduce the issue  run the attached test with -Xtrace option:
> ./java -Xtrace JavaErrTest
> Expected console output should contain '##########' string. Actual one does not.

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


[jira] Commented: (HARMONY-2731) [drlvm][logger] VM Logger tracing output overrides Java err

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557026#action_12557026 ] 

Gregory Shimansky commented on HARMONY-2731:
--------------------------------------------

Well, I checked this test with -Xtrace on Linux x86_64. It crashes on failed assertion quickly in initialization because tracing is done in a wrong suspend disabled state. Before closing this bug I need to make sure that it is not reproducible.

> [drlvm][logger] VM Logger tracing output overrides Java err
> -----------------------------------------------------------
>
>                 Key: HARMONY-2731
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2731
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Roman S. Bushmanov
>         Attachments: JavaErrTest.java
>
>
> VM Logger default stream may override Java err stream.
> To reproduce the issue  run the attached test with -Xtrace option:
> ./java -Xtrace JavaErrTest
> Expected console output should contain '##########' string. Actual one does not.

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