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?
If possible, include a link to a program on play.golang.org.
1. Use net/http/pprof in an program on Windows, like so:
http://play.golang.org/p/ohboNwlL3c
2. Try to use pprof's http mode:
go tool pprof minpprof.exe http://localhost:6161/debug/pprof/profile
What is the expected output?
pprof should work correctly instead of giving errors and exiting.
What do you see instead?
Use of uninitialized value $ENV{"HOME"} in concatenation (.) or string at
C:\Go\pkg\tool\windows_amd64\pprof line 3204.
Gathering CPU profile from http://localhost:6161/debug/pprof/profile?seconds=30 for 30
seconds to
/pprof/minpprof.exe.1376738770.localhost-port6161
Be patient...
Failed to get profile: curl --max-time 90 -s -o
/pprof/.tmp.minpprof.exe.1376738770.localhost-port6161
'http://localhost:6161/debug/pprof/pr
ofile?seconds=30':
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
Windows amd64
Which version are you using? (run 'go version')
tip
go version devel +6d2a2628859d Sat Aug 17 13:40:55 2013 +0900 windows/amd64
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: