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 Afremov (JIRA)" <ji...@apache.org> on 2007/12/28 14:27:43 UTC

[jira] Closed: (HARMONY-5103) [drlvm] Crash in DeleteGlobalRef

     [ https://issues.apache.org/jira/browse/HARMONY-5103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Afremov closed HARMONY-5103.
----------------------------------


> [drlvm] Crash in DeleteGlobalRef
> --------------------------------
>
>                 Key: HARMONY-5103
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5103
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: x86-64
>            Reporter: Pavel Afremov
>            Assignee: Gregory Shimansky
>         Attachments: HARMONY-5103.patch
>
>
> During evaluating HARMONY-2772 crash on following stack was reproduced:
> SIGSEGV in VM code.
> Stack trace:
>   0: JNIEnv_External::DeleteGlobalRef(_jobject*) (/nfs/ims/proj/drl/mrt2/users/pnafremo/work/H64/drlvm/vm/include/jni.h:678)
>   1: jthread_vm_detach (/nfs/ims/proj/drl/mrt2/users/pnafremo/work/H64/drlvm/vm/vmcore/src/thread/thread_java_basic.cpp:419)
>   2: jthread_wrapper_start_proc(void*) (/nfs/ims/proj/drl/mrt2/users/pnafremo/work/H64/drlvm/vm/vmcore/src/thread/thread_java_basic.cpp:172)
>   3: start_thread (??:-1)
> <end of stack trace>
> Segmentation fault
> As evaluation shows the source of the crash is in jni_env usage after deallocation in vm_detach.
> If jni_env, after deallocation but before usage, is nullified in other thread, sigsegv happen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.