Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

难道只有我这里5次打开会崩溃4次? #11

Open
ghost opened this issue Jan 4, 2016 · 4 comments
Open

难道只有我这里5次打开会崩溃4次? #11

ghost opened this issue Jan 4, 2016 · 4 comments

Comments

@ghost
Copy link

ghost commented Jan 4, 2016

连续3次打开,都崩溃了。
1.txt
2.txt
3.txt

@chai2010
Copy link
Member

chai2010 commented Jan 4, 2016

@GameXG 目前在忙着 gopl 翻译, 过段再来处理这个问题。

不好意思。

@ghost
Copy link
Author

ghost commented Jan 4, 2016

没关系的,只是来报告一下问题。
我想尝试自己修复,但是每次错误都不一样,无从下手...
第四次又变成这个错误了
4.txt

@chai2010
Copy link
Member

chai2010 commented Jan 4, 2016

可以尝试先屏蔽 GOPATH 目录。还有 golangdoc 依赖官方 x/tools/godoc 某些子目录,这个包可能有变化(Go1.6以后需要将固定版本放到vendor目录)。
还有,不清楚 go/... 下面的包接口的变化是否有影响。
docgen 工具使用了 local 包,可以先熟悉下这个小工具。

@ghost
Copy link
Author

ghost commented Jan 4, 2016

版本是 1.5.1.
set GOPATH="" && golangdoc.exe -http=:6060 -lang=zh_CN -play 后问题依旧。

nil 的问题尝试加nil的判断,结果虽然没有崩溃,但报错并且html文档都没内容了。

好吧,又开始崩溃了。fatal error: bad map state,1.5.1应该修复map的问题了。
打开race能发现竞争,多线程竞争的问题?看样我是搞不定了。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant