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/cgo: s390x builder "pthread_create failed: Resource temporarily unavailable" #19228

Closed
mundaym opened this issue Feb 21, 2017 · 2 comments

Comments

@mundaym
Copy link
Member

mundaym commented Feb 21, 2017

Seen once on the s390x builder:

--- FAIL: Test18146 (57.06s)
	issue18146.go:121: syscall.Exec failed: exit status 2
		runtime/cgo: pthread_create failed: Resource temporarily unavailable
		SIGABRT: abort
		PC=0x3ffa213a568 m=5 sigcode=4294967290
                ⋮
	issue18146.go:126: Failed 1 of 1000 attempts.
FAIL

https://build.golang.org/log/7f5772173ca4c3abbc402b95460e79f530a9551a

Perhaps an EAGAIN check should be added to gcc_linux_*.c.

@ianlancetaylor
Copy link
Contributor

The EAGAIN check is already there. The purpose of that particular test is to verify that it is working. This failure means that pthread_create failed 20 times in a row with a steadily increasing timeout. See https://golang.org/src/runtime/cgo/gcc_libinit.c, the _cgo_try_pthread_create function.

@mundaym
Copy link
Member Author

mundaym commented Feb 21, 2017

Ah, thanks Ian. I think I'll close this for now then. I'll reopen if I see it happening again.

@mundaym mundaym closed this as completed Feb 21, 2017
@golang golang locked and limited conversation to collaborators Feb 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants