-
-
Notifications
You must be signed in to change notification settings - Fork 415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal panic in pointer analysis #24
Comments
Hey, thanks for reporting this issue. It seems like this is a bug in the pointer analysis package that go-callvis uses: github.com/golang.org/x/tools/go/pointer. I found similar issue from someone in 2014: https://groups.google.com/forum/#!msg/golang-dev/G-Yc8908DBw/x9DTgrrtlDYJ I tried running pointer analysis with callgraph tool and same panic occurred:
I will report this upstream to find out what's wrong. EDIT: reported: https://groups.google.com/forum/#!topic/golang-dev/mtO8T5FKRuM |
I got the same trying to visualize Buildkit
|
Similar here |
Similar here too..it is not working...
|
Not sure if you need more examples, but got another one, while analyzing the current master of github.com/grafana/metrictank
|
The actual bug is in the golang.org/x/tools/go/pointer package. There already is issue for this, please report your findings here: golang/go#25090 |
It seems the original issue won't be solved. Could we prevent this by suggesting -ignore option for the caused package? |
Unfortunately, ignore is applied after the callgraph analysis. |
go-callvis crashed when I try to make call graph of project "lnd":
Here is the log:
The text was updated successfully, but these errors were encountered: