harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Rebriy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5534) [drlvm] RecursiveTest failure from the reliability test suite
Date Mon, 31 Mar 2008 07:00:25 GMT

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


Mime
View raw message