Skip to content

cmd/compile: miscompile of global array initialization [1.25 backport] #77253

Closed

Description

@gopherbot

@randall77 requested issue #77193 to be considered for backport to the next 1.25 minor release.

@gopherbot please open backport issues.

This bug can cause random crashes after constructing deep-ish array composite literals. Maybe heap corruption also? Not sure.

Activity

  1. added
    CherryPickCandidateUsed during the release process for point releases
    compiler/runtimeIssues related to the Go compiler and/or runtime.
    on Jan 21, 2026
  2. added this to the Go1.25.7 milestone on Jan 21, 2026
  3. changed the title [-]syscall: clearenv memory corruption in new benchmark [1.25 backport][/-] [+]cmd/compile: miscompile of global array initialization [1.25 backport][/+] on Jan 21, 2026
  4. gopherbot commented on Jan 22, 2026

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/738440 mentions this issue: [release-branch.go1.25] cmd/compile: fix mis-compilation for static array initialization

  5. added
    CherryPickApprovedUsed during the release process for point releases
    and removed
    CherryPickCandidateUsed during the release process for point releases
    on Jan 28, 2026
  6. modified the milestones: Go1.25.7, Go1.25.8 on Feb 4, 2026
  7. added a commit that references this issue on Feb 25, 2026
    0222717
  8. gopherbot commented on Feb 25, 2026

    @gopherbot
    ContributorAuthor

    Closed by merging CL 738440 (commit 0222717) to release-branch.go1.25.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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