Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: process does not work internally, it seems the thread hangs #36268

mmli519 opened this issue Dec 24, 2019 · 2 comments

runtime: process does not work internally, it seems the thread hangs #36268

mmli519 opened this issue Dec 24, 2019 · 2 comments
FrozenDueToAge WaitingForInfo


Copy link

@mmli519 mmli519 commented Dec 24, 2019

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

go version go1.12.9 linux/arm64

Does this issue reproduce with the latest release?

Not test yet. Can not test on production environment

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

go env Output

What did you do?

do nothing, just run the go program

What did you expect to see?

program run normally

What did you see instead?

process looks normal, while it does not work internally. After using gstack to capture the stack info, it seems that the thread hangs

Thread 14 (Thread 0xffff9dfd80c0 (LWP 149497)):
#0 runtime.futex () at /opt/tools/go/src/runtime/sys_linux_arm64.s:417
#1 0x000000000042cb68 in runtime.futexsleep (addr=0x14f23a0 <runtime.sched+256>, val=0, ns=100000) at /opt/tools/go/src/runtime/os_linux.go:63
#2 0x000000000040be7c in runtime.notetsleep_internal (n=0x14f23a0 <runtime.sched+256>, ns=100000, ~r2=) at /opt/tools/go/src/runtime/lock_futex.go:193
#3 0x000000000040bf50 in runtime.notetsleep (n=0x14f23a0 <runtime.sched+256>, ns=100000, ~r2=) at /opt/tools/go/src/runtime/lock_futex.go:216
#4 0x00000000004330d0 in runtime.stopTheWorldWithSema () at /opt/tools/go/src/runtime/proc.go:1050
#5 0x00000000004588c8 in runtime.systemstack () at /opt/tools/go/src/runtime/asm_arm64.s:237
#6 0x00000000004333c8 in runtime.startTheWorldWithSema (emitTraceEvent=32, ~r1=) at /opt/tools/go/src/runtime/proc.go:1082

Copy link

@networkimprov networkimprov commented Dec 24, 2019

Can you provide a small, complete program which reproduces this problem, and tell us how you built and ran it?

@mvdan mvdan added the WaitingForInfo label Dec 25, 2019
Copy link

@gopherbot gopherbot commented Jan 25, 2020

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@golang golang locked and limited conversation to collaborators Jan 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
FrozenDueToAge WaitingForInfo
None yet

No branches or pull requests

4 participants