Boost logo

Boost Users :

Subject: Re: [Boost-users] BGL: Problem to compile components_on_edgelist.cpp example.
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-05-06 09:39:24


On Thu, 6 May 2010, Arman Khalatyan wrote:

> I got the recent revision 61803.The compilation is ok but the code is crashing on the line:
> 72   incremental_components(g, ds);
> ------------- SNIP --------------------
> libs/graph/example% ./components_on_edgelist.x 
> An undirected graph (edge list):
> (0,1) (1,4) (4,0) (2,5) 
>
> Segmentation fault
> ------------END SNIP------------------
>
> SO, what is the reason?

I thought all of the array overruns were fixed -- I guess they might not
have been. See if your symptoms are anything like what is in
https://svn.boost.org/trac/boost/ticket/3250; if you can run valgrind,
please see what it outputs.

-- Jeremiah Willcock


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net