热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

panicatstartup

Noticedmycamlistoreinstancewasdownaftermylatestupdate.

Noticed my camlistore instance was down after my latest update.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Nov 19 02:35:13 new camlistored[7205]: panic: runtime error: invalid memory address or nil pointer dereference

Nov 19 02:35:13 new camlistored[7205]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x6183b0]

Nov 19 02:35:13 new camlistored[7205]: goroutine 69372 [running]:

Nov 19 02:35:13 new camlistored[7205]: panic(0xd2a740, 0xc42000c070)

Nov 19 02:35:13 new camlistored[7205]: #011/usr/local/go/src/runtime/panic.go:500 +0x1a1

Nov 19 02:35:13 new camlistored[7205]: camlistore.org/pkg/index.claimsIntfAttrValue(0x0, 0x0, 0xe3ceb3, 0x8, 0x0, 0x0, 0x0, 0x15361a0, 0xc42035e8e0, 0x15361a0, ...)

Nov 19 02:35:13 new camlistored[7205]: #011/home/stephen/go/src/camlistore.org/pkg/index/util.go:91 +0xb0

Nov 19 02:35:13 new camlistored[7205]: camlistore.org/pkg/index.permAttr.get(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x15361a0, 0xc42035e8e0, 0xe3ceb3, 0x8, ...)

Nov 19 02:35:13 new camlistored[7205]: #011/home/stephen/go/src/camlistore.org/pkg/index/location.go:152 +0x128

Nov 19 02:35:13 new camlistored[7205]: camlistore.org/pkg/index.(*LocationHelper).permanodeLocation(0xc42035e920, 0x7f0cec353018, 0xc42000d048, 0x15361a0, 0xc425d39560, 0x0, 0x0, 0x0, 0x15361a0, 0xc42035e8e0, ...)

Nov 19 02:35:13 new camlistored[7205]: #011/home/stephen/go/src/camlistore.org/pkg/index/location.go:80 +0x14b

Nov 19 02:35:13 new camlistored[7205]: camlistore.org/pkg/index.(*LocationHelper).PermanodeLocation(0xc42035e920, 0x7f0cec353018, 0xc42000d048, 0x15361a0, 0xc425d39560, 0x0, 0x0, 0x0, 0x15361a0, 0xc42035e8e0, ...)

Nov 19 02:35:13 new camlistored[7205]: #011/home/stephen/go/src/camlistore.org/pkg/index/location.go:55 +0xad

Nov 19 02:35:13 new camlistored[7205]: camlistore.org/pkg/search.(*DescribeRequest).doDescribe(0xc429e0c540, 0x1537220, 0xc42000d048, 0x15361a0, 0xc425d39560, 0x1)

Nov 19 02:35:13 new camlistored[7205]: #011/home/stephen/go/src/camlistore.org/pkg/search/describe.go:754 +0x3ad

Nov 19 02:35:13 new camlistored[7205]: camlistore.org/pkg/search.(*DescribeRequest).StartDescribe.func1(0xc429e0c540, 0xc42a2420e0, 0x1537220, 0xc42000d048, 0x15361a0, 0xc425d39560, 0x1)

Nov 19 02:35:13 new camlistored[7205]: #011/home/stephen/go/src/camlistore.org/pkg/search/describe.go:624 +0xc6

Nov 19 02:35:13 new camlistored[7205]: created by camlistore.org/pkg/search.(*DescribeRequest).StartDescribe

Nov 19 02:35:13 new camlistored[7205]: #011/home/stephen/go/src/camlistore.org/pkg/search/describe.go:625 +0x28f

Nov 19 02:35:13 new systemd[1]: camlistore.service: Main process exited, code=exited, status=2/INVALIDARGUMENT

Haven't gotten to dig into it yet, but I wanted to at least upload the stack trace to an issue. Assuming the problem isn't obvious after a just a little digging, here are some thoughts on direction for investigation:

  • I have a twitter importer, picasa importer, and recently, I added an active feed importer

  • I have an encrypted blobstore

I'm running a bisect now. Hopefully I'll see the issue soon.

该提问来源于开源项目:perkeep/perkeep

test to repro the issue:



https://camlistore-review.googlesource.com/8826


   



推荐阅读
author-avatar
silaker
这个家伙很懒,什么也没留下!