Skip to content

runtime: -race data race map traceback report incorrect functions [1.24 backport] #73192

Closed
@gopherbot

Description

@gopherbot

@prattmic requested issue #73191 to be considered for backport to the next 1.24 minor release.

@gopherbot Please backport to 1.24. This is a minor issue. DATA RACE reports for races in fast-variant maps (int or string keys) will report the wrong map function (e.g., mapassign vs mapassign_fast32). This is a reporting issue only that may cause confusion for readers, as it seems to be an "impossible" call that doesn't appear in the assembly. The most confusing one is map delete, which will report as map assign. This only affects GOTRACEBACK=system or higher because we otherwise hide the runtime function anyway.

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