From: SourceForge.net <no...@so...> - 2011-02-12 00:15:03
|
Bugs item #3178760, was opened at 2011-02-12 01:15 Message generated for change (Tracker Item Submitted) made by orexx You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=3178760&group_id=119701 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: v4.1 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Rony G. Flatscher (orexx) Assigned to: Nobody/Anonymous (nobody) Summary: RexxLocalVariables::live - only mark if not NULL Initial Comment: It may be the case that an exception occurs in rare cases (seen on MacOSX). Rick's suggested fix seems to solve that problem: void RexxLocalVariables::live(size_t liveMark) /******************************************************************************/ /* Function: Normal garbage collection live marking */ /******************************************************************************/ { RexxVariable **entry; /* marked stack entry */ RexxVariable **top; if (locals != NULL) { /* loop through the stack entries */ for (entry = locals, top = entry + size; entry < top; entry++) { memory_mark(*entry); /* marking each one */ } } memory_mark(dictionary); /* also mark any created vdict */ } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=3178760&group_id=119701 |