-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Description
What version of Go are you using (go version)?
$ go version go version go1.17.1 linux/amd64
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
$ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/jnewsome/.cache/go-build" GOENV="/home/jnewsome/.config/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/jnewsome/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/jnewsome/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/home/jnewsome/opt/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/jnewsome/opt/go/pkg/tool/linux_amd64" GOVCS="" GOVERSION="go1.17.1" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/dev/null" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3723000222=/tmp/go-build -gno-record-gcc-switches"
What did you do?
I'm profiling the heap of shadow. Fully reproducing is a bit involved to get set up, but ultimately I'm running LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc_and_profiler.so.4 HEAPPROFILE=shadow.heap HEAP_PROFILE_TIME_INTERVAL=180 shadow ...
The earlier profiles are parsed correctly, but starting at 290 they are unparseable.
I'm then using pprof to analyze the heap dumps.
What did you expect to see?
Last working profile is shadow.heap.0289.heap.gz:
$ go tool pprof shadow.heap.0289.heap
File: shadow
Type: inuse_space
Entering interactive mode (type "help" for commands, "o" for options)
(pprof)
What did you see instead?
All the ones after that fail to parse, starting with
shadow.heap.0290.heap.gz
$ go tool pprof shadow.heap.0290.heap
tornet-0.001/shadow.heap.0290.heap: parsing profile: unrecognized profile format
failed to fetch any source profiles
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.