You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. go run bad_stack.go
2. netstat -na | grep pprof
3. echo -e "GET /debug/pprof/goroutine?debug=1 HTTP/1.0\n" | socat STDIO
ABSTRACT:/pprof/<pid>
4. kill -s QUIT <pid>
What is the expected output?
The pprof stack should put the foo() routine at the select{}, but puts it at the next
line instead.
What do you see instead?
// Goroutine profile contains this:
1 @ 0x41205c 0x4120c6 0x403770 0x403858 0x400cab 0x410da0
# 0x400cab main.foo+0x5b /home/gustav/bad_stack2.go:27
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
Linux 3.4.7-1.fc16.x86_64 #1 SMP Mon Jul 30 16:37:23 UTC 2012 x86_64 x86_64 x86_64
GNU/Linux
Which version are you using? (run 'go version')
edge
Please provide any additional information below.
Attachments:
The text was updated successfully, but these errors were encountered: