[cl-prevalence-devel] Re: cl-prevalence bug and patch

Sven Van Caekenberghe scaekenberghe at common-lisp.net
Sat Nov 27 08:18:46 UTC 2004


James,

Thanks for the feedback. Here is a first reaction, without looking at 
your code.

On 27 Nov 2004, at 03:58, James Wright wrote:

> The first bug is pretty minor: An attempt to serialize a
> standard-object will fail if any of its slots are unbound.

This is probably fixed in the CVS version (among other things) - have a 
look at the mailing list(s).

> The second bug is somewhat mystifying.  Attempting to serialize an
> object that points to another object that points ... to another object
> that points to nothing will fail with a stack overflow if the length
> of the "chain" is any longer than about 1300.  I'm using Lispworks
> with a stack size of 64000.

I never tried chains that long. But yes there might be a problem here: 
the serializer tracks every object it encounters, and is itself a 
recursive process. Although 1300 doesn't seem that large a number. I am 
using LW myself, and sometimes you have to expand the stack a couple of 
times for very recursive code to succeed.

I will have a look at your example later on.

Sven





More information about the Cl-prevalence-devel mailing list