Skip to content

runtime: "runtime·lock: lock count" fatal error when cgo is enabled [1.18 backport] #56308

Closed
@gopherbot

Description

@gopherbot

@prattmic requested issue #56243 to be considered for backport to the next 1.18 minor release.

@gopherbot Please backport to 1.18 and 1.19

This issue is not new but can cause random memory corruption in any program that has a goroutine exit with LockOSThread set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CherryPickApprovedUsed during the release process for point releasesFrozenDueToAgecompiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions