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
play.test(2013,0xa6fb600) malloc: *** error for object 0x600001700080: pointer being freed was not allocated
play.test(2013,0xa6fb600) malloc: *** set a breakpoint in malloc_error_break to debug
SIGABRT: abort
PC=0x7ff816761112 m=0 sigcode=0
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Clean the cache by
go clean
.Create an empty go module with
go mod init play
, create a filemain_test.go
:Run
go test -race
What did you expect to see?
Test passes without error info.
What did you see instead?
Test reports unexpected error:
Output
Notes
This happened after I upgraded the macOS to 12.1 (21C52), not sure if they are related.
The code works for Linux.
Run without
-race
works fine.The text was updated successfully, but these errors were encountered: