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 Berezhniuk (JIRA)" <ji...@apache.org> on 2006/10/24 20:14:16 UTC

[jira] Created: (HARMONY-1953) [drlvm] [jvmti] THREAD_END event is sent in PHASE_DEAD

[drlvm] [jvmti] THREAD_END event is sent in PHASE_DEAD
------------------------------------------------------

                 Key: HARMONY-1953
                 URL: http://issues.apache.org/jira/browse/HARMONY-1953
             Project: Harmony
          Issue Type: Bug
          Components: VM
         Environment: All
            Reporter: Ilya Berezhniuk


THREAD_START and THREAD_END events are sent without phase check.
It leads to sending events during PHASE_DEAD and results in VM crash, because agent is unloaded already and callback function does not exist.

-- 
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-1953) [drlvm] [jvmti] THREAD_END event is sent in PHASE_DEAD

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1953?page=all ]

Ilya Berezhniuk updated HARMONY-1953:
-------------------------------------

    Patch Info: [Patch Available]

> [drlvm] [jvmti] THREAD_END event is sent in PHASE_DEAD
> ------------------------------------------------------
>
>                 Key: HARMONY-1953
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1953
>             Project: Harmony
>          Issue Type: Bug
>          Components: VM
>         Environment: All
>            Reporter: Ilya Berezhniuk
>         Attachments: thread_end.patch, thread_end.patch
>
>
> THREAD_START and THREAD_END events are sent without phase check.
> It leads to sending events during PHASE_DEAD and results in VM crash, because agent is unloaded already and callback function does not exist.

-- 
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] Resolved: (HARMONY-1953) [drlvm] [jvmti] THREAD_END event is sent in PHASE_DEAD

Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1953?page=all ]

Geir Magnusson Jr resolved HARMONY-1953.
----------------------------------------

    Resolution: Fixed

r470961

Ubuntu 6 - smoke, c-unit, ~kernel


> [drlvm] [jvmti] THREAD_END event is sent in PHASE_DEAD
> ------------------------------------------------------
>
>                 Key: HARMONY-1953
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1953
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ilya Berezhniuk
>         Assigned To: Geir Magnusson Jr
>         Attachments: thread_end.patch, thread_end.patch
>
>
> THREAD_START and THREAD_END events are sent without phase check.
> It leads to sending events during PHASE_DEAD and results in VM crash, because agent is unloaded already and callback function does not exist.

-- 
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] Closed: (HARMONY-1953) [drlvm] [jvmti] THREAD_END event is sent in PHASE_DEAD

Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1953?page=all ]

Geir Magnusson Jr closed HARMONY-1953.
--------------------------------------


> [drlvm] [jvmti] THREAD_END event is sent in PHASE_DEAD
> ------------------------------------------------------
>
>                 Key: HARMONY-1953
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1953
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ilya Berezhniuk
>         Assigned To: Geir Magnusson Jr
>         Attachments: thread_end.patch, thread_end.patch
>
>
> THREAD_START and THREAD_END events are sent without phase check.
> It leads to sending events during PHASE_DEAD and results in VM crash, because agent is unloaded already and callback function does not exist.

-- 
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-1953) [drlvm] [jvmti] THREAD_END event is sent in PHASE_DEAD

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1953?page=all ]

Ilya Berezhniuk updated HARMONY-1953:
-------------------------------------

    Attachment: thread_end.patch

The patch fixes problem.
Check for correct phase is added.

> [drlvm] [jvmti] THREAD_END event is sent in PHASE_DEAD
> ------------------------------------------------------
>
>                 Key: HARMONY-1953
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1953
>             Project: Harmony
>          Issue Type: Bug
>          Components: VM
>         Environment: All
>            Reporter: Ilya Berezhniuk
>         Attachments: thread_end.patch
>
>
> THREAD_START and THREAD_END events are sent without phase check.
> It leads to sending events during PHASE_DEAD and results in VM crash, because agent is unloaded already and callback function does not exist.

-- 
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-1953) [drlvm] [jvmti] THREAD_END event is sent in PHASE_DEAD

Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1953?page=all ]

Geir Magnusson Jr updated HARMONY-1953:
---------------------------------------

    Component/s: DRLVM
                     (was: VM)

> [drlvm] [jvmti] THREAD_END event is sent in PHASE_DEAD
> ------------------------------------------------------
>
>                 Key: HARMONY-1953
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1953
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ilya Berezhniuk
>         Attachments: thread_end.patch, thread_end.patch
>
>
> THREAD_START and THREAD_END events are sent without phase check.
> It leads to sending events during PHASE_DEAD and results in VM crash, because agent is unloaded already and callback function does not exist.

-- 
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] Assigned: (HARMONY-1953) [drlvm] [jvmti] THREAD_END event is sent in PHASE_DEAD

Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1953?page=all ]

Geir Magnusson Jr reassigned HARMONY-1953:
------------------------------------------

    Assignee: Geir Magnusson Jr

> [drlvm] [jvmti] THREAD_END event is sent in PHASE_DEAD
> ------------------------------------------------------
>
>                 Key: HARMONY-1953
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1953
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ilya Berezhniuk
>         Assigned To: Geir Magnusson Jr
>         Attachments: thread_end.patch, thread_end.patch
>
>
> THREAD_START and THREAD_END events are sent without phase check.
> It leads to sending events during PHASE_DEAD and results in VM crash, because agent is unloaded already and callback function does not exist.

-- 
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-1953) [drlvm] [jvmti] THREAD_END event is sent in PHASE_DEAD

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1953?page=all ]

Ilya Berezhniuk updated HARMONY-1953:
-------------------------------------

    Attachment: thread_end.patch

The same patch with some cosmetic changes.

> [drlvm] [jvmti] THREAD_END event is sent in PHASE_DEAD
> ------------------------------------------------------
>
>                 Key: HARMONY-1953
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1953
>             Project: Harmony
>          Issue Type: Bug
>          Components: VM
>         Environment: All
>            Reporter: Ilya Berezhniuk
>         Attachments: thread_end.patch, thread_end.patch
>
>
> THREAD_START and THREAD_END events are sent without phase check.
> It leads to sending events during PHASE_DEAD and results in VM crash, because agent is unloaded already and callback function does not exist.

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