Investigating server crash

This is the log

2016/07/26 07:48:27 List merge counters. added: 0 merged: 2 clean: 0 pending: 0 mapsize: 1969 dirtysize: 0
2016/07/26 08:10:58 Error while retrieving subgraph root: Expected some name. Got: lex.Item [7] "}"
2016/07/26 08:11:07 Error while retrieving subgraph root: Expected some name. Got: lex.Item [7] "}"
2016/07/26 22:38:47 List merge counters. added: 0 merged: 2 clean: 0 pending: 0 mapsize: 3107 dirtysize: 0
2016/07/27 16:03:07 List merge counters. added: 0 merged: 2 clean: 0 pending: 0 mapsize: 4811 dirtysize: 0
2016/07/28 06:25:52 List merge counters. added: 0 merged: 2 clean: 0 pending: 0 mapsize: 5197 dirtysize: 0
2016/07/28 07:46:39 Error while retrieving subgraph root: Expected some name. Got: lex.Item [7] "}"
2016/07/28 07:47:17 List merge counters. added: 0 merged: 2 clean: 0 pending: 0 mapsize: 5201 dirtysize: 0
2016/07/28 07:47:22 List merge counters. added: 0 merged: 2 clean: 0 pending: 0 mapsize: 5204 dirtysize: 0
2016/07/28 07:48:02 List merge counters. added: 0 merged: 2 clean: 0 pending: 0 mapsize: 5207 dirtysize: 0
2016/07/28 10:34:27 List merge counters. added: 0 merged: 2 clean: 0 pending: 0 mapsize: 5210 dirtysize: 0
2016/07/30 08:39:29 Error while retrieving subgraph root: Expected some name. Got: lex.Item [7] "}"
2016/07/30 12:23:57 List merge counters. added: 0 merged: 2 clean: 0 pending: 0 mapsize: 45436 dirtysize: 0
2016/07/30 14:11:39 Error while retrieving subgraph root: Expected some name. Got: lex.Item [7] "}"
2016/07/30 21:41:37 List merge counters. added: 0 merged: 2 clean: 0 pending: 0 mapsize: 45497 dirtysize: 0
2016/08/01 00:10:42 List merge counters. added: 0 merged: 2 clean: 0 pending: 0 mapsize: 65976 dirtysize: 0
2016/08/01 10:43:36 Error while retrieving subgraph root: Expected some name. Got: lex.Item [7] "}"
2016/08/01 10:43:52 Error while retrieving subgraph root: Expected some name. Got: lex.Item [7] "}"
2016/08/01 17:56:14 net/trace: Failed executing template: write tcp 127.0.0.1:8080->127.0.0.1:58525: write: broken pipe
2016/08/01 17:58:31 net/trace: Failed executing template: write tcp 127.0.0.1:8080->127.0.0.1:58535: write: broken pipe
2016/08/01 20:25:32 List merge counters. added: 0 merged: 2 clean: 0 pending: 0 mapsize: 66445 dirtysize: 0
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x8 pc=0x69a61c]

goroutine 144561 [running]:
panic(0xbff340, 0xc82000e0f0)
        /usr/local/go/src/runtime/panic.go:481 +0x3e6
github.com/dgraph-io/dgraph/store.(*Store).Get(0xc82013f5c0, 0xc82a6475e0, 0xe, 0x18, 0x0, 0x0, 0x0, 0x0, 0xc829f47fb0)
        /home/ashwin/go_work/src/github.com/dgraph-io/dgraph/store/store.go:71 +0xac
github.com/dgraph-io/dgraph/posting.(*List).getPostingList(0xc8265ecea0, 0xdb8a80)
        /home/ashwin/go_work/src/github.com/dgraph-io/dgraph/posting/list.go:249 +0x281
github.com/dgraph-io/dgraph/posting.(*List).init(0xc8265ecea0, 0xc82a6475e0, 0xe, 0x18, 0xc82013f5c0, 0xc820078510)
        /home/ashwin/go_work/src/github.com/dgraph-io/dgraph/posting/list.go:215 +0x25e
github.com/dgraph-io/dgraph/posting.GetOrCreate(0xc82a6475e0, 0xe, 0x18, 0xc82013f5c0, 0x0)
        /home/ashwin/go_work/src/github.com/dgraph-io/dgraph/posting/lists.go:227 +0x24a
github.com/dgraph-io/dgraph/worker.processTask(0xc825474098, 0x168, 0x168, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/ashwin/go_work/src/github.com/dgraph-io/dgraph/worker/task.go:92 +0x4c5
github.com/dgraph-io/dgraph/worker.ProcessTaskOverNetwork(0x7f3ac05d1cd8, 0xc82718f440, 0xc825474098, 0x168, 0x168, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/ashwin/go_work/src/github.com/dgraph-io/dgraph/worker/task.go:49 +0x542
github.com/dgraph-io/dgraph/query.ProcessGraph(0x7f3ac05d1cd8, 0xc82718f440, 0xc8272603f0, 0xc822696600)
        /home/ashwin/go_work/src/github.com/dgraph-io/dgraph/query/query.go:528 +0x1046
created by github.com/dgraph-io/dgraph/query.ProcessGraph
        /home/ashwin/go_work/src/github.com/dgraph-io/dgraph/query/query.go:569 +0x892

One thing is last time I forgot to set the nomutations flag. I will set it now. Wonder how come it has ashwin there?

1 Like

Because Ashwin compiled the linux binary.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.