etcd-io / etcd-io/bbolt

runtime error: slice bounds out of range

Open
#576 5 comments 0 reactions 0 assignees View on GitHub
area/corruption stage/tracked
Dominant language
Go
Stars
9.7k
Forks
753
Avg merge
1d 8h
Merged PRs (30d)
18

Description

panic: runtime error: slice bounds out of range [::4326323766] with length 21474
83647

goroutine 1 [running]:
go.etcd.io/bbolt.unsafeByteSlice(...)
H:/m/Server/vendor/go.etcd.io/bbolt/unsafe.go:27
go.etcd.io/bbolt.(*leafPageElement).key(...)
H:/m/Server/vendor/go.etcd.io/bbolt/page.go:126
go.etcd.io/bbolt.(*Cursor).nsearch.func2(0xc000429f80?)
H:/m/Server/vendor/go.etcd.io/bbolt/cursor.go:328 +0x92
sort.Search(0x1940598?, 0xc0005177f0)
D:/Program Files/Go/src/sort/search.go:65 +0x46
go.etcd.io/bbolt.(*Cursor).nsearch(0xc000016060?, {0x11b61e8?, 0xc00004e000?, 0x
9384d9?})
H:/m/Server/vendor/go.etcd.io/bbolt/cursor.go:327 +0xf4
go.etcd.io/bbolt.(*Cursor).search(0xc000517ab8, {0x11b61e8, 0x5, 0x5}, 0x0?)
H:/m/Server/vendor/go.etcd.io/bbolt/cursor.go:257 +0x1ee
go.etcd.io/bbolt.(*Cursor).searchPage(0xc000517ab8, {0x11b61e8, 0x5, 0x5}, 0xbb8
ee0?)
H:/m/Server/vendor/go.etcd.io/bbolt/cursor.go:308 +0x15a
go.etcd.io/bbolt.(*Cursor).search(0xc000517ab8, {0x11b61e8, 0x5, 0x5}, 0x100c000
517a48?)
H:/m/Server/vendor/go.etcd.io/bbolt/cursor.go:265 +0x1c5
go.etcd.io/bbolt.(*Cursor).seek(0xc000517ab8, {0x11b61e8?, 0x0?, 0xc000517af0?})

H:/m/Server/vendor/go.etcd.io/bbolt/cursor.go:159 +0x45
go.etcd.io/bbolt.(*Bucket).Bucket(0xc0000b27f8, {0x11b61e8, 0x5, 0xc0000f51a0?})

H:/m/Server/vendor/go.etcd.io/bbolt/bucket.go:105 +0xb2
go.etcd.io/bbolt.(*Tx).Bucket(...)
H:/m/Server/vendor/go.etcd.io/bbolt/tx.go:101
local.dev/nightsky/db.ReadUser.func1(0x30?)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.