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 going in and out of logs #83

Closed
thomasd3 opened this issue Dec 10, 2018 · 1 comment
Closed

crash going in and out of logs #83

thomasd3 opened this issue Dec 10, 2018 · 1 comment
Labels

Comments

@thomasd3
Copy link

thomasd3 commented Dec 10, 2018

I had the following crash: "panic: runtime error: index out of range".

I couldn't reproduce it.
This is on Mac.

goroutine 39 [running]:
github.com/moncho/dry/appui.(*ContainersWidget).OnEvent(0xc0000ce2c0, 0xc0001f1540, 0x1532b40, 0x3)
	/opt/gocode/src/github.com/moncho/dry/appui/containers.go:146 +0xdd
github.com/moncho/dry/app.(*containersScreenEventHandler).handleKey(0xc00049caa0, 0xc0000b000d, 0xc00001c470, 0x0)
	/opt/gocode/src/github.com/moncho/dry/app/container_events.go:439 +0x41a
github.com/moncho/dry/app.(*containersScreenEventHandler).handle(0xc00049caa0, 0xd0000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0xc00001c470)
	/opt/gocode/src/github.com/moncho/dry/app/container_events.go:23 +0x46
github.com/moncho/dry/app.RenderLoop.func5(0xc0003b41e0, 0xc0000b9260)
	/opt/gocode/src/github.com/moncho/dry/app/loop.go:84 +0x118
created by github.com/moncho/dry/app.RenderLoop
	/opt/gocode/src/github.com/moncho/dry/app/loop.go:79 +0x260

you can see a screenshot here: https://imgur.com/a/xL7A6Gs

@moncho moncho added the bug label Dec 10, 2018
moncho added a commit that referenced this issue Jan 20, 2019
The error is somewhere else, but this change should avoid panicking.

Refs #83.
@moncho
Copy link
Owner

moncho commented Jan 22, 2019

Fixed in v0.9-beta.8.

@moncho moncho closed this as completed Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants