Segmentation fault with rank=source (or sink)
Possibly the same problem as #1303 (closed)
The dot source:
digraph {
subgraph {
graph [rank=source]
a -> b
}
c -> d
}
gives:
$ dot -Tsvg bug1.dot
Segmentation fault (core dumped)
Rank sink gives the same problem, but not min, max or same. If the c -> d
edge is removed, there is no problem.
Pasting the dot source at http://viz-js.com/ gives:
uncaught exception: Assertion failed: !TREE_EDGE(e), at: ns.c,463,merge_trees at jsStackTrace@http://viz-js.com/bower_components/viz.js/viz.js:27:15589 stackTrace@http://viz-js.com/bower_components/viz.js/viz.js:27:15760 ___assert_fail@http://viz-js.com/bower_components/viz.js/viz.js:27:509776 gL@http://viz-js.com/bower_components/viz.js/viz.js:35:98148 QK@http://viz-js.com/bower_components/viz.js/viz.js:35:89464 $6@http://viz-js.com/bower_components/viz.js/viz.js:43:14025 invoke_v@http://viz-js.com/bower_components/viz.js/viz.js:27:596724 LK@http://viz-js.com/bower_components/viz.js/viz.js:35:83985 sL@http://viz-js.com/bower_components/viz.js/viz.js:35:104856 Hi@http://viz-js.com/bower_components/viz.js/viz.js:41:42982 Vf@http://viz-js.com/bower_components/viz.js/viz.js:33:93115 Uf@http://viz-js.com/bower_components/viz.js/viz.js:33:92292 Tf@http://viz-js.com/bower_components/viz.js/viz.js:33:92127 uS@http://viz-js.com/bower_components/viz.js/viz.js:36:56042 lG@http://viz-js.com/bower_components/viz.js/viz.js:34:70552 Ib@http://viz-js.com/bower_components/viz.js/viz.js:33:598 ccallFunc@http://viz-js.com/bower_components/viz.js/viz.js:27:8999 render@http://viz-js.com/bower_components/viz.js/viz.js:87:23 Viz@http://viz-js.com/bower_components/viz.js/viz.js:75:12 onmessage@http://viz-js.com/worker.js:4:16