-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: TestCgoCCodeSIGPROF fails intermittently on darwin/amd64 #16453
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
Comments
CC @aclements |
Possibly related, I just saw a TestCgoCallbackGC failure both locally (darwin/amd64) and also at https://storage.googleapis.com/go-build-log/1e5e50ed/freebsd-amd64-gce101_6ab63a8e.log. I'm running a stress test to see if I can reproduce again, and if so, with what frequency. |
If I'm reading this line correctly
this means that That suggests that the fix is https://golang.org/cl/25104. Could you try that? Thanks. |
I had 6 failures on 1956 runs. Will try the CL now and report back... |
CL https://golang.org/cl/25104 mentions this issue. |
I just got a failure after 564 runs with that CL patched in.
The previous 6 failures were 1 TestCgoCCodeSIGPROF, 5 TestCgoExternalThreadSignal. I'm going to restart with just the TestCgoCCodeSIGPROF running. |
3668 runs, no TestCgoCCodeSIGPROF failures. Switching back to all Cgo tests with a 10m instead of 1m timeout for TestCgoExternalThreadSignal, just to make sure the SIGPROF failures didn't require running all Cgo tests to trigger. |
The |
By the way, it's rather unlikely that an extended timeout for |
Please answer these questions before submitting your issue. Thanks!
go version
)?I build from the tip source:
go version devel +883e128 Wed Jul 20 05:08:37 2016 +0000 darwin/amd64
go env
)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/yoshiki/gocode:/Users/yoshiki/exercises/gpl"
GORACE=""
GOROOT="/Users/yoshiki/tools/go"
GOTOOLDIR="/Users/yoshiki/tools/go/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/pb/c7_4_d355ng5zfm4r_jg2gg00000gn/T/go-build655954293=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
just rebuild with all.bash
no error
Following error does not always happen, but happens sometimes:
GOMAXPROCS=2 runtime -cpu=1,2,4
--- FAIL: TestCgoCCodeSIGPROF (0.72s)
crash_test.go:105: testprogcgo CgoCCodeSIGPROF exit status: exit status 2
crash_cgo_test.go:213: expected "OK\n" got runtime: invalid pc-encoded table f=runtime.sigtramp pc=0x405e52d targetpc=0x405e52d tab=[0/0]0x0
value=0 until pc=0x405e504
value=40 until pc=0x405e52d
fatal error: invalid runtime symbol table
FAIL
FAIL runtime 61.228s
2016/07/20 21:09:05 Failed: exit status 1
The text was updated successfully, but these errors were encountered: