reflect: ptrAlign panic when accessing Method #35002
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
go version
)?What did you do?
When running with
-gcflags=all=-d=checkptr
against an existing codebase, I saw many panics that seemed to originate from go-cmp. Upon further investigation and minimizing the repro case, I have this near-minimal example:When run with
gotip run -gcflags=all=-d=checkptr .
, the following panic occurs:When run with
go version go1.12.9 darwin/amd64
, this program outputs{Bar func(main.Foo) <func(main.Foo) Value> 0} true
./cc @mdempsky
The text was updated successfully, but these errors were encountered: