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: "invalid traceback origin" in TestCgoPprofThread on linux-amd64-wsl builder #43174

Open
bcmills opened this issue Dec 14, 2020 · 1 comment

Comments

@bcmills
Copy link
Member

@bcmills bcmills commented Dec 14, 2020

2020-12-11T17:26:14-1341a3d/linux-amd64-wsl

--- FAIL: TestCgoPprofThread (0.76s)
    crash_cgo_test.go:335: [/tmp/workdir-host-linux-amd64-wsl/go/bin/go tool pprof -traces /tmp/workdir-host-linux-amd64-wsl/tmp/go-build1643386062/testprogcgo_.exe /tmp/workdir-host-linux-amd64-wsl/tmp/prof2131107081]:
        File: testprogcgo_.exe
        Build ID: 5bebc0f29d333075b2d2cb6ad739468825910989
        Type: cpu
        Time: Dec 12, 2020 at 1:35am (CST)
        Duration: 200.36ms, Total samples = 110ms (54.90%)
        -----------+-------------------------------------------------------
              10ms   cpuHogThread
                     cpuHogThread2
                     runtime.cgocall
                     main._Cfunc_runCPUHogThread
                     main.pprofThread
                     main.CgoPprofThread
                     main.main
                     runtime.main
        -----------+-------------------------------------------------------
             100ms   cpuHogThread
                     cpuHogThread2
        -----------+-------------------------------------------------------
    crash_cgo_test.go:347: invalid traceback origin: got=[cpuHogThread cpuHogThread2 runtime.cgocall main._Cfunc_runCPUHogThread main.pprofThread main.CgoPprofThread main.main runtime.main]; want=[cpuHogThread ... cpuHogThread2]
    crash_cgo_test.go:335: [/tmp/workdir-host-linux-amd64-wsl/go/bin/go tool pprof -traces /tmp/workdir-host-linux-amd64-wsl/tmp/prof2131107081]:
        File: testprogcgo_.exe
        Build ID: 5bebc0f29d333075b2d2cb6ad739468825910989
        Type: cpu
        Time: Dec 12, 2020 at 1:35am (CST)
        Duration: 200.36ms, Total samples = 110ms (54.90%)
        -----------+-------------------------------------------------------
              10ms   cpuHogThread
                     cpuHogThread2
                     runtime.cgocall
                     main._Cfunc_runCPUHogThread
                     main.pprofThread
                     main.CgoPprofThread
                     main.main
                     runtime.main
        -----------+-------------------------------------------------------
             100ms   cpuHogThread
                     cpuHogThread2
        -----------+-------------------------------------------------------
    crash_cgo_test.go:347: invalid traceback origin: got=[cpuHogThread cpuHogThread2 runtime.cgocall main._Cfunc_runCPUHogThread main.pprofThread main.CgoPprofThread main.main runtime.main]; want=[cpuHogThread ... cpuHogThread2]
FAIL
FAIL	runtime	21.528s

CC @hyangah @aclements @ianlancetaylor @mengzhuo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant