You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Rebriy (JIRA)" <ji...@apache.org> on 2008/03/31 09:00:25 UTC
[jira] Commented: (HARMONY-5534) [drlvm] RecursiveTest failure from
the reliability test suite
[ 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.