This is the gdb backtrace:

#0  0x00007fffe29c9bc3 in std::vector<int, std::allocator<int> >::_M_fill_insert(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >, unsigned long, int const&) ()
   from /system/software/linux-x86_64/lib/python2.7/site-packages/graph_tool/libgraph_tool_core.so
#1  0x00007fffdeaec57d in std::vector<int, std::allocator<int> >::resize ()
   from /system/software/linux-x86_64/lib/python2.7/site-packages/graph_tool/topology/libgraph_tool_topology.so
#2  0x00007fffdeaeebcb in do_all_pairs_search::operator()<boost::adj_list<unsigned long>, boost::typed_identity_property_map<unsigned long>, boost::unchecked_vector_property_map<std::vector<int, std::allocator<int> >, boost::typed_identity_property_map<unsigned long> >, graph_tool::ConstantPropertyMap<unsigned long, boost::adj_list<unsigned long>::edge_descriptor> > ()
   from /system/software/linux-x86_64/lib/python2.7/site-packages/graph_tool/topology/libgraph_tool_topology.so
#3  0x00007fffe17e0d16 in gomp_thread_start () at ../../../libgomp/team.c:117
#4  0x0000003d9e6079d1 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003d9e2e89dd in clone () from /lib64/libc.so.6

I will ask the admin team at my university if they can install the newest version of graph-tool on the system.

Thanks and best wishes,
Alice