Re: [Sisc-users] SISC 1.9.0-alpha finally released

"Scott G. Miller" <[email protected]> Wed, 1 Sep 2004 09:42:25 -0500
Newsgroups gmane.comp.java.sisc.devel
Message-ID <[email protected]>
On Wed, Sep 01, 2004 at 02:33:56PM +1200, Chris Double wrote:
> Using the latest CVS I get a problem with serializing continuations:
> 
> (import serial-io)
> (define (x) 
>       (call/cc (lambda (x) (call-with-serial-output-file "test.ser"
>       (lambda (port) (serialize x port)))))
>       (display "hi") (newline))
> (x)
> (call-with-serial-input-file "test.ser" deserialize)
> java.lang.InstantiationException: sisc.data.SchemeThread
> 	at java.lang.Class.newInstance0(Class.java:293)
> 	at java.lang.Class.newInstance(Class.java:261)
> 	at sisc.ser.StreamDeserializer.readExpression(StreamDeserializer.java:50)
> 	at sisc.ser.StreamDeserializer.readExpression(StreamDeserializer.java:30)

Actually, it seems a bit worse than that.  The serialized continuation 
is >450k in size, meaning that somewhere in there it managed to start 
serializing much of the heap.  

Matthias, is there any chance that the FreeReference abstraction changed 
the way they are serialized?

	Scott
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBNd/Rr9IW4v3mHtQRApmaAJ9Qy9WTm1M52Q7/3l0NDhoFXxt/VwCeIpuZ
wkiZMVXt0I11Ear6/9cXJCg=
=+ncf
-----END PGP SIGNATURE-----