-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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
Segmentation fault during compilation #45687
Comments
Duplicated of #44266 |
The crash is due to the circular lnhttp -> lnresponse -> lnhttp inclusion of structs. |
I'll close - we believe this is fixed at tip, and fixing a compiler crash on an invalid program is not worth the risk of backporting. |
OK, obviously the program is not valid but a segmentation fault is not a good response. Anyway I assume this will create a better error message in the new version. I've set the repo containing my code to private, if you need that again for some reason ping me and I'll open it up again. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
This is the latest release on FreeBSD, I checked using pkg upgrade before filing.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
The files are here:
https://github.com/benkasminbullock/gobug
I'm able to reproduce the bug from the local repo.
What did you expect to see?
Successful compilation.
What did you see instead?
The text was updated successfully, but these errors were encountered: