Discussion:
[graphviz-interest] gxl2gv segmentation fault
Ron Newman
2015-10-23 22:16:44 UTC
Permalink
1) I use gv2gxl to create a .gxl file.

2) I use gxl2gv to convert the same .gxl file back to .gv. Segmentation
fault.

I also tried:

gv2gxl -d
gxl2gv -d

with same result.

One option: In 2011 there was a bug in gxl2gv involving a segmentation
fault that was never marked as fixed:
http://graphviz.996277.n3.nabble.com/what-happened-to-gv2gxl-td4190.html

Also, the man pages say that "There are some GXL constructs which gxl2gv
cannot handle." But this graph consists of just one node, no edges, and it
was generated by gv2gxl, so it seems it should handle its own output.


Here's the gxl input that causes the segmentation fault:

<?xml version="1.0" encoding="iso-8859-1"?>
<gxl>
<graph id="myGraph" edgeids="true" edgemode="directed">
<node id="N_0">
<attr name="name">
<string>129790</string>
</attr>
<attr name="ID">
<string>129790</string>
</attr>
<attr name="label">
<string>dfgh</string>
</attr>
</node>
</graph>
</gxl>


I'm using graphviz version 2.36.0 (20140111.2315) on Ubuntu.
Ron
--
Ron Newman, Founder
IdeaTreeLive.com <http://www.Ideatreelive.com>
www.linkedin.com/in/ideatree/
Facebook.com/RonNewmanPiano
Loading...