dot2gxl gets segfault even with simple graph
Bug #376400 reported by
Stephan Sperber
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
graphviz (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: graphviz
inputfile test.dot:
digraph g {
test
test -> test1
}
do the following:
~$ dot2gxl -g test.dot
leads to the following output:
<?xml version="1.0" encoding=
<gxl>
<graph id="g" edgeids="true" edgemode=
<node id="test">
</node>
<edge from="test" to="test1" isdirected="true" id="test--test1">
Segmentation fault
Some Version information:
Ubuntu 9.04
graphviz 2.20.2-3ubuntu2 (jaunty)
Related branches
tags: | added: apport-crash |
Changed in graphviz (Ubuntu): | |
assignee: | nobody → Simon Olofsson (simono) |
status: | Confirmed → In Progress |
Changed in graphviz (Ubuntu): | |
status: | Incomplete → Confirmed |
assignee: | Simon Olofsson (simono) → nobody |
To post a comment you must log in.
I included a patch which fixes it for me.
If 'val' is NULL then no index access is possible. val[0] throws the segfault.