[graph-tool-tickets] [graph-tool] Ticket #86: "Error: agstrfree lost'' while using graph_tool.draw.draw_graph in multithreaded app

graph-tool webmaster at skewed.de
Wed Jan 25 13:47:54 UTC 2012


#86: "Error: agstrfree lost'' while using graph_tool.draw.draw_graph in multithreaded app
new defect
---------------------------------------------------------------------
Reporter: ujujinsan
Owner: tiago peixoto
Priority: minor
Milestone: (None)

---------------------------------------------------------------------
Comment (by tiago peixoto (2)):

I'm affraid graphviz is simply not thread-safe. I'm forced to keep a single graphviz context the whole time to avoid a memory leak, so calling the library from multiple threads will lead to problems.

I'm implementing a graphviz-free drawing routine which will be available in the next version, and will be threads-afe. Stay tuned.
--
Ticket URL: <URL:http://graph-tool.skewed.de/ticket/86>
graph-tool <URL:http://graph-tool.skewed.de/>
An efficient python module for graph analysis and manipulation.


More information about the graph-tool-tickets mailing list