I've fixed a bug in AbstractSTRtree::compareDoubles making all sort operations dangerous. It has to return bool, not int. See: http://sgi.com/tech/stl/sort.html With the fix doc/example runs with no memory errors (just leaks). --strk;