[VM] Question for VM-Hacker

Alexandre Bergel bergel at iam.unibe.ch
Thu Aug 7 07:00:18 UTC 2003


Hello,

I am in a quest of modifying the method lookup of the VM, but I get stuck on an error for more than two week. I guess it is related to a bad remap of an oop.
When I provoke this error, under gdb I get:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Program received signal SIGSEGV, Segmentation fault.
remapFieldsAndClassOf (oop=1076215828)
    at /mnt/linux/SqueakClassboxNewAlgo/Squeak-3.4-gamma1/src/vm/interp.c:15397
15397                   fieldOop = longAt(oop + fieldOffset);
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

This pointer (oop=1076215828) doesn't seem to refer an object, I guess it refers nothing (i.e., cannot get a reference to its class).

Anyone has any hint about how to resolve it? Where should I look at?

Cheers,
Alexandre


-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



More information about the Squeak-dev mailing list