[Sablevm-bugs] [ sablevm-Bugs-713515 ] freed global ref not set to NULL
Brought to you by:
egagnon
From: SourceForge.net <no...@so...> - 2003-04-01 20:23:58
|
Bugs item #713515, was opened at 2003-04-01 15:34 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=713515&group_id=5523 Category: Execution Problem Group: SableVM Status: Open Resolution: None Priority: 5 Submitted By: David Bélanger (davidbelanger) Assigned to: Nobody/Anonymous (nobody) Summary: freed global ref not set to NULL Initial Comment: _svmm_free_native_ref(env, jobject obj) does set obj to NULL but does not set *obj to NULL before putting them on the free list. This will cause _svmm_new_native_ref(env, jobject obj) to return some global ref such that *obj != NULL leading to an assertion failure in _svmf_initialize_fields if native refs in some cases. The suggested fix is to set *obj to NULL in _svmm_new_native_ref if it is taken from the free list. Patch is done against CVS 2003-03-17 (rel 1.0.8). David ---------------------------------------------------------------------- >Comment By: David Bélanger (davidbelanger) Date: 2003-04-01 15:38 Message: Logged In: YES user_id=694080 The patch doesn't seem to have been attached? I'm trying again. David ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=713515&group_id=5523 |