Bug 49339

Critical

GemStone/S 64 Bit

3.6, 3.5.5, 3.5.4, 3.5.3, 3.5.2, 3.5.1, 3.5, 3.4.5, 3.4.4, 3.4.3, 3.4.2, 3.4.x

Symbol GC may collect referenced Symbols

When Symbol garbage collection is enabled (STN_SYMBOL_GC_ENABLED is configured to true), there is a risk that a referenced symbol may be garbage collected.

If the only reference to a symbol is from an object in the possible dead set, and that object is voted to stay alive by a session, during voting after an MFC, then in some cases this symbol may be garbage collected.

This issue is fixed in 3.6.1 and 3.5.6, however, see similar issue 49886 that applies to some later versions.

Workaround

STN_SYMBOL_GC_ENABLED is false by default. To avoid risk, only turn this on to enable symbol garbage collection during maintenance periods, when sessions other than the MFC session are not running.


                

Last updated: 5/23/24