-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeSuggestedIssues that may be good for new contributors looking for work to do.Issues that may be good for new contributors looking for work to do.
Milestone
Description
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:
- bad_stack2.go (716 bytes)
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeSuggestedIssues that may be good for new contributors looking for work to do.Issues that may be good for new contributors looking for work to do.