Mantis - Squeak
Viewing Issue Advanced Details
7426 VM crash always 12-09-09 05:34 11-23-10 15:19
sig  
lewis  
normal  
resolved trunk  
duplicate  
none    
none  
0007426: 'Run object as method' feature leads to crash if object is smallinteger

VM crashing if you installing a SmallInteger into method dictionary as a method.

See the test in attachment.
duplicate of 0007157resolved lewis Using ObjectAsMethod (#primitiveInvokeObjectAsMethod) crashes VM 
 TestObjectsAsMethods-testCrashWithSmallInt.st [^] (357 bytes) 12-09-09 05:34

Notes
(0013431)
lewis   
12-09-09 18:12   
The test crashes a 32-bit unix VM on Linux. Interestingly, it does *not* crash a 64-bit VM on the same platform (the self answer10 part of the test passes with the expected exception, although the test fails on the #basicRemoveSelector: with a DNU on SmallInteger>>flushCache).

(0013661)
laza   
04-08-10 13:12   
Is this a duplicate of 7157?