-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/compile: nil pointer panic when building delve in Docker on Windows #41257
Comments
That address This seems to be at the intersection of DWARF and the new linker (and/or the new object file format). @thanm |
Thanks for the report. I'll take a look. Could you please attach "go env" output from the virtualbox environment? |
Hello, I build delve on docker vm.
|
It probably is virtualBox bug, It is not long ago virtualBox and hyperv conexist together, and I try the new features |
currently, I try make again to build delve, still has error, but I cat make install it when I try several times.
|
@codinggg I am not able to reproduce the compiler crash on linux/amd64. Do you think this could be something to do with your local envornment? Given you are building in a virtual machine, would it be possible for you to try a different virtual configuration -- docker? github codespaces ? a linux machine from a cloud vendor? and see if you can reproduce the issue outside your workstation? |
I agree with @davecheney -- likely that the problem is something to do with the environment. Just to confirm, you are saying that the build eventually succeeds if you just try multiple times? That seems very odd. |
@davecheney Hello. Yes, I think it is on my local environment. It's success before when I open hyper-v and installed wsl2. |
@codinggg , circling back to check on this bug. Is there still work to do here? It sounds as though we suspect the problem was due to the environment, so wondering if I can close this out. Thanks. |
dlv version
)?1.5.0
go version
)?go1.15.1 linux/amd64
I use windows system with open hyper-v mode, And installed virtualBox runing ubuntu system, and ubuntu run docker.
I want to use delve to debug the golang program in the docker on the virtual machine ubuntu installed on virtualBox(a bit complicated) , but the installation of delve fails.
install success ;_)
By the way, I tried debug golang program with delve on above system environment was success. Util I open hyper-v,install docker in windows system.
The text was updated successfully, but these errors were encountered: