Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: stack corruption in github.com/go-openapi/swag tests #19278
Starting at commit 0358367, the runtime crashes inside of reflect.DeepEqual while running github.com/go-openapi/swag.TestBoolMap:
Full crash attached. The crash changes at later revisions of the runtime, but I expect that it's a new symptom of the same underlying cause rather than a new problem.
For posterity, I checked out the code under test at the following revisions:
Maybe, but I don't think so given that the breaking commit is different. Without having fully read the code of 0358367, I would guess that the stack map says that there should be a pointer to a heap-allocated interface in the stack slot, and instead we've allocated it directly on the stack? (That 0x1 is pretty suspicious.)