[
https://issues.apache.org/jira/browse/IGNITE-1880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998501#comment-14998501
]
ASF GitHub Bot commented on IGNITE-1880:
----------------------------------------
GitHub user ptupitsyn opened a pull request:
https://github.com/apache/ignite/pull/213
IGNITE-1880 .Net: Intermittent "Invalid global JNI handle passed to
DeleteGlobalRef"
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ptupitsyn/ignite ignite-1880
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/213.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #213
----
commit 61da28e828566d131e006933b883ef649902bec1
Author: Pavel Tupitsyn <[email protected]>
Date: 2015-11-10T12:40:39Z
IGNITE-1880 .Net: Intermittent "Invalid global JNI handle passed to
DeleteGlobalRef"
----
> .Net: Intermittent "Invalid global JNI handle passed to DeleteGlobalRef"
> ------------------------------------------------------------------------
>
> Key: IGNITE-1880
> URL: https://issues.apache.org/jira/browse/IGNITE-1880
> Project: Ignite
> Issue Type: Bug
> Components: interop
> Affects Versions: 1.5
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Fix For: 1.5
>
>
> Example of a failure: http://94.72.60.102/viewLog.html?buildId=565513
> {code}
> [18:07:47] : [Step 10/11] FATAL ERROR in native method: Invalid global JNI
> handle passed to DeleteGlobalRef
> [18:07:47] : [Step 10/11] FATAL ERROR in native method: Bad global or local
> ref passed to JNI
> {code}
> UnmanagedTarget class releases JNI handles in finalizer.
> Finalizers run at non-deterministic time. Due to some irrelevant changes
> there may be failures sometimes. Need to ensure that we do not release the
> same handle twice, and that we pass correct handles from unmanaged code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)