-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
go 1.26 build panics on Windows 10 #11214
Copy link
Copy link
Closed
Labels
kind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)kind/maintenanceWork required to avoid breaking changes or harm to project's status quoWork required to avoid breaking changes or harm to project's status quostatus/blockedUnable to be worked further until needs are metUnable to be worked further until needs are mettopic/windowsWindows specificWindows specific
Metadata
Metadata
Assignees
Labels
kind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)kind/maintenanceWork required to avoid breaking changes or harm to project's status quoWork required to avoid breaking changes or harm to project's status quostatus/blockedUnable to be worked further until needs are metUnable to be worked further until needs are mettopic/windowsWindows specificWindows specific
The daemon starts normally, gets to "Daemon is ready", WebUI at
https://127.0.0.1:5001/webuiworks for a short while, then daemon crashes, RPC stops responding.Some notes below, but need to look at this more closely + reproduce on a different machine.
Crash signature
0xc0000005=STATUS_ACCESS_VIOLATION0x8=EXCEPTION_EXECUTE_FAULT(DEP violation: CPU attempted to execute non-executable memory)0x1ce5935180) is outside the binary's code range (legitimate addresses are in0x7ff6e58xxxxx-0x7ff6e71xxxxx), indicating a corrupted return address on the stackThe crashing goroutine was created by
go-yamux/v5.newSessionand was doing normal TCP socket I/O through the Windows overlapped I/O path:Suspecting Go regression on Windows
Go 1.25 introduced a major rework of Windows I/O completion port (IOCP) handling (go#19098). This rework has caused several regressions on Windows that are still being worked through in Go 1.25.x/1.26.x:
NewFilehangs on blocked handles (critical release-blocker, multiple CLs fixingexecIOinternals)The crash happens in
internal/poll.(*FD).execIO, which is the code path affected by these regressions. However, the specific bug causing this crash may not be one of the already-reported issues. It could be an unreported runtime bug, or potentially antivirus interference (go#40878 documented identical "unknown pc" crashes caused by AV software on Windows).Suggested action
Environment
882b7d2a9)