On Fri, Nov 05, 2004 at 05:55:39AM +0000, Matthias Radestock wrote:
> Chris Double wrote:
>
> >I'm having a problem serializing continuations where it can't serialize
> >some of the objects in the continuation, but that object shouldn't be in
> >the continuation (I think). The problem does not occur with 1.8.8. Here
> >is a test case that reproduces the problem (if not the same problem, a
> >similar one):
> >
> Thanks Chris. I have created bug 1060726 for this.
>
> >Any thoughts on what might be going wrong, or if I'm misunderstanding
> >how things work, where I'm going wrong?
>
> Your test case looks perfectly valid; i.e. it should work.
>
> I suspect that the error gets stuck in the repl continuation, so any
> continuation starting from the repl afterwards will contain the
> unserializable object contained in the error.
>
That appears to be the case. You can entirely eliminate the parameter,
that has nothing to do with anything.
You can also create a box, initially empty, and serialize that, then set
the box to the nonserializable object. (doit a) still works then,
meaning the box is nowhere on the stack. Serialize the box and get
the error, and then doit doesn't work anymore.
Still not sure how the error is remaining on the stack though.
Scott
pgp0ynidz9Xdm.pgp
Description: PGP signature
|