You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2015/11/10 11:44:10 UTC

[jira] [Created] (IGNITE-1880) .Net: Intermittent "Invalid global JNI handle passed to DeleteGlobalRef"

Pavel  Tupitsyn created IGNITE-1880:
---------------------------------------

             Summary: .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)