-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
E08 during memory read for packet #3548
Comments
Issue go-delve#3548 describes a bug in the compiler which was fixed by commit 505e50b. But this case wasn't covered by our current tests (obviously) and the fix in the compiler looks accidental so it's worth adding a test for it.
Issue go-delve#3548 describes a bug in the compiler which was fixed by commit 505e50b. But this case wasn't covered by our current tests (obviously) and the fix in the compiler looks accidental so it's worth adding a test for it. Fixes go-delve#3548
This is a bug in the compiler, which was fixed (I think unintentionally) by 505e50b1e34cdf6dff29615a076e26fb0780d10d in go1.22 cc @dr2chase, you might be interested in this. Do you think something should be done for go1.21, a backport seems unlikely to me. |
PS. the associated pull request has a reduced reproduction for this bug: #3553 |
Issue go-delve#3548 describes a bug in the compiler which was fixed by commit 505e50b. But this case wasn't covered by our current tests (obviously) and the fix in the compiler looks accidental so it's worth adding a test for it. Fixes go-delve#3548
Issue go-delve#3548 describes a bug in the compiler which was fixed by commit 505e50b. But this case wasn't covered by our current tests (obviously) and the fix in the compiler looks accidental so it's worth adding a test for it. Fixes go-delve#3548
Same issue when on Go 1.22 |
Please answer the following before submitting your issue:
Note: Please include any substantial examples (debug session output,
stacktraces, etc) as linked gists.
If this is about source listing not showing up (or breakpoints not being
accepted) while running in a container please read our
FAQ
first.
dlv version
)?go version
)?When trying to debug a test that contains a struct with a non-pointer object that has a function with a pointer receiver defined, interacting with that object causes all locals to return
unreadable could not read string pointer protocol error E08 during memory read for packet
.Steps:
I expected to able to print values for locals.
I see all values being returned as error E08.
Log file and files to reproduce error are here.
Changing
Thing
to be*Thing
on line 11 resolves the error.The text was updated successfully, but these errors were encountered: