szergling senatorzergling at gmail.com
Tue Dec 8 05:10:39 UTC 2009

On 12/8/09, Gary Zu <clstoreuser at gmail.com> wrote:

> returned nil in Lispworks ( Besides size, I logged out all
> parameters restored for the saved hash table. They read as follows:
> [DEBUG] : rehash-size = NIL
> [DEBUG] : rehash-threshold = 7
> [DEBUG] : size = NIL
> [DEBUG] : test = EQL
> [DEBUG] : count = 601
> rehash-size and rehash-threshold are both wrong, too. If I make an empty
> hash table, the Lispworks gives size=37, rehash-size=2.0,
> rehash-threshold=1.0 - surely they got them all right.
> You can see that my hash table got 601 entries. I indeed got them all
> restored using your workaround idea. Still not sure how those bad parameter
> values got stored in the first place.

Either the hash-table-* functions or some hash-table were acting funny,
or your store may have been corrupted. I don't know how data
could be corrupted, and I would assume that any cl-store version
incompatibilities would be picked up by asserts. This is still a little
suspicious. Does the restored hash-table's content look intact?
Not sure how else to go about this...

> Pointing me to the source code is a great help. Many thanks again!

You're welcome!


More information about the cl-store-devel mailing list