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
It appears that even though strings.noescape is marked as go:nocheckptr, there is a checkptr invocation there.
Maybe related, it looks like strings.noescape got inlined, where it probably shouldn't have (because functions marked go:nocheckptr shouldn't be inlined? Not sure.)
runtime.checkptrArithmetic is passed a stack pointer with an empty set of originals, which is the proxmal cause of the assertion failure.
You need to use -gcflags=all=-d=checkptr. Selectively enabling -d=checkptr for just some packages (as -gcflags=-d=checkptr without all= does) isn't supported.
At tip, do
It appears that even though
strings.noescape
is marked asgo:nocheckptr
, there is a checkptr invocation there.Maybe related, it looks like
strings.noescape
got inlined, where it probably shouldn't have (because functions markedgo:nocheckptr
shouldn't be inlined? Not sure.)runtime.checkptrArithmetic
is passed a stack pointer with an empty set of originals, which is the proxmal cause of the assertion failure.@mdempsky
The text was updated successfully, but these errors were encountered: