ondrajz / go-callvis

Visualize call graph of a Go program using Graphviz
https://ofabry.github.io/go-callvis
MIT License
5.85k stars 406 forks source link

graphviz segfault #45

Open xaionaro opened 5 years ago

xaionaro commented 5 years ago

I run:

~/go/bin/go-callvis -group pkg -nointer -file /tmp/rotator-modules -skipbrowser -ignore gotask.ws/scm/ts/rotator/vendor -nostd -focus '' -limit gotask.ws/scm/ts/rotator/modules gotask.ws/scm/ts/rotator/cmd/rotator

And receive:

2019/03/12 09:10:50 writing dot output..
2019/03/12 09:10:50 converting dot to svg..
2019/03/12 09:11:52 signal: segmentation fault

I've tried to run the dot manually, to see the error. The result:

libpath/shortest.c:324: triangulation failed
libpath/shortest.c:192: source point not in any triangle
Error: in routesplines, Pshortestpath failed
Segmentation fault

It seems it's impossible to visualize such graph.