Open
Description
What version of Go are you using (go version
)?
go version go1.5.3 linux/amd64
What operating system and processor architecture are you using (go env
)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/ldata/comp/project/go"
GORACE=""
GOROOT="/ldata/bin/go"
GOTOOLDIR="/ldata/bin/go/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT=""
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"
What did you do?
- export GOTRACEBACK=crash
- ulimit -c unlimited
- write a buggy program and run it to generate a core file
- use gdb to load core file
- source runtime-gdb.py
- run
goroutine 1 bt
What did you expect to see?
print stack trace of goroutine 1
What did you see instead?
print error msg:
Python Exception <class 'gdb.error'> You can't do that without a process to debug.:
Error occurred in Python command: You can't do that without a process to debug.