[rucksack-devel] Re: Fwd: State of the nation and heap patch
Arthur Lemmens
alemmens at xs4all.nl
Sat Feb 2 17:12:53 UTC 2008
[Replying to the Rucksack mailing list]
Sean Ross wrote:
> The bad news is that there appears to be an issue with p-btrees and
> gc. I've attached some code which exercises the bug.
Good catch, thanks a lot for the report.
This turned out to be a subtle bug in the garbage collector: when it
deletes object ids from the object table (because the objects are
dead and we may want to reuse their ids later for other objects), it
should also remove that object from the cache. If it doesn't, there's
a possibility that the object id will be reused later for a new object
and the cache wil still refer to the old in-memory object. Some kind
of identity crisis ;-)
I fixed this bug on my machine, but common-lisp.net ssh is inaccessible
at the moment so I haven't fixed it in CVS yet.
With this bug fix, all data corruption bugs that I'm aware of have
been fixed now. But I'm sure there are more problems hidden in some
dirty corners. If you find them, please let me know.
Arthur
More information about the rucksack-devel
mailing list