Access violation

Todd Fleming todd at flemingcnc.com
Thu Nov 24 17:19:25 PST 2005


The following causes an access violation under both Linux and Windows.  My
darcs repository (main) is up to date. I fetched fresh copies of
vm.h, vm.c, little.image, and AutoLoad from alpha, built the VM,
loaded little.image, and saved it as {lin.image, win.image}.

=======
todd at debian:~/slate$ ./vm lin.image
Slate: Growing heap to 6927208 bytes.
True
Slate 2> addSlot: #x valued: {4 5 6}.
The following condition was signaled:
Error: Line 1: Expected . or } but found Literal

The following restarts are available:
0) Abort evaluation of expression
1) Quit Slate

Enter 'help.' for instructions.
Debug [0..1]: The following condition was signaled from within the debugger:
Error: Line 1: Expected . or EndStream but found }
Debug [0..1]: Nil
Debug [0..1]: restart: 0.

Slate 3> addSlot: #x valued: {4. 5. 6}.
Segmentation fault
=======

The access violation occurs in PSObject_addSlotNamed_valued_.
obj points to invalid memory.

Todd




More information about the Slate mailing list