On 22.01.2015 23:15, "graph-tool"@v6y.net> wrote:
> Hi, using the latest git (or the release version), I get a segfault:
>
> $/usr/bin/python3.3 -c 'import graph_tool.all as gt' ; tail -n 1 
> /var/log/messages
> Segmentation fault
> Jan 19 04:42:12 localhost kernel: [196711.282646] python3.3[18903]: segfault 
> at 16ae16 ip 000000000016ae16 sp 00007ffff2286a18 error 14 in 
> libgmp.so.10.1.3[7f05c5edb000+78000]
>
> The end of the backtrace says:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000000011ab766 in ?? ()
> #0  0x00000000011ab766 in ?? ()
> #1  0x00007fffc3ddc357 in PyInit_libgraph_tool_generation () at 
> graph_generation.cc:99
> #2  0x00007ffff7a50afc in _PyImport_LoadDynamicModule 
> (name='graph_tool.generation.libgraph_tool_generation', 
> path='/usr/lib64/python3.3/site-packages/graph_tool/generation/libgraph_tool_generation.so',
>  fp=0x0) at 
> /var/tmp/portage/dev-lang/python-3.3.5-r1/work/Python-3.3.5/Python/importdl.c:86
> #3  0x00007ffff7a50564 in imp_load_dynamic (self=<module at remote 
> 0x7ffff7f40b90>, args=('graph_tool.generation.libgraph_tool_generation', 
> '/usr/lib64/python3.3/site-packages/graph_tool/generation/libgraph_tool_generation.so'))
>  at
> /var/tmp/portage/dev-lang/python-3.3.5-r1/work/Python-3.3.5/Python/import.c:1801
> #4  0x00007ffff7976f07 in PyCFunction_Call (func=<built-in method 
> load_dynamic of module object at remote 0x7ffff7f40b90>, 
> arg=('graph_tool.generation.libgraph_tool_generation', 
> '/usr/lib64/python3.3/site-packages/graph_tool/generation/libgraph_tool_generation.so'),
>  kw={})
>     at 
> /var/tmp/portage/dev-lang/python-3.3.5-r1/work/Python-3.3.5/Objects/methodobject.c:81
>
>
> Full backtraces and system information @ 
> https://bugs.gentoo.org/show_bug.cgi?id=537042
>
> line 99 of: 
> https://github.com/count0/graph-tool/blob/master/src/graph/generation/graph_generation.cc
>  seems to be the fault location
>
> Any idea on what I should try to further isloate this?

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.

Best,
Tiago

-- 
Tiago de Paula Peixoto <ti...@skewed.de>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to