Build assertion error
Hi everyone, I am having trouble building from source on Ubuntu 10.04. I have 8GB of RAM. Before this error I was getting an error about boost/irange.h not found. I downloaded the latest version of boost and placed that directory on graph-tool to fix this. Seemed to correct other errors but now I am getting the following: user@wuwcorp:~/graph-tool-2.2.24$ make make all-recursive make[1]: Entering directory `/home/user/graph-tool-2.2.24' Making all in src make[2]: Entering directory `/home/user/graph-tool-2.2.24/src' Making all in graph make[3]: Entering directory `/home/user/graph-tool-2.2.24/src/graph' Making all in centrality make[4]: Entering directory `/home/user/graph-tool-2.2.24/src/graph/centrality' CXX graph_pagerank.lo cc1plus: malloc.c:3551: munmap_chunk: Assertion `ret == 0' failed. In file included from ./../graph_filtering.hh:55, from graph_pagerank.cc:18: ./../mpl_nested_loop.hh: In member function 'void boost::mpl::nested_for_each<TR1, TR2, TR3, TR4, TR5>::eval_action4<Action, T1, T2, T3>::operator()(T4) const [with T4 = boost::checked_vector_property_map<double, boost::adj_edge_index_property_map<long unsigned int> >, Action = boost::mpl::selected_types<graph_tool::detail::action_wrap<boost::_bi::bind_t<void, graph_tool::get_pagerank, boost::_bi::list9<boost::arg<1>, boost::_bi::value<boost::typed_identity_property_map<long unsigned int> >, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::_bi::value<double>, boost::_bi::value<double>, boost::_bi::value<long unsigned int>, boost::reference_wrapper<long unsigned int> > >, mpl_::bool_<false> > >, T1 = boost::reverse_graph<boost::filtered_graph<boost::adj_list<long unsigned int>, boost::keep_all, graph_tool::detail::MaskFilter<boost::unchecked_vector_property_map<unsigned char, boost::typed_identity_property_map<long unsigned int> > > >, const boost::filtered_graph<boost::adj_list<long unsigned int>, boost::keep_all, graph_tool::detail::MaskFilter<boost::unchecked_vector_property_map<unsigned char, boost::typed_identity_property_map<long unsigned int> > > >&>*, T2 = boost::checked_vector_property_map<long double, boost::typed_identity_property_map<long unsigned int> >, T3 = boost::checked_vector_property_map<long int, boost::typed_identity_property_map<long unsigned int> >, TR1 = graph_tool::detail::graph_action<boost::_bi::bind_t<void, graph_tool::get_pagerank, boost::_bi::list9<boost::arg<1>, boost::_bi::value<boost::typed_identity_property_map<long unsigned int> >, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::_bi::value<double>, boost::_bi::value<double>, boost::_bi::value<long unsigned int>, boost::reference_wrapper<long unsigned int> > >, graph_tool::detail::all_graph_views, mpl_::bool_<false>, boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, boost::mpl::v_item<graph_tool::ConstantPropertyMap<double, long unsigned int>, boost::mpl::v_item<boost::typed_identity_property_map<long unsigned int>, boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<long int, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<int, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<short int, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<unsigned char, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, boost::mpl::v_item<graph_tool::ConstantPropertyMap<double, std::tr1::tuple<long unsigned int, long unsigned int, long unsigned int> >, boost::mpl::v_item<boost::adj_edge_index_property_map<long unsigned int>, boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<long int, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<int, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<short int, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<unsigned char, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, boost::mpl::vector<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> >::graph_view_pointers, TR2 = boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, TR3 = boost::mpl::v_item<graph_tool::ConstantPropertyMap<double, long unsigned int>, boost::mpl::v_item<boost::typed_identity_property_map<long unsigned int>, boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<long int, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<int, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<short int, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<unsigned char, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, TR4 = boost::mpl::v_item<graph_tool::ConstantPropertyMap<double, std::tr1::tuple<long unsigned int, long unsigned int, long unsigned int> >, boost::mpl::v_item<boost::adj_edge_index_property_map<long unsigned int>, boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<long int, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<int, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<short int, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<unsigned char, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, TR5 = boost::mpl::vector<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>]': ./../mpl_nested_loop.hh:186: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions. make[4]: *** [graph_pagerank.lo] Error 1 make[4]: Leaving directory `/home/user/graph-tool-2.2.24/src/graph/centrality' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/user/graph-tool-2.2.24/src/graph' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/user/graph-tool-2.2.24/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/user/graph-tool-2.2.24' make: *** [all] Error 2 Best, Michael Tsikerdekis
You can try gcc-4.5 -> gcc-4.8 from: https://launchpad.net/~ubuntu-toolchain-r/+archive/test?field.series_filter=... I'd recommend 4.7 as it's the most stable one so far. On 18 July 2013 21:34, Michael Tsikerdekis <tsikerdekis@gmail.com> wrote:
Hi everyone,
I am having trouble building from source on Ubuntu 10.04. I have 8GB of RAM. Before this error I was getting an error about boost/irange.h not found. I downloaded the latest version of boost and placed that directory on graph-tool to fix this. Seemed to correct other errors but now I am getting the following:
user@wuwcorp:~/graph-tool-2.2.24$ make make all-recursive make[1]: Entering directory `/home/user/graph-tool-2.2.24' Making all in src make[2]: Entering directory `/home/user/graph-tool-2.2.24/src' Making all in graph make[3]: Entering directory `/home/user/graph-tool-2.2.24/src/graph' Making all in centrality make[4]: Entering directory `/home/user/graph-tool-2.2.24/src/graph/centrality' CXX graph_pagerank.lo cc1plus: malloc.c:3551: munmap_chunk: Assertion `ret == 0' failed. In file included from ./../graph_filtering.hh:55, from graph_pagerank.cc:18: ./../mpl_nested_loop.hh: In member function 'void boost::mpl::nested_for_each<TR1, TR2, TR3, TR4, TR5>::eval_action4<Action, T1, T2, T3>::operator()(T4) const [with T4 = boost::checked_vector_property_map<double, boost::adj_edge_index_property_map<long unsigned int> >, Action = boost::mpl::selected_types<graph_tool::detail::action_wrap<boost::_bi::bind_t<void, graph_tool::get_pagerank, boost::_bi::list9<boost::arg<1>, boost::_bi::value<boost::typed_identity_property_map<long unsigned int> >, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::_bi::value<double>, boost::_bi::value<double>, boost::_bi::value<long unsigned int>, boost::reference_wrapper<long unsigned int> > >, mpl_::bool_<false> > >, T1 = boost::reverse_graph<boost::filtered_graph<boost::adj_list<long unsigned int>, boost::keep_all, graph_tool::detail::MaskFilter<boost::unchecked_vector_property_map<unsigned char, boost::typed_identity_property_map<long unsigned int> > > >, const boost::filtered_graph<boost::adj_list<long unsigned int>, boost::keep_all, graph_tool::detail::MaskFilter<boost::unchecked_vector_property_map<unsigned char, boost::typed_identity_property_map<long unsigned int> > > >&>*, T2 = boost::checked_vector_property_map<long double, boost::typed_identity_property_map<long unsigned int> >, T3 = boost::checked_vector_property_map<long int, boost::typed_identity_property_map<long unsigned int> >, TR1 = graph_tool::detail::graph_action<boost::_bi::bind_t<void, graph_tool::get_pagerank, boost::_bi::list9<boost::arg<1>, boost::_bi::value<boost::typed_identity_property_map<long unsigned int> >, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::_bi::value<double>, boost::_bi::value<double>, boost::_bi::value<long unsigned int>, boost::reference_wrapper<long unsigned int> > >, graph_tool::detail::all_graph_views, mpl_::bool_<false>, boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, boost::mpl::v_item<graph_tool::ConstantPropertyMap<double, long unsigned int>, boost::mpl::v_item<boost::typed_identity_property_map<long unsigned int>, boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<long int, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<int, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<short int, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<unsigned char, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, boost::mpl::v_item<graph_tool::ConstantPropertyMap<double, std::tr1::tuple<long unsigned int, long unsigned int, long unsigned int> >, boost::mpl::v_item<boost::adj_edge_index_property_map<long unsigned int>, boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<long int, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<int, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<short int, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<unsigned char, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, boost::mpl::vector<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> >::graph_view_pointers, TR2 = boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, TR3 = boost::mpl::v_item<graph_tool::ConstantPropertyMap<double, long unsigned int>, boost::mpl::v_item<boost::typed_identity_property_map<long unsigned int>, boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<long int, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<int, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<short int, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<unsigned char, boost::typed_identity_property_map<long unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, TR4 = boost::mpl::v_item<graph_tool::ConstantPropertyMap<double, std::tr1::tuple<long unsigned int, long unsigned int, long unsigned int> >, boost::mpl::v_item<boost::adj_edge_index_property_map<long unsigned int>, boost::mpl::v_item<boost::checked_vector_property_map<long double, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<double, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<long int, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<int, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<short int, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::v_item<boost::checked_vector_property_map<unsigned char, boost::adj_edge_index_property_map<long unsigned int> >, boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, 0>, TR5 = boost::mpl::vector<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>]': ./../mpl_nested_loop.hh:186: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions. make[4]: *** [graph_pagerank.lo] Error 1 make[4]: Leaving directory `/home/user/graph-tool-2.2.24/src/graph/centrality' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/user/graph-tool-2.2.24/src/graph' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/user/graph-tool-2.2.24/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/user/graph-tool-2.2.24' make: *** [all] Error 2
Best, Michael Tsikerdekis
_______________________________________________ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool
participants (2)
-
Dmitrijs Ledkovs -
Michael Tsikerdekis