Bug 51093

GemStone/S 64 Bit

3.7.1, 3.7

Native code issues related to results of ifTrue/ifFalse blocks

Issues have been found in native code that cause code errors or SEGV.  These issues are exposed by expressions that assign the result of ifTrue/ifFalse expressions that return Array constructors.

for example,

sending collection protocol to result after this assignment produces an MNU:
result := true ifTrue: [Array with: 1] ifFalse: [{2}].

sending collection protocol to var after this assignment SEGVs:
result := true ifFalse: [{1}].

Workaround

disabling native code avoids these issues:

GEM_NATIVE_CODE_ENABLED = 0;


                

Last updated: 9/4/24