You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrey Yakushev (JIRA)" <ji...@apache.org> on 2008/02/19 17:34:43 UTC

[jira] Created: (HARMONY-5534) [drlvm] RecursiveTest failure

[drlvm] RecursiveTest failure
-----------------------------

                 Key: HARMONY-5534
                 URL: https://issues.apache.org/jira/browse/HARMONY-5534
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: M5 candidate (r628209) 
Linux x86
            Reporter: Andrey Yakushev


api.kernel.thread.RecursiveThreadTest.RecursiveTest from the reliability test suite fails after long successfull running with vm crach.

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


[jira] Resolved: (HARMONY-5534) [drlvm][thread] RecursiveTest failure from the reliability test suite

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

Pavel Pervov resolved HARMONY-5534.
-----------------------------------

    Resolution: Fixed

Committed revision 643441. You can now enable the test.

> [drlvm][thread] RecursiveTest failure from the reliability test suite
> ---------------------------------------------------------------------
>
>                 Key: HARMONY-5534
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5534
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: M5 candidate (r628209) 
> Linux x86
>            Reporter: Andrey Yakushev
>            Assignee: Pavel Pervov
>         Attachments: H5534-pthread_kill-validation-check.patch
>
>
> api.kernel.thread.RecursiveThreadTest.RecursiveTest from the reliability test suite fails after long successfull running with vm crach.

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


[jira] Commented: (HARMONY-5534) [drlvm] RecursiveTest failure from the reliability test suite

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

Pavel Rebriy commented on HARMONY-5534:
---------------------------------------

After a deep investigation I've found the root of the problem:
The problem is in pthread_kill() function. The function sends the signal to a given thread. If a given thread could not be found pthread_kill() returns ESRCH error. This is in theory, in practice pthread_kill() doesn't perform thread validation check and crashes in case illegal thread argument.

This is known behavior of  pthread_kill() and it does so for performance reasons.

I'm going to fix the pthread_kill() call to perform thread validation check before the function execution.

> [drlvm] RecursiveTest failure from the reliability test suite
> -------------------------------------------------------------
>
>                 Key: HARMONY-5534
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5534
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: M5 candidate (r628209) 
> Linux x86
>            Reporter: Andrey Yakushev
>
> api.kernel.thread.RecursiveThreadTest.RecursiveTest from the reliability test suite fails after long successfull running with vm crach.

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


[jira] Updated: (HARMONY-5534) [drlvm] RecursiveTest failure from the reliability test suite

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

Pavel Rebriy updated HARMONY-5534:
----------------------------------

    Attachment: H5534-pthread_kill-validation-check.patch

The patch to fix the issue.
With applied patch the test works fine.

> [drlvm] RecursiveTest failure from the reliability test suite
> -------------------------------------------------------------
>
>                 Key: HARMONY-5534
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5534
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: M5 candidate (r628209) 
> Linux x86
>            Reporter: Andrey Yakushev
>         Attachments: H5534-pthread_kill-validation-check.patch
>
>
> api.kernel.thread.RecursiveThreadTest.RecursiveTest from the reliability test suite fails after long successfull running with vm crach.

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


[jira] Updated: (HARMONY-5534) [drlvm] RecursiveTest failure from the reliability test suite

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

Andrey Yakushev updated HARMONY-5534:
-------------------------------------

    Summary: [drlvm] RecursiveTest failure from the reliability test suite  (was: [drlvm] RecursiveTest failure)

> [drlvm] RecursiveTest failure from the reliability test suite
> -------------------------------------------------------------
>
>                 Key: HARMONY-5534
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5534
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: M5 candidate (r628209) 
> Linux x86
>            Reporter: Andrey Yakushev
>
> api.kernel.thread.RecursiveThreadTest.RecursiveTest from the reliability test suite fails after long successfull running with vm crach.

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


[jira] Updated: (HARMONY-5534) [drlvm][thread] RecursiveTest failure from the reliability test suite

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

Andrey Yakushev updated HARMONY-5534:
-------------------------------------

    Summary: [drlvm][thread] RecursiveTest failure from the reliability test suite  (was: [drlvm] RecursiveTest failure from the reliability test suite)

Changing subject according to evaluation

> [drlvm][thread] RecursiveTest failure from the reliability test suite
> ---------------------------------------------------------------------
>
>                 Key: HARMONY-5534
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5534
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: M5 candidate (r628209) 
> Linux x86
>            Reporter: Andrey Yakushev
>            Assignee: Pavel Pervov
>         Attachments: H5534-pthread_kill-validation-check.patch
>
>
> api.kernel.thread.RecursiveThreadTest.RecursiveTest from the reliability test suite fails after long successfull running with vm crach.

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


[jira] Assigned: (HARMONY-5534) [drlvm] RecursiveTest failure from the reliability test suite

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

Pavel Pervov reassigned HARMONY-5534:
-------------------------------------

    Assignee: Pavel Pervov

> [drlvm] RecursiveTest failure from the reliability test suite
> -------------------------------------------------------------
>
>                 Key: HARMONY-5534
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5534
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: M5 candidate (r628209) 
> Linux x86
>            Reporter: Andrey Yakushev
>            Assignee: Pavel Pervov
>         Attachments: H5534-pthread_kill-validation-check.patch
>
>
> api.kernel.thread.RecursiveThreadTest.RecursiveTest from the reliability test suite fails after long successfull running with vm crach.

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