We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, am having an issue while using this library with the race detector enabled.
the error message is: fatal error: checkptr: pointer arithmetic result points to invalid allocation
fatal error: checkptr: pointer arithmetic result points to invalid allocation
The issue is very easy to reproduce, just use the next code:
package gotiny import ( "github.com/niubaoshu/gotiny" "testing" ) func TestGoTinyArray(t *testing.T){ strings := []string{"1","2"} gotiny.Marshal(&strings) }
Then execute the test with the race detector enabled: go test -v -race -run TestGoTinyArray
go test -v -race -run TestGoTinyArray
go version: go1.16.14 darwin/amd64
go1.16.14 darwin/amd64
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, am having an issue while using this library with the race detector enabled.
the error message is:
fatal error: checkptr: pointer arithmetic result points to invalid allocation
The issue is very easy to reproduce, just use the next code:
Then execute the test with the race detector enabled:
go test -v -race -run TestGoTinyArray
go version:
go1.16.14 darwin/amd64
The text was updated successfully, but these errors were encountered: