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: TestCgoCCodeSIGPROF hangs #14766
Comments
Unfortunately that stack trace is not too useful, as it is from the calling program rather than the actual test program. Please try
I assume it will hang. Try |
It outputs this:
Alex |
Odd. No idea what is happening. The stack trace looks ordinary. It works for me with GOARCH=386. How slow is your processor, and how long are you letting the program run? The program takes 5 seconds on my laptop. Can you edit runtime/testdata/testprogcgo/aprof.go and change the loop calling GoNop from 1e7 to 1e4 or something, and see whether the program completes? |
It works if I change the test:
I noticed the problem because my all.bash could not complete, because runtime test would time out. Alex |
Does https://golang.org/cl/20590 fix this for you? |
Yes CL 20590 fixes it for me:
Thank you. Alex |
go version devel +31d13f4 Fri Mar 11 00:56:04 2016 +0000 linux/386
Running
hangs forever.
Pressing ctrl+\ prints:
Alex
The text was updated successfully, but these errors were encountered: