Skip to content

runtime: Go 1.25 panics when emulating linux/amd64 on macOS #75721

@mdempsky

Description

@mdempsky

Go version

go version go1.25.1 linux/amd64

Output of go env in your module/workspace:

runtime: taggedPointerPack invalid packing: ptr=0xffff35774e00 tag=0x1 packed=0xffff35774e000001 -> ptr=0xffffffff35774e00 tag=0x1
fatal error: taggedPointerPack

goroutine 1 gp=0xc000002380 m=0 mp=0x11295c0 [running, locked to thread]:
runtime.throw({0xbbf389?, 0x0?})
	runtime/panic.go:1094 +0x48 fp=0xc000114890 sp=0xc000114860 pc=0x47d388
runtime.taggedPointerPack(0xffff35774e00, 0x1)
	runtime/tagptr_64bit.go:60 +0x12a fp=0xc0001148c8 sp=0xc000114890 pc=0x46630a
runtime.netpollopen(0x1149b60?, 0x11499a8?)
	runtime/netpoll_epoll.go:52 +0x3e fp=0xc000114930 sp=0xc0001148c8 pc=0x44085e
[... elided ...]

What did you do?

When I run podman run -it --platform=linux/amd64 golang:1.25-alpine go version on either of my Mac machines, it immediately fatal errors in taggedPointerPack.

If I run podman run -it --platform=linux/amd64 golang:1.24-alpine go version it works fine.

One of my Macs is an M3 MacBook Air running macOS 26.1 Beta. The other is an M4 MacBook Pro running macOS 26.0.1.

/cc @randall77

What did you see happen?

Runtime fatal error.

What did you expect to see?

"go version go1.25.1 linux/amd64"

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugReportIssues describing a possible bug in the Go implementation.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.compiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions