Skip to content

runtime: process hangs after moving to Go 1.17 on Windows #52178

Open
@sanjayvora

Description

@sanjayvora

What version of Go are you using (go version)?

$ go version
1.17.2

Does this issue reproduce with the latest release?

Yes with 1.17.6
Not tried with 1.18

What operating system and processor architecture are you using (go env)?

Windows

go env Output
$ go env

What did you do?

We migrated our go version from go1.12 to go 1.17.2. After that we see that our process hangs sometimes on windows os. Most of the times it runs fine, but some times it hangs and it never comes out. Even it doesn't return go profiles (we have pprof included in process).
We get this issue in production, but not able to produce this in house, so dont have much details.
I am attaching process dump that we have taken from explorer. I do see it doing force GC, but can't actually figure out what is the issue.

One more thing: We have this runtime.ReadMemStats() happening every 30 sec. Not sure if that is related, but just noting down here.

What did you expect to see?

Process should continue and finish gracefully.

What did you see instead?

Process hangs

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions