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

invalid memory address or nil pointer dereference. part2 #295

Open
perederyaev opened this issue Nov 28, 2024 · 1 comment
Open

invalid memory address or nil pointer dereference. part2 #295

perederyaev opened this issue Nov 28, 2024 · 1 comment

Comments

@perederyaev
Copy link

Hi! Looks like issue described in #250 exists in current version:

Nov 28 18:52:18 localhost graphite-clickhouse[161601]: panic: runtime error: invalid memory address or nil pointer dereference
Nov 28 18:52:18 localhost graphite-clickhouse[161601]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1118ddf]
Nov 28 18:52:18 localhost graphite-clickhouse[161601]: goroutine 6642 [running]:
Nov 28 18:52:18 localhost graphite-clickhouse[161601]: github.com/lomik/graphite-clickhouse/render/data.(*commonStep).doneTarget(...)
Nov 28 18:52:18 localhost graphite-clickhouse[161601]:         /home/runner/work/graphite-clickhouse/graphite-clickhouse/render/data/common_step.go:26
Nov 28 18:52:18 localhost graphite-clickhouse[161601]: github.com/lomik/graphite-clickhouse/render/data.(*query).getDataPoints(0xc000260d80, {0x1981e50, 0xc0006d8150}, 0xc0001fe540)
Nov 28 18:52:18 localhost graphite-clickhouse[161601]:         /home/runner/work/graphite-clickhouse/graphite-clickhouse/render/data/query.go:143 +0x47f
Nov 28 18:52:18 localhost graphite-clickhouse[161601]: github.com/lomik/graphite-clickhouse/render/data.(*MultiTarget).Fetch.func2(0xc0005ae900?)
Nov 28 18:52:18 localhost graphite-clickhouse[161601]:         /home/runner/work/graphite-clickhouse/graphite-clickhouse/render/data/multi_target.go:206 +0x76
Nov 28 18:52:18 localhost graphite-clickhouse[161601]: created by github.com/lomik/graphite-clickhouse/render/data.(*MultiTarget).Fetch in goroutine 2206
Nov 28 18:52:18 localhost graphite-clickhouse[161601]:         /home/runner/work/graphite-clickhouse/graphite-clickhouse/render/data/multi_target.go:204 +0x63a
Nov 28 18:52:18 localhost systemd[1]: graphite-clickhouse.service: Main process exited, code=exited, status=2/INVALIDARGUMENT

$ graphite-clickhouse --version
0.14.0

@perederyaev
Copy link
Author

Setting "internal-aggregation = true" somehow fixes the issue.

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

1 participant