On 03.03.2012 23:21, Eliot Miranda wrote:




Cog VM binaries as per VMMaker.oscog-eem.152/r2538
<http://www.mirandabanda.org/files/Cog/VM/VM.r2538/>.
Fix tricky context state bug that can cause crashes in the GC.
Contextpart>runUntilErrorOrReturnFrom: may pop the last argument.
Hence if a frame is married in this state its spouse context won't have
its last argument slot initialized.  If later the frame is divorced and the
arguments are not updated the last argument slot can be left with this
uninitialized slot and ... bang.
The solution is to update arguments as well as stack contents when
divorcing.  This is good also because it removes the VM's assumption
that method arguments are read-only, and that's only enforced by the
Smalltalk bytecode compiler, not by the bytecode.

I just wanted to report that my LD_LIBRARY_PATH problems are gone and the VM starts again on 64bit. Also TCP_CORK seems to work.

Thanks
Philippe


Reply via email to