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

[0.9.5.1] panic after querying: select field_a / field_b from db #4985

Closed
mail2fish opened this issue Dec 4, 2015 · 1 comment
Closed

[0.9.5.1] panic after querying: select field_a / field_b from db #4985

mail2fish opened this issue Dec 4, 2015 · 1 comment

Comments

@mail2fish
Copy link

[query] 2015/12/04 08:45:12 SELECT total / count FROM "test_master"."default".Requests WHERE time > (now() - 26h) AND time < (now() - 1d)
panic: runtime error: index out of range

goroutine 162 [running]:
github.com/influxdb/influxdb/influxql.func·005(0xc209348740, 0x2, 0x2, 0x0, 0x0)
/root/go/src/github.com/influxdb/influxdb/influxql/result.go:98 +0x4a
github.com/influxdb/influxdb/influxql.func·010(0xc209348740, 0x2, 0x2, 0x0, 0x0)
/root/go/src/github.com/influxdb/influxdb/influxql/result.go:147 +0xa8
github.com/influxdb/influxdb/tsdb.processForMath(0xc208030ad8, 0x1, 0x1, 0xc209aaac00, 0x25, 0x40, 0x0, 0x0, 0x0)
/root/go/src/github.com/influxdb/influxdb/tsdb/raw.go:652 +0x4ad
github.com/influxdb/influxdb/tsdb.(_limitedRowWriter).processValues(0xc209153680, 0xc208d32000, 0x25, 0x2710, 0x0)
/root/go/src/github.com/influxdb/influxdb/tsdb/raw.go:536 +0xf45
github.com/influxdb/influxdb/tsdb.(_limitedRowWriter).Flush(0xc209153680)
/root/go/src/github.com/influxdb/influxdb/tsdb/raw.go:437 +0xd6
github.com/influxdb/influxdb/tsdb.(_RawExecutor).execute(0xc209b6b290, 0xc209552360)
/root/go/src/github.com/influxdb/influxdb/tsdb/raw.go:143 +0x4e2
created by github.com/influxdb/influxdb/tsdb.(_RawExecutor).Execute
/root/go/src/github.com/influxdb/influxdb/tsdb/raw.go:59 +0x5a

@otoolep
Copy link
Contributor

otoolep commented Dec 4, 2015

Dupe of #4046

@otoolep otoolep closed this as completed Dec 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants