Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007157 [Squeak] VM crash always 08-19-08 07:11 11-23-10 15:18
Reporter kwl View Status public  
Assigned To lewis
Priority normal Resolution fixed  
Status resolved   Product Version
Summary 0007157: Using ObjectAsMethod (#primitiveInvokeObjectAsMethod) crashes VM
Description testing ObjectAsMethod for its use in a project. This happened a minute ago:

 myClass compiledMethodAt: #SomeSymbol put: 4.

 myClass SomeSymbol printString "made #run:with:in: to just return self"

bang! => Access violation (read access) at 00000009

observe the SmallInteger oop (4 << 1 + 1).
Additional Information in Interpreter>>#lookupMethodInDictionary: it does

"Check if newMethod is a CompiledMethod."

 (self isCompiledMethod: newMethod)

but neither #lookupMethodInDictionary: nor #isCompiledMethod: do check for a small integer object :(
Attached Files

- Relationships

SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

has duplicate 0007426resolved lewis 'Run object as method' feature leads to crash if object is smallinteger 
related to 0007453confirmed lewis VM crashes when evaluating Morph methodDict valuesDo: 1. 
child of 0007480feedback  Issues that should be fixed in 4.1 

- Notes
(0013945 - 42 - 42 - 42 - 42 - 42 - 42)
leves
11-23-10 15:18

Fixed in VMMaker-dtl.204 (VMMaker 4.3.17).
 

- Issue History
Date Modified Username Field Change
08-19-08 07:11 kwl New Issue
08-19-08 07:11 kwl Status new => assigned
08-19-08 07:11 kwl Assigned To  => tim
01-21-10 04:19 lewis Assigned To tim => lewis
01-21-10 04:20 lewis Relationship added related to 0007453
04-08-10 13:07 laza Relationship added related to 0007480
04-08-10 13:07 laza Relationship deleted related to 0007480
04-08-10 13:07 laza Relationship added child of 0007480
04-08-10 13:12 laza Relationship added related to 0007426
11-23-10 15:18 leves Status assigned => resolved
11-23-10 15:18 leves Resolution open => fixed
11-23-10 15:18 leves Note Added: 0013945
11-23-10 15:19 leves Relationship replaced has duplicate 0007426


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
59 total queries executed.
39 unique queries executed.
Powered by Mantis Bugtracker