Bug 47753

GemStone/S 64 Bit

3.4.2, 3.4.1, 3.4, 3.3.8, 3.3.7, 3.3.6, 3.3.5, 3.3.4, 3.3.3, 3.3.1, 3.3, 3.2.16, 3.2.15, 3.2.14, 3.2.13, 3.2.12, 3.2.11, 3.2.10, 3.2.9, 3.2.8, 3.2.7, 3.2.6, 3.2.5, 3.2.4, 3.2.3, 3.2.2, 3.2.1, 3.x

3.4.3, 3.3.9

Very large GEM_MAX_SMALLTALK_STACK_DEPTH can result in SEGV on AlmostOutOfStack on x86_64

With a very large GEM_MAX_SMALLTALK_STACK_DEPTH for Gems running on x86_64 processors (Linux and Solaris/X86), when an AlmostOutOfStack occurs, the Gem cashes with a SEGV.

The SEGV is in stack memory due to the native code's use of 8 bytes of C stack per Smalltalk frame.

Workaround

Set GEM_MAX_SMALLTALK_STACK_DEPTH to 30000 or less.


                

Last updated: 10/24/18