Skip to content

runtime/pprof: cpuHog1 fails #9070

@btracey

Description

@btracey
I tried installing the beta on a linux cluster for our group, and I get the error below.
I tried on tip (3:47 PST November 7th). The error persists in addition to a number of
panics in the GC. I output the last working version of go I had as well as go env. The
previous go version passed all of the tests, so it seems it's broken since then. I've
had problems in the past on this machine with clock asynchronisity, but they appear to
be synced up. I This is on CentOS and is part of a 8-node cluster. I am attempting to
compile go on the head node. The specific cpuHog test that fails is not consistent, nor
is the compilation failing at all. Please advise what I can do to help debug. 


ok      runtime/debug    0.006s
--- FAIL: TestCPUProfileMultithreaded (0.25s)
    pprof_test.go:165: runtime/pprof_test.cpuHog1: 49
    pprof_test.go:165: runtime/pprof_test.cpuHog2: 0
    pprof_test.go:179: runtime/pprof_test.cpuHog2 has 0 samples out of 49, want at least 1, ideally 24
FAIL
FAIL    runtime/pprof    20.165s
?       runtime/race    [no test files]


[btracey@zion go_tip]$ go version
go version devel +3d68989bd1ea Mon Oct 27 08:46:18 2014 -0700 linux/amd64

Go env output (from previous go installation):
GOARCH="amd64"
GOBIN=""
GOCHAR="6"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/ADL/btracey/mygo"
GORACE=""
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"



Failure on tip:
panic: runtime error: index out of range
fatal error: panic during gc

goroutine 1 [running, locked to thread]:
runtime.gothrow(0x62cd90, 0xf)
    /ADL/btracey/gover/go_tip/go/src/runtime/panic.go:503 +0x8e fp=0xc2082d9c58 sp=0xc2082d9c40
runtime.gopanic(0x5db6a0, 0xc208010010)
    /ADL/btracey/gover/go_tip/go/src/runtime/panic.go:343 +0x19d fp=0xc2082d9cc0 sp=0xc2082d9c58
runtime.panicindex()
    /ADL/btracey/gover/go_tip/go/src/runtime/panic.go:12 +0x4e fp=0xc2082d9ce8 sp=0xc2082d9cc0
runtime.(*traceStackDepot).dump(0x74a6f0)
    /ADL/btracey/gover/go_tip/go/src/runtime/trace.go:498 +0x1ef fp=0xc2082e9f30 sp=0xc2082d9ce8
runtime.TraceStop()
    /ADL/btracey/gover/go_tip/go/src/runtime/trace.go:173 +0x1d5 fp=0xc2082e9f88 sp=0xc2082e9f30
runtime.traceFinalize()
    /ADL/btracey/gover/go_tip/go/src/runtime/trace.go:89 +0x1b fp=0xc2082e9f90 sp=0xc2082e9f88
runtime.main()
    /ADL/btracey/gover/go_tip/go/src/runtime/proc.go:68 +0x105 fp=0xc2082e9fe0 sp=0xc2082e9f90
runtime.goexit()
    /ADL/btracey/gover/go_tip/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc2082e9fe8 sp=0xc2082e9fe0

goroutine 563 [syscall]:
runtime_test.func·046(0x0, 0x4e94914f0000, 0x63ca30, 0x14, 0xc20804a060)
    /ADL/btracey/gover/go_tip/go/src/runtime/futex_test.go:47 +0x4d
created by runtime_test.TestFutexsleep
    /ADL/btracey/gover/go_tip/go/src/runtime/futex_test.go:51 +0x222

goroutine 564 [syscall]:
runtime_test.func·046(0x0, 0x1dcd65174876e800, 0x63c630, 0x13, 0xc20804a0c0)
    /ADL/btracey/gover/go_tip/go/src/runtime/futex_test.go:47 +0x4d
created by runtime_test.TestFutexsleep
    /ADL/btracey/gover/go_tip/go/src/runtime/futex_test.go:51 +0x222

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions