Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in appendDummyValues #1359

Closed
tzdybal opened this issue Aug 25, 2017 · 0 comments
Closed

Crash in appendDummyValues #1359

tzdybal opened this issue Aug 25, 2017 · 0 comments
Assignees
Labels
kind/bug Something is broken.

Comments

@tzdybal
Copy link
Contributor

tzdybal commented Aug 25, 2017

Following query: {n(func:ge(_uid_, 0)) {count()}}
crash the server.

Stack trace:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xc02b60]

goroutine 19040363 [running]:
github.com/dgraph-io/dgraph/query.(*SubGraph).appendDummyValues(0xc4fadea280)
	/home/tomek/devel/go/src/github.com/dgraph-io/dgraph/query/query.go:1610 +0xa0
github.com/dgraph-io/dgraph/query.ProcessGraph(0x13d0340, 0xc42c434b40, 0xc4fadea280, 0x0, 0xc42c434ba0)
	/home/tomek/devel/go/src/github.com/dgraph-io/dgraph/query/query.go:1624 +0x2c4f
created by github.com/dgraph-io/dgraph/query.(*QueryRequest).ProcessQuery
	/home/tomek/devel/go/src/github.com/dgraph-io/dgraph/query/query.go:2320 +0x59f

@tzdybal tzdybal added the kind/bug Something is broken. label Aug 25, 2017
@manishrjain manishrjain added the kind/bug Something is broken. label Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something is broken.
Development

No branches or pull requests

3 participants