-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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/pprof: reject cpu profiling with -race #5659
Labels
Milestone
Comments
I'm seeing this at tip: === RUN TestCPUProfile runtime: unknown argument frame size for runtime.asmcgocall fatal error: invalid stack goroutine 0 [idle]: runtime.throw(0x69e27c) /build/go.tip/go/src/pkg/runtime/panic.c:475 +0x67 runtime.gentraceback(0x423552, 0x7fab03ffee20, 0x0, 0xc2100017e0, 0x0, ...) /build/go.tip/go/src/pkg/runtime/traceback_x86.c:104 +0xa7b runtime.sigprof(0x423552, 0x7fab03ffee20, 0x0, 0xc2100017e0) /build/go.tip/go/src/pkg/runtime/proc.c:1818 +0xe3 runtime.sighandler(0x1b, 0xc210050bf0, 0xc210050ac0, 0xc2100017e0) /build/go.tip/go/src/pkg/runtime/signal_amd64.c:51 +0x81 runtime.sigtramp() /build/go.tip/go/src/pkg/runtime/sys_linux_amd64.s:207 +0x54 runtime: unknown argument frame size for runtime.sigreturn panic during panic FAIL runtime/pprof 0.653s |
Related, issue #5659. |
Comment 4 by [email protected]: Hello, We're also seeing this on some of our server code. It seems to only occur under load and when we attempt a cpuprofile. Perhaps another data point will be helpful. runtime: unknown argument frame size for runtime.chansend1 fatal error: invalid stack goroutine 0 [idle]: runtime.throw(0xc23bfc) /var/lib/jenkins/tools/go-latest/src/pkg/runtime/panic.c:475 +0x67 runtime.gentraceback(0x42bad9, 0x7fa51757e9c0, 0x0, 0xc21959fd80, 0x0, ...) /var/lib/jenkins/tools/go-latest/src/pkg/runtime/traceback_x86.c:104 +0xa7b runtime.sigprof(0x42bad9, 0x7fa51757e9c0, 0x0, 0xc21959fd80) /var/lib/jenkins/tools/go-latest/src/pkg/runtime/proc.c:1833 +0xe3 runtime.sighandler(0x1b, 0xc2147edd70, 0xc2147edc40, 0xc21959fd80) /var/lib/jenkins/tools/go-latest/src/pkg/runtime/signal_amd64.c:51 +0x81 runtime.sigtramp() /var/lib/jenkins/tools/go-latest/src/pkg/runtime/sys_linux_amd64.s:207 +0x54 runtime: unknown argument frame size for runtime.sigreturn panic during panic |
Comment 6 by [email protected]: Oops, yes, we are tracking tip (but that isn't too useful). This is the version string we built with: devel +2b6568891862 Mon Jun 17 15:41:17 2013 +0400 |
Re #4, it should be issue #5736. |
Dmitriy, I don't understand what you mean by "close this". People are seeing failures in runtime/pprof under race detection. We cannot just close the issue without addressing that. Either (1) we fix pprof or race detector, whichever is the problem, or (2) we disable pprof with race detection. |
This issue was closed by revision e33e476. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: