I am new to graph tool. I have installed it under Ubuntu 14.04 64-bit and Python 2.7. When I tried to run the animation demos in the Cookbook section of the documentation I got a segmentation fault error. I loaded the core with gdb but couldnt get any further details on the source of the error.
Stepping into the code I managed to find out that the segmentation fault takes place when win.graph.regenerate_surface() is executed, e.g. On line 122 in animation_sirs.py. Gtk seems to be using TkAgg for what it matters.
Do you have any idea on why this error occurs? Shall I try another GTK backend?
Unfortunately, it is very hard to say anything without a backtrace. You
need to give more detailed information. I don't observe any segfaults
with the animation examples.
Also, I'm not sure what you mean with "another GTK backend". TKAgg is
not a GTK backend, it is a matplotlib backend.
Thanks for the tips. Both the animation scripts throw segmentation fault but I am running the example with ``animation_sirs.py``. I am attaching the trace after the "bt" command plus a a few lines before that, because I observed an ImportError:
from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
Sorry to knock the door again, I know the support is voluntary but I would really like to use graph-tool, so as a gentle reminder, does anyone have an idea why this segfault is appearing?
After installing the binaries in a freshly installed Linux, I managed to run the demos without segmentation faults. In my first unsuccessful attempt I tried compiling he library, so apparently something was wrong with the configuration.
Congrats to Tiago and any other contributors for making this library available