[Vm-dev] bug in the vm: bad retype from pointer to oop

tim Rowledge tim at rowledge.org
Wed Jan 2 02:26:48 UTC 2008


On 1-Jan-08, at 6:23 PM, Marek Sterzik wrote:

>
> Hello!
>
> I found a bug in the sources of the VM, which often causes
> segfaults. It happens when the VM is compiled for a 64bit
> architecture. On many places there is retyped from pointer
> to oop as:
>
> oop = (sqInt)(long)oop;
>
> but it should be:
>
> oop = oopForPointer(oop);
Thanks Marek - that was Mantis 5688 which I closed just a couple of  
days ago. It will be fixed in the next release of VMMaker


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Quality assurance: A way to ensure you never deliver shoddy goods  
accidentally.




More information about the Vm-dev mailing list