Skip to content

cmd/compile: data race in the compiler #60235

@gopherbot

Description

@gopherbot
#!watchflakes
post <- builder ==  "linux-amd64-racecompile" && `WARNING: DATA RACE` && date <= "2023-05-17"

Issue created automatically to collect these failures.

Example (log):

==================
WARNING: DATA RACE
Write at 0x00c000194470 by goroutine 11:
  sync/atomic.CompareAndSwapInt32()
      ../src/runtime/race_amd64.s:310 +0xb
  ??()
      -:0 +0x4b8c58
  cmd/internal/obj.(*Link).LookupInit()
      ../src/cmd/internal/obj/sym.go:126 +0x47
  cmd/internal/obj.(*Link).GCLocalsSym()
...

Goroutine 16 (running) created at:
  cmd/compile/internal/gc.compileFunctions.func3()
      ../src/cmd/compile/internal/gc/compile.go:165 +0x331

Goroutine 20 (finished) created at:
  cmd/compile/internal/gc.compileFunctions.func3()
      ../src/cmd/compile/internal/gc/compile.go:165 +0x331
==================
Found 8 data race(s)

watchflakes

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions