golangdoc
golangdoc copied to clipboard
Mac os x 10.11.1出错
golangdoc -http=:6060 -lang=zh_CN -play -v
goroutine 651 [runnable]: runtime.Gosched() /usr/local/Cellar/go/1.5.1/libexec/src/runtime/proc.go:166 +0x14 bytes.makeSlice(0xe00, 0x0, 0x0, 0x0) /usr/local/Cellar/go/1.5.1/libexec/src/bytes/buffer.go:195 +0x64 bytes.(_Buffer).ReadFrom(0xc8214695f8, 0x1f00060, 0xc82029ae38, 0x600, 0x0, 0x0) /usr/local/Cellar/go/1.5.1/libexec/src/bytes/buffer.go:167 +0xd3 io/ioutil.readAll(0x1f00060, 0xc82029ae38, 0x200, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/Cellar/go/1.5.1/libexec/src/io/ioutil/ioutil.go:33 +0x154 io/ioutil.ReadAll(0x1f00060, 0xc82029ae38, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/Cellar/go/1.5.1/libexec/src/io/ioutil/ioutil.go:42 +0x51 golang.org/x/tools/godoc/vfs.ReadFile(0x1f00000, 0xc8201327b0, 0xc82140dd60, 0x1e, 0x0, 0x0, 0x0, 0x0, 0x0) /Volumes/workspace/go/src/golang.org/x/tools/godoc/vfs/vfs.go:44 +0x14b github.com/golang-china/golangdoc/local.(_localTranslater).loadDocCode(0xbe74b0, 0x7fff5fbfef56, 0x5, 0xc82140dd25, 0xc, 0x0, 0x0, 0x0) /Volumes/workspace/go/src/github.com/golang-china/golangdoc/local/local_translater.go:113 +0xa5e github.com/golang-china/golangdoc/local.(_localTranslater).ParseDocPackage(0xbe74b0, 0x7fff5fbfef56, 0x5, 0xc82140dd25, 0xc, 0xc820247b38) /Volumes/workspace/go/src/github.com/golang-china/golangdoc/local/local_translater.go:65 +0x8e github.com/golang-china/golangdoc/local.(_localTranslater).Package(0xbe74b0, 0x7fff5fbfef56, 0x5, 0xc82140dd25, 0xc, 0x0, 0x0, 0x0, 0x0) /Volumes/workspace/go/src/github.com/golang-china/golangdoc/local/local_translater.go:44 +0x91 github.com/golang-china/golangdoc/local.Package(0x7fff5fbfef56, 0x5, 0xc82140dd25, 0xc, 0x0, 0x0, 0x0, 0xc82140dd00) /Volumes/workspace/go/src/github.com/golang-china/golangdoc/local/local.go:137 +0x293 main.runGodoc.func1(0xc82140dd25, 0xc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x52300) /Volumes/workspace/go/src/github.com/golang-china/golangdoc/main.go:199 +0x120 github.com/golang-china/golangdoc/godoc.(_treeBuilder).newDirTree(0xc82016e630, 0xc8201802c0, 0xc82140dd20, 0x11, 0xc8213fedd7, 0x3, 0x3, 0x0) /Volumes/workspace/go/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:80 +0x32e github.com/golang-china/golangdoc/godoc.(_treeBuilder).newDirTree.func1(0xc821141da0, 0xc82016e630, 0xc8201802c0, 0xc82072ac70, 0xd, 0x2, 0x1b40098, 0xc82126fd60) /Volumes/workspace/go/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:100 +0x15e created by github.com/golang-china/golangdoc/godoc.(*treeBuilder).newDirTree /Volumes/workspace/go/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:101 +0x585
goroutine 658 [runnable]: github.com/golang-china/golangdoc/godoc.(_treeBuilder).newDirTree.func1(0xc8213d2ea0, 0xc82016e630, 0xc8201802c0, 0xc820e3f0c0, 0x19, 0x3, 0x1b40098, 0xc8210cf770) /Volumes/workspace/go/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:98 created by github.com/golang-china/golangdoc/godoc.(_treeBuilder).newDirTree /Volumes/workspace/go/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:101 +0x585
goroutine 659 [runnable]: runtime.Gosched() /usr/local/Cellar/go/1.5.1/libexec/src/runtime/proc.go:166 +0x14 golang.org/x/tools/godoc/vfs.NameSpace.clean(0xc820132630, 0xc82140bfe0, 0x1f, 0x0, 0x0) /Volumes/workspace/go/src/golang.org/x/tools/godoc/vfs/namespace.go:147 +0x55 golang.org/x/tools/godoc/vfs.NameSpace.resolve(0xc820132630, 0xc82140bfe0, 0x1f, 0x0, 0x0, 0x0) /Volumes/workspace/go/src/golang.org/x/tools/godoc/vfs/namespace.go:200 +0x56 golang.org/x/tools/godoc/vfs.NameSpace.ReadDir(0xc820132630, 0xc82140bfe0, 0x1f, 0x0, 0x0, 0x0, 0x0, 0x0) /Volumes/workspace/go/src/golang.org/x/tools/godoc/vfs/namespace.go:301 +0x13e golang.org/x/tools/godoc/vfs.NameSpace.ReadDir(0xc820133a40, 0xc82140be40, 0x1f, 0x0, 0x0, 0x0, 0x0, 0x0) /Volumes/workspace/go/src/golang.org/x/tools/godoc/vfs/namespace.go:302 +0x2ad github.com/golang-china/golangdoc/godoc.(_treeBuilder).newDirTree(0xc82016e630, 0xc8201802c0, 0xc82140bdc0, 0x1f, 0xc8211c65f3, 0x5, 0x4, 0x0) /Volumes/workspace/go/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:88 +0x3c9 github.com/golang-china/golangdoc/godoc.(_treeBuilder).newDirTree.func1(0xc8213d2f00, 0xc82016e630, 0xc8201802c0, 0xc820e3f0c0, 0x19, 0x3, 0x1b40098, 0xc8210cf7c0) /Volumes/workspace/go/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:100 +0x15e created by github.com/golang-china/golangdoc/godoc.(*treeBuilder).newDirTree /Volumes/workspace/go/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:101 +0x585