seg fault after inserting 18,000 triplets in kdtree

Paul Harris paulharris at
Fri Mar 20 23:33:00 UTC 2009

I regularly use it with hundreds of thousands of points without trouble.
I had a quick go at inserting 20k more points and it worked fine.

Can you please send me your whole kdtree directory?  ie, including the
header files and the examples (with test_kdtree.cpp).

Also, what platform are you using libkdtree on?  what compiler?


2009/3/21 neelima kopparthi <neelima.kopparthi at>

> Hi,
> I have downloaded libkdtree+ and changed the examples/test_kdtree.cpp to
> insert more values.
> After inserting 18,000 triplets in to the kdtree it is giving seg fault in
> insert() function in kdtree.hpp.
> Can you please throw some light on this?
> Thanks!!
> _______________________________________________
> libkdtree-devel mailing list
> libkdtree-devel at
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the libkdtree-devel mailing list