Skip to content

runtime: go runtime.GC() can cause segfault with -race builds [1.25 backport] #78086

@gopherbot

Description

@gopherbot

@prattmic requested issue #78059 to be considered for backport to the next 1.25 minor release.

@gopherbot Please backport to Go 1.25 and 1.26. This is a bug in TSAN that causes effectively random crashes in -race mode.

I'm going to attempt to modify racebuild to allow LLVM cherry-picks so we can cherry pick just the initialization fix so we don't have the risk of updating TSAN by 2 years in a minor release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CherryPickApprovedUsed during the release process for point releasescompiler/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