You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is probably a duplicate of #45728 .
TL;DR the arguments printed in tracebacks are best-effort and are worse in 1.17 because of the new register-based calling convention.
Not sure why it would be different for freebsd, though.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No, only with tip on Linux amd64 (Debian 10.9).
What operating system and processor architecture are you using (
go env
)?Linux x86_64 (Debian 10.9)
go env
OutputWhat did you do?
x.go
file:then
go run x.go
What did you expect to see?
go 1.16.5 prints:
What did you see instead?
go1.17-912f075047 prints:
so
main.setVal(0xc0000001a0)
instead ofmain.setVal(0x1)
.The same go1.17-912f075047 on FreeBSD 13.0 amd64 works correctly, so this bug seems to be related to Linux, at least on amd64.
The text was updated successfully, but these errors were encountered: