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

Found segfault issue in splay tree (possibly other trees as well) #2

Closed
elliotcm opened this issue Aug 29, 2009 · 3 comments
Closed

Comments

@elliotcm
Copy link

Hi there.

While using the library (specially the splay tree) as backend to a project, I did a stress test and found my app segfaulting under some strange and very specific conditions (300,000 items added to the tree in one loop followed by another loop of 300,000 items, no problem. 350,000 items added in one loop = segfault).

This is recreatable by loading your benchmarks for the treemaps and changing the array size to 261_123 (or any value above 261,122).

@kanwei
Copy link
Owner

kanwei commented Aug 29, 2009

Thanks for reporting this. Looks like it's blowing the stack with "recursively_mark_nodes". I'll see if I can fix it cleanly.

@kanwei
Copy link
Owner

kanwei commented Nov 15, 2009

Fixed in 98d20f9...

@elliotcm
Copy link
Author

Awesome.

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

2 participants