{"action":"created","issue":{"url":"https://api.github.com/repos/dgraph-io/dgraph/issues/2422","repository_url":"https://api.github.com/repos/dgraph-io/dgraph","labels_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/2422/labels{/name}","comments_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/2422/comments","events_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/2422/events","html_url":"https://github.com/dgraph-io/dgraph/issues/2422","id":327727816,"number":2422,"title":"runtime error: invalid memory address or nil pointer dereference","user":{"login":"aditya-pr","id":31738814,"avatar_url":"https://avatars3.githubusercontent.com/u/31738814?v=4","gravatar_id":"","url":"https://api.github.com/users/aditya-pr","html_url":"https://github.com/aditya-pr","followers_url":"https://api.github.com/users/aditya-pr/followers","following_url":"https://api.github.com/users/aditya-pr/following{/other_user}","gists_url":"https://api.github.com/users/aditya-pr/gists{/gist_id}","starred_url":"https://api.github.com/users/aditya-pr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aditya-pr/subscriptions","organizations_url":"https://api.github.com/users/aditya-pr/orgs","repos_url":"https://api.github.com/users/aditya-pr/repos","events_url":"https://api.github.com/users/aditya-pr/events{/privacy}","received_events_url":"https://api.github.com/users/aditya-pr/received_events","type":"User","site_admin":false},"labels":[{"id":252336064,"url":"https://api.github.com/repos/dgraph-io/dgraph/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-30T13:20:39Z","updated_at":"2018-05-30T14:20:50Z","closed_at":null,"author_association":"NONE","body":"- What version of Dgraph are you using?\r\n1.0.5\r\n\r\n- Have you tried reproducing the issue with latest release?\r\nusing latest\r\n\r\n- What is the hardware spec (RAM, OS)?\r\nubuntu 16.04\r\n\r\n- Steps to reproduce the issue (command/config used to run Dgraph).\r\n`dgraph zero --my=<host-ip>:5080 --bindall`\r\n`dgraph server --my=<host-ip>:7080 --lru_mb 2048 --zero <host-ip>:5080`\r\n\r\n- Expected behaviour and actual result.\r\ndgraph keeps crashing with this stacktrace:\r\n```\r\n2018/05/30 13:06:37 node.go:301: INFO: raft.node: 1 elected leader 1 at term 668\r\npanic: runtime error: invalid memory address or nil pointer dereference\r\n[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1020e48]\r\n\r\ngoroutine 428845 [running]:\r\ngithub.com/dgraph-io/dgraph/posting.(*List).Value(0x0, 0xe3a82f, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n\t/home/aditya/go/src/github.com/dgraph-io/dgraph/posting/list.go:935 +0x58\r\ngithub.com/dgraph-io/dgraph/worker.handleCompareFunction.func1(0x1c2ed1e2eed6f546, 0x79, 0xc46e54e000)\r\n\t/home/aditya/go/src/github.com/dgraph-io/dgraph/worker/task.go:911 +0x31f\r\ngithub.com/dgraph-io/dgraph/algo.ApplyFilter(0xc4707a9c20, 0xc468755838)\r\n\t/home/aditya/go/src/github.com/dgraph-io/dgraph/algo/uidlist.go:24 +0xb3\r\ngithub.com/dgraph-io/dgraph/worker.handleCompareFunction(0x1a95440, 0xc47160c000, 0xc4716b2c80, 0x1, 0xc467012160, 0xc470742090, 0xe3a82f, 0x0)\r\n\t/home/aditya/go/src/github.com/dgraph-io/dgraph/worker/task.go:888 +0x4d2\r\ngithub.com/dgraph-io/dgraph/worker.helpProcessTask(0x1a95440, 0xc47160c000, 0xc4716b2c80, 0x1, 0x0, 0x0, 0x13adae8)\r\n\t/home/aditya/go/src/github.com/dgraph-io/dgraph/worker/task.go:715 +0x429\r\ngithub.com/dgraph-io/dgraph/worker.processTask(0x1a95440, 0xc47160c000, 0xc4716b2c80, 0x1, 0xc47ff48000, 0xc4716b2c80, 0xc45e178b48)\r\n\t/home/aditya/go/src/github.com/dgraph-io/dgraph/worker/task.go:626 +0x1be\r\ngithub.com/dgraph-io/dgraph/worker.ProcessTaskOverNetwork(0x1a95440, 0xc47160c000, 0xc4716b2c80, 0x0, 0xffffffffffffffff, 0x994243)\r\n\t/home/aditya/go/src/github.com/dgraph-io/dgraph/worker/task.go:149 +0x546\r\ngithub.com/dgraph-io/dgraph/query.ProcessGraph(0x1a95440, 0xc47160c000, 0xc420350580, 0x0, 0xc468e801e0)\r\n\t/home/aditya/go/src/github.com/dgraph-io/dgraph/query/query.go:1885 +0x1cbd\r\ncreated by github.com/dgraph-io/dgraph/query.(*QueryRequest).ProcessQuery\r\n\t/home/aditya/go/src/github.com/dgraph-io/dgraph/query/query.go:2518 +0x964\r\n```\r\ndgraphzero\r\n```\r\n2018/05/30 13:05:42 zero.go:336: Got connection request: id:1 addr:\"<host-ip>:7080\" \r\n2018/05/30 13:05:42 zero.go:445: Connected\r\n2018/05/30 13:05:45 oracle.go:386: No healthy connection found to leader of group 1\r\n2018/05/30 13:05:45 pool.go:158: Echo error from <host-ip>:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp <host-ip>:7080: getsockopt: connection refused\"\r\n2018/05/30 13:05:55 oracle.go:386: No healthy connection found to leader of group 1\r\n2018/05/30 13:06:05 oracle.go:75: purging below ts:14919230, len(o.commits):19, len(o.aborts):43, len(o.rowCommit):25\r\n2018/05/30 13:06:15 oracle.go:75: purging below ts:14919312, len(o.commits):19, len(o.aborts):43, len(o.rowCommit):22\r\n2018/05/30 13:06:25 oracle.go:392: Error while fetching minTs from group 1, err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp <host-ip>:7080: getsockopt: connection refused\"\r\n2018/05/30 13:06:25 pool.go:158: Echo error from <host-ip>:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp <host-ip>:7080: getsockopt: connection refused\"\r\n2018/05/30 13:06:33 zero.go:336: Got connection request: id:1 addr:\"<host-ip>:7080\" \r\n2018/05/30 13:06:33 zero.go:445: Connected\r\n2018/05/30 13:06:35 oracle.go:386: No healthy connection found to leader of group 1\r\n2018/05/30 13:06:35 pool.go:158: Echo error from <host-ip>:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp <host-ip>:7080: getsockopt: connection refused\"\r\n2018/05/30 13:06:45 oracle.go:386: No healthy connection found to leader of group 1\r\n2018/05/30 13:06:55 oracle.go:75: purging below ts:14919401, len(o.commits):174, len(o.aborts):4, len(o.rowCommit):175\r\n2018/05/30 13:07:05 oracle.go:392: Error while fetching minTs from group 1, err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp <host-ip>:7080: getsockopt: connection refused\"\r\n2018/05/30 13:07:05 pool.go:158: Echo error from <host-ip>:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp <host-ip>:7080: getsockopt: connection refused\"\r\n2018/05/30 13:07:10 zero.go:336: Got connection request: id:1 addr:\"<host-ip>:7080\" \r\n2018/05/30 13:07:10 zero.go:445: Connected\r\n2018/05/30 13:07:15 oracle.go:386: No healthy connection found to leader of group 1\r\n2018/05/30 13:07:15 pool.go:158: Echo error from <host-ip>:7080. Err: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp <host-ip>:7080: getsockopt: connection refused\"\r\n2018/05/30 13:07:25 oracle.go:386: No healthy connection found to leader of group 1\r\n```"},"comment":{"url":"https://api.github.com/repos/dgraph-io/dgraph/issues/comments/393180587","html_url":"https://github.com/dgraph-io/dgraph/issues/2422#issuecomment-393180587","issue_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/2422","id":393180587,"user":{"login":"manishrjain","id":1782324,"avatar_url":"https://avatars1.githubusercontent.com/u/1782324?v=4","gravatar_id":"","url":"https://api.github.com/users/manishrjain","html_url":"https://github.com/manishrjain","followers_url":"https://api.github.com/users/manishrjain/followers","following_url":"https://api.github.com/users/manishrjain/following{/other_user}","gists_url":"https://api.github.com/users/manishrjain/gists{/gist_id}","starred_url":"https://api.github.com/users/manishrjain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manishrjain/subscriptions","organizations_url":"https://api.github.com/users/manishrjain/orgs","repos_url":"https://api.github.com/users/manishrjain/repos","events_url":"https://api.github.com/users/manishrjain/events{/privacy}","received_events_url":"https://api.github.com/users/manishrjain/received_events","type":"User","site_admin":false},"created_at":"2018-05-30T14:20:49Z","updated_at":"2018-05-30T14:20:49Z","author_association":"MEMBER","body":"And this happens consistently? If so, can you share your directories with me?"}}
{"actor":{"display_login":"manishrjain"}}