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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
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)