dot 2.40.1: SIGSEGV Address boundary error
Unexpected crash (SIGSEV)
Platform and Version
Ubuntu 18.10
$ dot -V
dot - graphviz version 2.40.1 (20161225.0304)
Repro
Input File
digraph G {
forcelabels=true;
graph [fontname = "Arial"];
edge [fontname = "Arial"];
node [fontname = "Arial" style=filled fillcolor=white];
1 [shape=box];
{ rank = sink; Legend[shape=none, margin=0, label=<
<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4">
<TR><TD COLSPAN="2"><B>Locations</B></TD></TR>
<TR><TD>ante-chamber</TD><TD BGCOLOR="#bcd517"></TD></TR>
<TR><TD>chieftain-crypt</TD><TD BGCOLOR="#9d5457"></TD></TR>
<TR><TD>false-crypta</TD><TD BGCOLOR="#90a942"></TD></TR>
<TR><TD>hall-of-the-dead</TD><TD BGCOLOR="#70445c"></TD></TR>
<TR><TD>orc-camp</TD><TD BGCOLOR="#3b2adf"></TD></TR>
<TR><TD>oxhaven</TD><TD BGCOLOR="#146e0a"></TD></TR>
<TR><TD>portico</TD><TD BGCOLOR="#feab6f"></TD></TR>
<TR><TD>star-chamber</TD><TD BGCOLOR="#a092b5"></TD></TR>
<TR><TD>temple-chamber</TD><TD BGCOLOR="#c50faf"></TD></TR>
<TR><TD>trapped-hall</TD><TD BGCOLOR="#2ba167"></TD></TR>
</TABLE>
>]; }
}
Command
$ dot -Tpng output/shuffled.dot > output/shuffled.png;
fish: “dot -Tpng output/shuffled.dot >…” terminated by signal SIGSEGV (Address boundary error)
Expected Behaviour
PNG with table on the bottom.