Access violation

Brian Rice water at tunes.org
Sun Nov 27 11:24:29 PST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

For reference, the bug has been isolated to:
1) Incomplete resetting of Parser/Lexer state, leaving the implicit  
argument of the second statement, 5!
2) Trying to call slot-manipulation methods on SmallIntegers causes a  
bus error.

I'll issue fixes for these shortly.

On Nov 24, 2005, at 5:19 PM, Todd Fleming wrote:

> 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

- --
- -Brian
http://tunes.org/~water/brice.vcf

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDigfyPVkAvLW1zf4RAvQ9AJ9wf0UdM7KzKexUTWxjgaoHDZcEzwCfWvBM
rjooqyVHi1QTkSaWC+2Bijk=
=GFaJ
-----END PGP SIGNATURE-----




More information about the Slate mailing list