-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
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
unique: fatal error: getWeakHandle on invalid pointer
with sbrk=1
#69729
Comments
CC @mknyszek @golang/runtime |
FWIW, I think This debug mode is a debugging tool to rule out the memory allocator when debugging super subtle issues with the runtime. It's not really meant to be used by developers using Go, only developers of Go. But even then, it's not used very frequently at all (I can't remember the last time someone used it to debug an isue). So just to set expectations, I don't think this is going to be fixed any time soon; it's not particularly high priority. |
Go version
go1.24-0206eb9679, 1.23.1
Output of
go env
in your module/workspace:What did you do?
I noticed that my go1.23.1 app panics when run with
GODEBUG="sbrk=1"
and tracked it down tonet/netip
, specifically this line. I saw #69458 and thought this issue might already be fixed so I rebuilt with go master but saw the same issue. Any app that importsnet/netip
will crash when run withGODEBUG="sbrk=1"
What did you see happen?
What did you expect to see?
no crash
The text was updated successfully, but these errors were encountered: