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

Random crashes #7

Closed
rlex opened this issue Oct 18, 2022 · 1 comment
Closed

Random crashes #7

rlex opened this issue Oct 18, 2022 · 1 comment
Assignees

Comments

@rlex
Copy link

rlex commented Oct 18, 2022

Hello!
Got this error, appears randomly. Does not crash pod with coroot, but stops responding in UI

2022/10/18 00:32:49 http: panic serving 10.251.3.145:50394: runtime error: integer divide by zero
goroutine 60260 [running]:
net/http.(*conn).serve.func1()
	/usr/local/go/src/net/http/server.go:1825 +0xbf
panic({0xaefee0, 0x1253250})
	/usr/local/go/src/runtime/panic.go:844 +0x258
github.com/coroot/coroot/auditor.(*appAuditor).logs(0xc001afebb8)
	/tmp/src/auditor/logs.go:92 +0x86a
github.com/coroot/coroot/auditor.Audit(0xc0124584d0)
	/tmp/src/auditor/auditor.go:32 +0x159
github.com/coroot/coroot/api/views/overview.Render(0xc0124584d0)

Another one:

2022/10/18 00:35:14 http: panic serving 10.251.6.173:57792: runtime error: integer divide by zero
goroutine 62487 [running]:
net/http.(*conn).serve.func1()
	/usr/local/go/src/net/http/server.go:1825 +0xbf
panic({0xaefee0, 0x1253250})
	/usr/local/go/src/runtime/panic.go:844 +0x258
github.com/coroot/coroot/auditor.(*appAuditor).logs(0xc01cbd6bb8)
	/tmp/src/auditor/logs.go:92 +0x86a
github.com/coroot/coroot/auditor.Audit(0xc01459a000)
	/tmp/src/auditor/auditor.go:32 +0x159
github.com/coroot/coroot/api/views/overview.Render(0xc01459a000)
	/tmp/src/api/views/overview/overview.go:41 +0x9d
github.com/coroot/coroot/api/views.Overview(...)
	/tmp/src/api/views/views.go:20
@apetruhin apetruhin self-assigned this Oct 18, 2022
@apetruhin
Copy link
Member

Hi @rlex! Thank you for the report. Please upgrade Coroot to 0.5.4

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