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 #18

Open
electricface opened this issue Aug 5, 2019 · 0 comments
Open

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

electricface opened this issue Aug 5, 2019 · 0 comments

Comments

@electricface
Copy link

panic: runtime error: slice bounds out of range [:1002] with capacity 999

goroutine 1 [running]:
main.CursorWidget.drawAtPoint(0x0, 0xc0000ee000, 0x0, 0x4, 0x2, 0x0, 0x53, 0x2, 0x33, 0x1a, ...)
    /home/tp1/program_lang/go/src/github.com/evanmiller/hecate/widget_cursor.go:48 +0x1407
main.drawWidgets(0xc0000ee000, 0xf000f801000001, 0x4c00f0009a009a, 0x7f003f001a00a7, 0x10100010000e7, 0xf8007d010000f8, 0x25fe0000007d, 0x2022000025fd, 0x0, 0x0, ...)
    /home/tp1/program_lang/go/src/github.com/evanmiller/hecate/widget.go:81 +0x274
main.(*DataTab).drawTab(0xc0000ee000, 0xf000f801000001, 0x4c00f0009a009a, 0x7f003f001a00a7, 0x10100010000e7, 0xf8007d010000f8, 0x25fe0000007d, 0x2022000025fd, 0x3)
    /home/tp1/program_lang/go/src/github.com/evanmiller/hecate/tab.go:395 +0xef
main.(*DataScreen).drawScreen(0xc0000ec000, 0xf000f801000001, 0x4c00f0009a009a, 0x7f003f001a00a7, 0x10100010000e7, 0xf8007d010000f8, 0x25fe0000007d, 0x2022000025fd)
    /home/tp1/program_lang/go/src/github.com/evanmiller/hecate/screen_data.go:232 +0x783
main.layoutAndDrawScreen(0x563420, 0xc0000ec000, 0xf000f801000001, 0x4c00f0009a009a, 0x7f003f001a00a7, 0x10100010000e7, 0xf8007d010000f8, 0x25fe0000007d, 0x2022000025fd)
    /home/tp1/program_lang/go/src/github.com/evanmiller/hecate/screen.go:40 +0x89
main.mainLoop(0xc00007a300, 0x1, 0x1, 0xf000f801000001, 0x4c00f0009a009a, 0x7f003f001a00a7, 0x10100010000e7, 0xf8007d010000f8, 0x25fe0000007d, 0x2022000025fd)
    /home/tp1/program_lang/go/src/github.com/evanmiller/hecate/hecate.go:111 +0x64b
main.main()
    /home/tp1/program_lang/go/src/github.com/evanmiller/hecate/hecate.go:195 +0x338

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