Hello Vladimir
Not a problem. I tried the latest version from the URL. It compiles and runs without the stack overflow but the results are incorrect - the resultant component count is always the number of verticies in the graph and the component number assigned to each vertex in the component map is the vertex index itself.
Uhm... that's pretty wierd.
As I understand from your another post, you've made 1.35 work ok, so changes in depth_first_search.hpp were all that you needed, but I'm at lost at to why my version did not work.
I'm new to BGL so I don't know if I can be much help in finding the problem, but if you want me try any modifications I'd be happy to do so. ( I tried stepping thru the code but, being unfamiliar with the all the BGL architecture, rapidly got lost )