Skip to content

runtime: race between stack shrinking and channel send/recv leads to bad sudog values [1.14 backport] #40642

@gopherbot

Description

@gopherbot

@mknyszek requested issue #40641 to be considered for backport to the next 1.14 minor release.

This should be fixed for Go 1.14 and Go 1.15. It's a bug that was introduced in Go 1.14, and may cause random and unavoidable crashes at any point in time. There may not be enough time to fix this for 1.15 (the failure is very rare, but we've seen it internally), and if not, it should definitely go in a point release.

@gopherbot please open a backport issue for 1.14.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions