> This looks most likely like a mismatch between python and
> boost-python. Verify that you are using the same version of python when
> compiling boost-python and graph-tool.
Thanks Tiago, I recompiled boost, libgmp, and graph-tool with py3.3 support
only. Same issue.
$/usr/bin/python2.7 -c 'import graph_tool.all as gt'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named graph_tool.all
root@xeonbox /usr/lib64 $/usr/bin/python3.3 -c 'import graph_tool.all as gt'
Segmentation fault
root@xeonbox /usr/lib64 $tail -n 1 /var/log/messages
Jan 27 14:48:27 localhost kernel: [223943.748612] python3.3[19331]: segfault at
1b1b56 ip 00000000001b1b56 sp 00007fffe5a7d588 error 14 in
libgmp.so.10.2.0[7f98d6d4c000+79000]
LD_DEBUG="all" shows one unresolved symbol shortly before the segfault:
18820:
/usr/lib64/python3.3/site-packages/graph_tool/generation/libgraph_tool_generation.so:
error: symbol lookup error: undefined symbol:
_ZNKSt3tr14hashISt6vectorISsSaISsEEEclES3_ (fatal)
$nm -D
/usr/lib64/python3.3/site-packages/graph_tool/generation/libgraph_tool_generation.so
| grep _ZNKSt3tr14hashISt6vectorISsSaISsEEEclES3_
U _ZNKSt3tr14hashISt6vectorISsSaISsEEEclES3_
demangler.com converts that to:
std::tr1::hash<std::vector<std::string, std::allocator<std::string> >
>::operator()(std::vector<std::string, std::allocator<std::string> >) const
Is this from line 564 in src/graph/graph_util.hh?
gdb shows that var that $pc eventually gets set by being set to
0x00000000001b1b56 before I break @ graph_generation.cc:99
https://537042.bugs.gentoo.org/attachment.cgi?id=395036
I also switched to gcc 4.9.2 and recompiled everything relevant. Same result.
Per a suggestion in #gentoo I removed the tr1/ before the 3 includes in
/src/graph_tool/run_action/run_action_support.hh and recompiled. Same result.
Full bug report with logs: https://bugs.gentoo.org/show_bug.cgi?id=537042
Further suggestions are most appreciated!
-Justin
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool