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

gccgo compiled app fails with: fatal error: schedule: spinning with local work #56147

Open
psumbera opened this issue Oct 11, 2022 · 2 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@psumbera
Copy link

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

go version go1.14.6 gccgo (GCC) 10.4.0 solaris/sparc64

Does this issue reproduce with the latest release?

Don't know.

What did you do?

gccgo built application sometimes ends with:

fatal error: schedule: spinning with local work 

https://github.com/golang/go/blob/master/src/runtime/proc.go#L3338

Any comment or suggestion how to debug it is welcome!

@gopherbot gopherbot added this to the Gccgo milestone Oct 11, 2022
@ianlancetaylor
Copy link
Contributor

That clearly shouldn't happen. It's worth trying a newer version (I believe the current version is 12.2).

I'm not sure what to suggest for debugging this. You could start by editing the code to print out information about the goroutines on the local run queue. Then try to figure out how they got there.

I really don't know what is going on here, sorry. Is it possible to share code that can be used to reproduce the problem?

@ianlancetaylor ianlancetaylor added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Oct 11, 2022
@psumbera
Copy link
Author

I don't have myself access to problematic app. I was just told that the problem appears about once per two days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants