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

panic: runtime error: slice bounds out of range #6

Open
mback2k opened this issue Oct 27, 2019 · 0 comments
Open

panic: runtime error: slice bounds out of range #6

mback2k opened this issue Oct 27, 2019 · 0 comments

Comments

@mback2k
Copy link

mback2k commented Oct 27, 2019

panic: runtime error: slice bounds out of range [recovered]
	panic: runtime error: slice bounds out of range

goroutine 1 [running]:
github.com/rivo/tview.(*Application).Run.func1(0xc0000cc200)
	/Users/mylxsw/codes/golang/pkg/mod/github.com/rivo/[email protected]/application.go:149 +0x82
panic(0x75b2c0, 0xac8800)
	/usr/local/Cellar/go/1.12.5/libexec/src/runtime/panic.go:522 +0x1b5
github.com/rivo/tview.(*TextView).reindexBuffer(0xc0000a08f0, 0xac)
	/Users/mylxsw/codes/golang/pkg/mod/github.com/rivo/[email protected]/textview.go:616 +0x14a1
github.com/rivo/tview.(*TextView).Draw(0xc0000a08f0, 0x835ee0, 0xc000112000)
	/Users/mylxsw/codes/golang/pkg/mod/github.com/rivo/[email protected]/textview.go:757 +0x13c
github.com/rivo/tview.(*Flex).Draw(0xc000074d80, 0x835ee0, 0xc000112000)
	/Users/mylxsw/codes/golang/pkg/mod/github.com/rivo/[email protected]/flex.go:169 +0x298
github.com/rivo/tview.(*Flex).Draw(0xc0000751d0, 0x835ee0, 0xc000112000)
	/Users/mylxsw/codes/golang/pkg/mod/github.com/rivo/[email protected]/flex.go:169 +0x298
github.com/rivo/tview.(*Flex).Draw(0xc0000752c0, 0x835ee0, 0xc000112000)
	/Users/mylxsw/codes/golang/pkg/mod/github.com/rivo/[email protected]/flex.go:169 +0x298
github.com/rivo/tview.(*Pages).Draw(0xc000075350, 0x835ee0, 0xc000112000)
	/Users/mylxsw/codes/golang/pkg/mod/github.com/rivo/[email protected]/pages.go:267 +0xa8
github.com/rivo/tview.(*Application).draw(0xc0000cc200, 0x0)
	/Users/mylxsw/codes/golang/pkg/mod/github.com/rivo/[email protected]/application.go:363 +0xd8
github.com/rivo/tview.(*Application).Run(0xc0000cc200, 0x0, 0x0)
	/Users/mylxsw/codes/golang/pkg/mod/github.com/rivo/[email protected]/application.go:237 +0x3a7
github.com/mylxsw/redis-tui/tui.(*RedisTUI).Start(0xc000078680, 0xc000070600, 0x64)
	/Users/mylxsw/codes/github/redis-gli/tui/tui.go:270 +0x1f6
main.main()
	/Users/mylxsw/codes/github/redis-gli/main.go:42 +0x562
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