Skip to content

Instantly share code, notes, and snippets.

@jemadux
Created December 14, 2021 13:24
Show Gist options
  • Save jemadux/3b7c03621610f7222f532abb6f94e437 to your computer and use it in GitHub Desktop.
Save jemadux/3b7c03621610f7222f532abb6f94e437 to your computer and use it in GitHub Desktop.
runtime error: slice bounds out of range [::5332879054] with length 2147483647
goroutine 27 [running]:
runtime/debug.Stack(0x13f0ce0, 0xc009c74a20, 0xc0090d5230)
/usr/local/go/src/runtime/debug/stack.go:24 +0x9f
maunium.net/go/gomuks/debug.PrettyPanic(0xef7a40, 0xc009bece88)
/builds/tulir/gomuks/debug/debug.go:133 +0x245
maunium.net/go/gomuks/debug.Recover()
/builds/tulir/gomuks/debug/debug.go:107 +0x65
panic(0xef7a40, 0xc009bece88)
/usr/local/go/src/runtime/panic.go:965 +0x1b9
go.etcd.io/bbolt.unsafeByteSlice(...)
/builds/tulir/gomuks/.cache/pkg/mod/go.etcd.io/bbolt@v1.3.5/unsafe.go:27
go.etcd.io/bbolt.(*leafPageElement).key(...)
/builds/tulir/gomuks/.cache/pkg/mod/go.etcd.io/bbolt@v1.3.5/page.go:126
go.etcd.io/bbolt.(*Cursor).nsearch.func2(0x5291, 0x0)
/builds/tulir/gomuks/.cache/pkg/mod/go.etcd.io/bbolt@v1.3.5/cursor.go:328 +0xc5
sort.Search(0xa522, 0xc0090d55c8, 0x0)
/usr/local/go/src/sort/search.go:66 +0x58
go.etcd.io/bbolt.(*Cursor).nsearch(0xc00061fbf8, 0xc00061fb98, 0x8, 0x8)
/builds/tulir/gomuks/.cache/pkg/mod/go.etcd.io/bbolt@v1.3.5/cursor.go:327 +0x105
go.etcd.io/bbolt.(*Cursor).search(0xc00061fbf8, 0xc00061fb98, 0x8, 0x8, 0x432fe)
/builds/tulir/gomuks/.cache/pkg/mod/go.etcd.io/bbolt@v1.3.5/cursor.go:257 +0x1d4
go.etcd.io/bbolt.(*Cursor).searchPage(0xc00061fbf8, 0xc00061fb98, 0x8, 0x8, 0x7f2005f8a000)
/builds/tulir/gomuks/.cache/pkg/mod/go.etcd.io/bbolt@v1.3.5/cursor.go:308 +0x16c
go.etcd.io/bbolt.(*Cursor).search(0xc00061fbf8, 0xc00061fb98, 0x8, 0x8, 0x4387a)
/builds/tulir/gomuks/.cache/pkg/mod/go.etcd.io/bbolt@v1.3.5/cursor.go:265 +0x194
go.etcd.io/bbolt.(*Cursor).searchPage(0xc00061fbf8, 0xc00061fb98, 0x8, 0x8, 0x7f200699f000)
/builds/tulir/gomuks/.cache/pkg/mod/go.etcd.io/bbolt@v1.3.5/cursor.go:308 +0x16c
go.etcd.io/bbolt.(*Cursor).search(0xc00061fbf8, 0xc00061fb98, 0x8, 0x8, 0x4428f)
/builds/tulir/gomuks/.cache/pkg/mod/go.etcd.io/bbolt@v1.3.5/cursor.go:265 +0x194
go.etcd.io/bbolt.(*Cursor).searchPage(0xc00061fbf8, 0xc00061fb98, 0x8, 0x8, 0x7f2006a47000)
/builds/tulir/gomuks/.cache/pkg/mod/go.etcd.io/bbolt@v1.3.5/cursor.go:308 +0x16c
go.etcd.io/bbolt.(*Cursor).search(0xc00061fbf8, 0xc00061fb98, 0x8, 0x8, 0x44337)
/builds/tulir/gomuks/.cache/pkg/mod/go.etcd.io/bbolt@v1.3.5/cursor.go:265 +0x194
go.etcd.io/bbolt.(*Cursor).seek(0xc0090d5bf8, 0xc00061fb98, 0x8, 0x8, 0x7f2006d4642c, 0xc00061fb30, 0x451e8c, 0x0, 0xeca280, 0x1, ...)
/builds/tulir/gomuks/.cache/pkg/mod/go.etcd.io/bbolt@v1.3.5/cursor.go:159 +0x7d
go.etcd.io/bbolt.(*Cursor).Seek(0xc0090d5bf8, 0xc00061fb98, 0x8, 0x8, 0xc009c6c340, 0x30, 0x3fe0000000000000, 0xc00061fbe8, 0x936d6c, 0xc0002501d8)
/builds/tulir/gomuks/.cache/pkg/mod/go.etcd.io/bbolt@v1.3.5/cursor.go:118 +0x50
maunium.net/go/gomuks/matrix.(*HistoryManager).Load.func1(0xc009c54380, 0xc009c21a00, 0xc009c54380)
/builds/tulir/gomuks/matrix/history.go:233 +0x1e5
go.etcd.io/bbolt.(*DB).View(0xc000250000, 0xc00061fcb8, 0x0, 0x0)
/builds/tulir/gomuks/.cache/pkg/mod/go.etcd.io/bbolt@v1.3.5/db.go:725 +0x93
maunium.net/go/gomuks/matrix.(*HistoryManager).Load(0xc00000f158, 0xc00000d2c0, 0x32, 0x80000000000137e6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/builds/tulir/gomuks/matrix/history.go:224 +0x145
maunium.net/go/gomuks/matrix.(*Container).GetHistory(0xc0000c9030, 0xc00000d2c0, 0x32, 0x0, 0xc0000d08c0, 0xc000617701, 0x0, 0x0, 0x3, 0xc009c6c001)
/builds/tulir/gomuks/matrix/matrix.go:1093 +0x6e
maunium.net/go/gomuks/ui.(*MainView).LoadHistory(0xc0006b8dc0, 0xc0000a0510, 0x21)
/builds/tulir/gomuks/ui/view-main.go:452 +0x1ad
created by maunium.net/go/gomuks/ui.(*MainView).switchRoom
/builds/tulir/gomuks/ui/view-main.go:268 +0x287
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment