Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tree corruption when all entries are deleted #3

Closed
aled opened this issue Jun 5, 2010 · 1 comment
Closed

Tree corruption when all entries are deleted #3

aled opened this issue Jun 5, 2010 · 1 comment

Comments

@aled
Copy link
Owner

aled commented Jun 5, 2010

Copied from sourceforge help forum:

Just for testing, I make an RTree with at least one element per node, and at most two elements per node. I add three items to it, remove them all, and try to add them again. The program crashes during the last of the aforementioned steps, upon the first attempt to add one of the items. As reported above, the root node is at level 2, and the tree has height 2, when the tree is empty. This seems to be the problem. It seems to be necessary to completely empty the tree in order to put it in the corrupt state. This differs from the above report, wherein it is said that the problem occurs after 100 items were added and 60-80 were removed. I tried adding 3001 and removing 3000 and there was no corruption. But removing the last item causes trouble.

@aled
Copy link
Owner Author

aled commented Jun 20, 2010

Found a bug triggered by deletion of last entry, though possibly not the same bug as described here. Committed in acfc81.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant